Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script that prevents a building from taking further damage..
Script that prevents a building from taking further damage.. [message #35632] Sat, 02 August 2003 12:03 Go to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
I'm testing around again and I'm searching for a script that will halt any damage to a building once it has reached a certain point in its health--basically so a building cannot be destroyed, however it can be repaired and damaged again infinitely, but it can only be damaged if it is repaired from that "point of no return." I intend on this to be attached to a neutral building controller.

There's a script like this in the tutorial mission attached to your player's havoc...preventing any way for you to die. Does anyone know of that scripts name, so I can attach it to the building controller?


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35638] Sat, 02 August 2003 12:19 Go to previous messageGo to next message
Jaspah is currently offline  Jaspah
Messages: 1478
Registered: July 2003
Location: Syracuse, New York
Karma: 0
General (1 Star)
I know the script, Problem is: I uninstalled Renegade losing my C&C Drop files. The script is also in Taximes Drop Editor 2. Smile
Script that prevents a building from taking further damage.. [message #35642] Sat, 02 August 2003 12:27 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Is it M00_Havoc_Unit?

It's not exactly what I want--I need the building to be able to take damage. Shocked


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35668] Sat, 02 August 2003 14:47 Go to previous messageGo to next message
Sn1per XL is currently offline  Sn1per XL
Messages: 165
Registered: May 2003
Location: Florida
Karma: 0
Recruit
the script is

-### Attach_Script,#, "M00_Damage_Modifier_DME", "0,1,1,0,0"

this will stop health at half.
Script that prevents a building from taking further damage.. [message #35686] Sat, 02 August 2003 15:42 Go to previous messageGo to next message
Wild1 is currently offline  Wild1
Messages: 319
Registered: May 2003
Location: Southern California
Karma: 0
Recruit
I know what you are looking for. Its the script used for the switches in single player.

WOL: wild10ne
PADI Open Water Diver
http://www.n00bstories.com/image.fetch.php?id=1055662786
Script that prevents a building from taking further damage.. [message #35689] Sat, 02 August 2003 15:52 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Sn1per XL

the script is

-### Attach_Script,#, "M00_Damage_Modifier_DME", "0,1,1,0,0"

this will stop health at half.


That script makes the building take no damage at all...

And so you know the script?


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35691] Sat, 02 August 2003 15:57 Go to previous messageGo to next message
Wild1 is currently offline  Wild1
Messages: 319
Registered: May 2003
Location: Southern California
Karma: 0
Recruit
I know absolutely nothing about modding, skinning, scripting, etc. But I know what you are looking for. Repairable Bridges by any chance?

WOL: wild10ne
PADI Open Water Diver
http://www.n00bstories.com/image.fetch.php?id=1055662786
Script that prevents a building from taking further damage.. [message #35692] Sat, 02 August 2003 15:57 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Wild1

I know absolutely nothing about modding, skinning, scripting, etc. But I know what you are looking for. Repairable Bridges by any chance?


Yup


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35697] Sat, 02 August 2003 16:20 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 1
General (5 Stars)
Why don't you just fiddle with the maximum health\armor settings? That's how you were prevented from killing that GDI Officer in the first mission, I do believe.
Script that prevents a building from taking further damage.. [message #35722] Sat, 02 August 2003 17:39 Go to previous messageGo to next message
Wild1 is currently offline  Wild1
Messages: 319
Registered: May 2003
Location: Southern California
Karma: 0
Recruit
Mendoza too, I think.

If you figure this out, it would be a great trigger.


WOL: wild10ne
PADI Open Water Diver
http://www.n00bstories.com/image.fetch.php?id=1055662786
Script that prevents a building from taking further damage.. [message #35750] Sat, 02 August 2003 19:15 Go to previous messageGo to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

I don't know of any scripts that'll do what you want but what ACK said seems the best way.
Say you're going to have a structure with 500 HP. Set the Health and Health Max to about 100 and select "Blamo" as the skin. For the shield, set the ShieldStrength and ShieldStrengthMax to 400 and select something like "CNCStuctureHeavy" or whatever you want. That way it shouldn't blow up.

Only problem I've found with putting a shield on buildings is that they won't repair fully but I'm not sure if that was the problem.
Script that prevents a building from taking further damage.. [message #35753] Sat, 02 August 2003 19:47 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
That doesn't seem to work. I did what you said, Sanada, but the building would not repair and it appears to prevent my bridge from animating.

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35758] Sat, 02 August 2003 20:18 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
I found the script!

MTU_Commando

No unseen sideeffects so far...gosh I hope they're aren't any!


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35759] Sat, 02 August 2003 20:37 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Wh3333333!!!

http://www.n00bstories.com/image.view.php?id=1096711860&gallery=486

http://www.n00bstories.com/image.view.php?id=1112476885&gallery=486

http://www.n00bstories.com/image.view.php?id=1191897732&gallery=486


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Script that prevents a building from taking further damage.. [message #35777] Sat, 02 August 2003 21:31 Go to previous messageGo to next message
Wild1 is currently offline  Wild1
Messages: 319
Registered: May 2003
Location: Southern California
Karma: 0
Recruit
New map, new map...

When do we get to play it?


WOL: wild10ne
PADI Open Water Diver
http://www.n00bstories.com/image.fetch.php?id=1055662786
Script that prevents a building from taking further damage.. [message #35855] Sun, 03 August 2003 09:16 Go to previous message
Jaspah is currently offline  Jaspah
Messages: 1478
Registered: July 2003
Location: Syracuse, New York
Karma: 0
General (1 Star)
Cool, just make sure you have other ways to get to the other base, lol. The objective for both bases would be get rid of the bridge ASAP. Very Happy
Previous Topic: more bots
Next Topic: GAH!!!!!!!
Goto Forum:
  


Current Time: Tue Dec 24 18:21:12 MST 2024

Total time taken to generate the page: 0.00867 seconds