Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » I think I know how to do helipads...
I think I know how to do helipads... [message #-990653] Thu, 28 November 2002 23:50 Go to next message
Anonymous
(this is for one side, for the other side, repeat, also its untested & might not work, its just an idea)
1.make it so you cant buy helicoptors from purchase terminals anymore
2.make a building thats the helipad (just make it a dummy building controller)
3.make several pokeable objects (pokeable means you can use the action key on it) next to the helipad, one for each aircraft you want to be able to buy. These will act as "purchase points" for the helicoptors. Give these objects sequential ID numbers (for a reason that becomes clear when I discuss the scripts below). You can make these look like whatever you want but given that there wont be any other visual indication, it would be a good idea to make them somehow indicate which helicopter they are for.

Basicly, you need to know a few things for the scripts to work:
1.the ID of the first "purchase object"
2.the count of how many "purchase objects" there are
3.the XYZ location of where the helicoptors should spawn at
4.the preset name for each helicoptor
5.the cost you want to use for each helicoptor
6.one or more "someone just bought a helicoptor" sound fx to play

There are 2 scripts, the first one goes on the "purchase objects", the other goes on the pad itself.
The pad script takes a few paramaters:
1.the ID of the first "purchase object"
and 2.the count for how many there are
It doesnt do anything until it is destroyed. When it is destroyed, it destroys the helipad its attatched to then loops through from the first "purchase object", destroying all of those objects as well (hence the need for them to be in numerical order)

The purchase script does all its work in the "this object has been poked" handler.
Basicly, it spawns the helicoptor it has been told to spawn at the location it has been told to spawn it at. It also removes the amount of cash it has been told to remove. Plus it plays the sound effect specified.

There are be a few "limitations" on this idea, for example, the cost wont change when the PP is blown up. Just exactly what limitations there are or even if the idea wotks at all wont be known until the scripts have been written and tested.

I will hopefully be writing the needed scripts sometime soon, I need a map builder who can make the needed test map(s) for me. This test person must be good at using scripts in their maps and preferably has played around with my custom scripts.dll in the past, thats not essential though. They must also be willing to donate their test map for inclusion with the scripts.dll as an example, I would include at least the .lvl file if not the gmax. I also need people who can test the stuff out in multiplayer.

If anyone has any comments, such as "this idea sucks", "please make this", "you should do it differently", "this idea isnt possible" or whatever, post them here.
I think I know how to do helipads... [message #-990652] Fri, 29 November 2002 00:02 Go to previous messageGo to next message
Anonymous
Wow....well i have no idea about scripting and such, but it sounds like a good idea!

It someone could do that it would be really cool [Smile]

Keep thinking! [Wink] [Big Grin] [Smile]
I think I know how to do helipads... [message #-990651] Fri, 29 November 2002 08:02 Go to previous messageGo to next message
Anonymous
if need be ill test it for you....im on 56k, so i'll be slow.
I think I know how to do helipads... [message #-990650] Fri, 29 November 2002 08:39 Go to previous messageGo to next message
Anonymous
Sounds promising!
I think I know how to do helipads... [message #-990649] Fri, 29 November 2002 11:46 Go to previous messageGo to next message
Anonymous
hm... sounds good... but im still not believeing in the helipad, once destoryed, will grey out the flying units... if you got it to work, that would be cool! keep us all updated!
I think I know how to do helipads... [message #-990648] Fri, 29 November 2002 11:50 Go to previous messageGo to next message
Anonymous
p.s. im testing it out...
I think I know how to do helipads... [message #-990647] Fri, 29 November 2002 20:27 Go to previous message
Anonymous
I'll test it!
Send uit to mail@laeubi.de and you 'll get my feedback [Smile]

btw: Really nice Idea/work.
Previous Topic: WHO HAS PLAYED STARCRAFT?
Next Topic: Scripts Parameter Tool.
Goto Forum:
  


Current Time: Sun Dec 22 14:02:41 MST 2024

Total time taken to generate the page: 0.00616 seconds