Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Is there anyway to do this
Is there anyway to do this [message #232885] Mon, 04 December 2006 02:44 Go to next message
bgkill007 is currently offline  bgkill007
Messages: 21
Registered: November 2006
Karma: 0
Recruit
Hey i was wondering if any one could make this for me or at least tell me how to do it.


I was thinking when a building of ur team gets destroyed on a map, ur beacon cost lowers a bit, and keeps doin that as a building gets destroyed....eg
1 building destroyed: cost 800
2 buildings destroyed: cost 700
and so on


thanks for any help
Re: Is there anyway to do this [message #232893 is a reply to message #232885] Mon, 04 December 2006 05:27 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
ah, so you want to make ped n00bing easier?

AFAIK you can use the script commands to adjust the prices of presets, although not sure well it works on the beacon purchase, if at all.


http://steamsignature.com/card/1/76561197975867233.png
Re: Is there anyway to do this [message #232911 is a reply to message #232893] Mon, 04 December 2006 08:44 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
You would have to make the beacon its own terminal.

Re: Is there anyway to do this [message #232930 is a reply to message #232885] Mon, 04 December 2006 12:39 Go to previous messageGo to next message
Theboom69 is currently offline  Theboom69
Messages: 222
Registered: August 2006
Karma: 0
Recruit
How would you make it's own PT?
Re: Is there anyway to do this [message #232950 is a reply to message #232930] Mon, 04 December 2006 14:18 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Attach the script "JFW_Powerup_Buy_Poke", and the script "JFW_Pokable_Object", to the object (which will be the terminal).
You could set it up so that when ever a building is destroyed that remove and attach scripts would change the "JFW_Powerup_Buy_Poke" with another "JFW_Powerup_Buy_Poke" in which the beacon would cost less, but this if done incorrectly could easily crash the game.

But it would just be easier to set it up so when ever a building was destroyed that it would send a custom to all the purchase terminal presets (each teams presets will need a different name like GDI_Beacon_Terminal_1, Nod_Beacon_Terminal_1) (using the script "JFW_Send_Message_Preset" to send the custom message 56656765 [or what ever] on death, this script will be attach to the building nodes[this script will have to be attached to each building once for each cost deduction the beacon will receive [because the purchase terminal's name will be changing [ex. GDI_Beacon_Terminal_1, GDI_Beacon_Terminal_2, etc.]). When the terminal receives the custom message 56656765, it would destroy its self using the script "JFW_Blow_Up_Obj_On_Custom" and then create the new terminal preset with the cheaper beacons using the script "TFX_Spawn_When_Killed".

If I need to explain this better just ask!


[Updated on: Mon, 04 December 2006 14:21]

Report message to a moderator

Previous Topic: RA_Underwater_On_Custom
Next Topic: looking for someone who can make bump maps
Goto Forum:
  


Current Time: Thu May 23 08:57:59 MST 2024

Total time taken to generate the page: 0.89097 seconds