Jump to content
Sign in to follow this  
Vaikless

Add/Change Bounty In Warfare ..

Recommended Posts

I want to add bounty for a character I created.

I created an East- Officer to the map. And a secondary objective should be to kill him and as a reward you would get a lot of money.

I tried to make the officer constructable by east and made him cost 10.000 and set the points _p to 250 but you don't get any money for killing him or any other characters created in the editor.

any idea?

Share this post


Link to post
Share on other sites

nope...

Where is the script where you can change the cost of things?? cause I want to alter the price of certain items

Share this post


Link to post
Share on other sites

To change the costs:-

Go to 'missionfolder/common/config' eg open the 'light aircraft' file

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_u = _u + ["AH6"]

_d = _d + [Localize "STR_DN_AH6"]

_c = _c + [3500]

_m = _m + [3500 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [40]

_p = _p + [30]

_o = _o + [true]

_i = _i + ["\ca\air\data\ico\ah6_lb_CA.paa"]

_c = the cost,3500 for the AH6

Share this post


Link to post
Share on other sites

Yea, I was having a poke around and found that.... now everything costs one dollar :P

hmmm,what else to change.... oh well, ill just go get rid of ranks etc in evo blue v3 :P

Share this post


Link to post
Share on other sites

I added the civilians to the barracks this way:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;CIVILIAN

_v = ["CIVILIAN"]

_u = ["CIVILIAN"]

;;_d = [Localize "STR_DN_RIFLEMAN"]

_c = [-500]

_t = [5]

_p = [5]

;;_i = ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN2"]

_u = _u + ["CIVILIAN2"]

;;_d = _d + [Localize "STR_DN_SQUADLEADER"]

_c = _c + [-500]

_t = _t + [7]

_p = _p + [7]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN3"]

_u = _u + ["CIVILIAN3"]

;;_d = _d + [Localize "STR_DN_AT_SOLDIER"]

_c = _c + [-500]

_t = _t + [7]

_p = _p + [7]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN4"]

_u = _u + ["CIVILIAN4"]

;;_d = _d + [Localize "STR_DN_AA_SOLDIER"]

_c = _c + [-500]

_t = _t + [7]

_p = _p + [7]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN5"]

_u = _u + ["CIVILIAN5"]

;;_d = _d + [Localize "STR_DN_MGUNNER"]

_c = _c + [-500]

_t = _t + [6]

_p = _p + [6]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN6"]

_u = _u + ["CIVILIAN6"]

;;_d = _d + [Localize "STR_DN_GRENADIER"]

_c = _c + [-500]

_t = _t + [6]

_p = _p + [6]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN7"]

_u = _u + ["CIVILIAN7"]

;;_d = _d + [Localize "STR_DN_SNIPER"]

_c = _c + [-500]

_t = _t + [7]

_p = _p + [7]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN8"]

_u = _u + ["CIVILIAN8"]

;;_d = _d + [Localize "STR_DN_MEDIC"]

_c = _c + [-500]

_t = _t + [5]

_p = _p + [5]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN9"]

_u = _u + ["CIVILIAN9"]

;;_d = _d + [Localize "STR_DN_ENGINEER"]

_c = _c + [-500]

_t = _t + [7]

_p = _p + [5]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN10"]

_u = _u + ["CIVILIAN10"]

_d = _d + [Localize "STR_DN_ROYAL_COMMANDO"]

_c = _c + [-500]

;;_t = _t + [8]

_p = _p + [10]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN11"]

_u = _u + ["CIVILIAN11"]

_d = _d + [Localize "STR_DN_CREW"]

_c = _c + [-500]

;;_t = _t + [5]

_p = _p + [5]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

_v = _v + ["CIVILIAN12"]

_u = _u + ["CIVILIAN12"]

;;_d = _d + [Localize "STR_DN_PILOT"]

_c = _c + [-500]

_t = _t + [5]

_p = _p + [5]

;;_i = _i + ["\Ca\characters\data\Ico\i_null_CA.paa"]

for [{_count = Count _u - 1},{_count >= 0},{_count = _count - 1}] do {Call Compile Format["%1TYPE = %2;%1 = ""%3""",_v Select _count,_count,_u Select _count];}

civilianBarracksNames = _v

civilianBarracksUnits = _u

;;civilianBarracksDescriptions = _d

civilianBarracksCosts = _c

civilianBarracksMannedCosts = _c

civilianBarracksTimes = _t

civilianBarracksPoints = _p

;;civilianBarracksImages = _i

;Placeholder only.

civilianOneManBarracksVehicles = []

But there is no bounty for killing them. You see I put the cost at -500 so there would be a penalty for killing them. I placed several civilians around the map. Do they have to be "created" in order for a bounty to be assessed? If so, I need help how to create them in towns

Share this post


Link to post
Share on other sites

same here can anybody answer this I would also like to be able to create civs as resistance and havea penalty for killing them, but cant get it to work.

It does if you have res units but when you switch them to civs no work.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×