View Single Post
Old 12-29-2003, 06:35 PM   #1 (permalink)
DeeZire
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default Sharing Funds In Zero Hour :)

I havent tried this, but just thinking out loud I think theres a reliable way of restoring the ability that allowed sharing of funds between allies in multiplayer

1 - make a new 'superweapon' thats a clone of the China Generals Ability (Cash Hack). On its CommandButton, just stick NEED_TARGET_ALLY_OBJECT in the Options line - you can only use it on allied Supply Centers.

2 - give it to your supply center. By tweaking the special power code, you can determine how much cash you can 'steal' (borrow) from your ally.

4 - Edit EVA.INI so theres a new entry called EVA_ReceivedFundsAlly - allocate the relevant speeches to it (unused, in Audio.BIG).

3 - In SkirmishScripts.scb, write a new script in the PlyrCivilian folder that says 'If Player <LocalPlayer> Completed Using Special Power <Your New Special Power> Then 'EVA_ReceivedFundsAlly' Plays Allowing Overlap = FALSE

Voila!!

If you want to get smart, you can make a 'dummy' superweapon in the supply center too along with relevant scripts that just trigger the 'Your Ally Has Requested Funds' and 'You Have Requested Funds From Your Ally' speeches

For extra tweak value, give the special power command button CursorName = InvalidBuild, and make the InvalidBuild entry in Mouse.INI allocating SCCSell to it - you then have a nice cash cursor when using the power.

If anyone has a go and gets any reliable results, I'd be interested in knowing.
DeeZire is offline   Reply With Quote