Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Setting up Health Specific to type of mines?
Setting up Health Specific to type of mines? [message #278539] Sun, 12 August 2007 06:09 Go to next message
BlazeDragoon is currently offline  BlazeDragoon
Messages: 135
Registered: April 2004
Karma: 0
Recruit
Is it at all to set healths for certain types of mines to be different? As far as I can see you can't.. all mines have to have the same health:S. Any suggestions:<?

Re: Setting up Health Specific to type of mines? [message #278543 is a reply to message #278539] Sun, 12 August 2007 06:40 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
Make an identical preset and change the health of that preset?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Setting up Health Specific to type of mines? [message #278549 is a reply to message #278543] Sun, 12 August 2007 06:54 Go to previous messageGo to next message
BlazeDragoon is currently offline  BlazeDragoon
Messages: 135
Registered: April 2004
Karma: 0
Recruit
?? The preset that defines the health for ALL of the mines is one preset. It's Placed_C4 or Tossed_C4. The problem is that it applies to all C4 and you can't actually adjust health on the C4 weapons. So if I change the health of that it changes the health of all C4. As an example say I want remotes with 100 health and timed mines with 200. As far as I can see.. you can't do that:/.

Re: Setting up Health Specific to type of mines? [message #278596 is a reply to message #278539] Sun, 12 August 2007 11:56 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
make 2 mine presets ?

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Setting up Health Specific to type of mines? [message #278820 is a reply to message #278596] Mon, 13 August 2007 09:58 Go to previous messageGo to next message
BlazeDragoon is currently offline  BlazeDragoon
Messages: 135
Registered: April 2004
Karma: 0
Recruit
I must be missing something here? What good will making a new preset do? The ammo preset or weapon presets for weapons to me, seem to have nothing to do with the health. Ok make a new preset for tossed or placed c4.. what good will this do? How would I make that new preset apply to just one mine.. or any for that matter? Unless I maybe make a new ammo type or something:/.

Re: Setting up Health Specific to type of mines? [message #278851 is a reply to message #278539] Mon, 13 August 2007 14:54 Go to previous messageGo to next message
Tunaman
Messages: 1189
Registered: January 2005
Karma: 2
General (1 Star)
If you know C++, look in the SSGM source files for the command that handles "!c4" and see how they check to see if an object is a c4 or not. I'm guessing you could do something similar like this and then change the healths of the certain c4.

http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: Setting up Health Specific to type of mines? [message #278859 is a reply to message #278851] Mon, 13 August 2007 15:49 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Make a script and attach it to the mine, this script would send a custom a distance when it was created, and when the who just dropped the mine got the custom it would reflect the custom to the mine, the mind would get the custom and detect what weapon the player was holding and change its health, and possibly model accordingly.

Previous Topic: Scripts 2.9
Next Topic: Camera
Goto Forum:
  


Current Time: Sat May 11 16:24:29 MST 2024

Total time taken to generate the page: 0.00784 seconds