construct xp bonus


(mrfin) #1

Hello mapping types

It would seem to be the case that when one of the vehicles in my map gets damaged there is no xp bonus awarded to the player that does the damage.
The script for this seems to be in order:

train_construct
{
	spawn
	{
		constructible_class 2
		constructible_health 1050
		constructible_constructxpbonus 10
		constructible_destructxpbonus 10
	}

	built final
	{
		alertentity train
		trigger train_engine start
		wm_announce "The Train has been repaired!"
	}

	trigger final_pos
    	{
        	constructible_constructxpbonus 3
        	constructible_destructxpbonus 3
    	}

}

any ideas or pointers?


(S14Y3R) #2

does it work if you don’t specifically set destructxpbonus? does the construction xp work?


(mrfin) #3

Hi

the construction xp works - just not the destruction xp


(S14Y3R) #4

going by the “train_construct” this is linked to a script_mover? Is your trigger_objective_info targeting the func_constructible? Does the script_mover have a health key? So it knows when its dying/dead…does the script_mover call its"death" routine?(sounds, etc…)


(mrfin) #5

Hello

It all seems to work ok - appart from the lack xp earned by the person that damages it that is?


(DAbell) #6

I maybe completely wrong but isn’t there something with the truck in goldrush that when you disable it with grenades as Axis you get some recognition in your stats, maybe just increase in light weapons but i can’t really remember.

Just thought i would share my ramblings it may spur someone elses memory.

<DJ>


([Cerberus]) #7

All xp you gain with nades goes to you light weapon stats, from what i know at leased.