Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » JFW_Building_Damage
JFW_Building_Damage [message #324177] Fri, 28 March 2008 20:55 Go to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
Why does this not work???

I attached "JFW_Building_Damage" to the GDI BArracks Controller.
Message:1
Player_Type:1
Damage: 0.250
Warhead: Shell
Distance: 100

I attached "JFW_Timer_Custom" to a ScriptZoneAll in the Air.
A plane entering the Zone through a waypath.
Time: 1.00
Timernum: 9 (just a number???)
Repeat: 1
ID: 1550322 (the ID of the barracks controller)
Message: 1
Param: 0

But if the Plane enter the zone, nothing happens??? All the buildings should be damaged???

Zone_entry works, I checked it with "JFW_Create_Destroy_Object_on_Enter".....

???

And is there a simple script command to make on object explode???

Re: JFW_Building_Damage [message #324179 is a reply to message #324177] Fri, 28 March 2008 22:07 Go to previous messageGo to next message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
You make absolutely no sense, what are you trying to do exactly?

First off, Damage: 0.250 is such a small number, you'd never see any change in the buildings health. Buildings usually have 500.000 health.

Secondly, Param: 0 should be set to 1 if I'm not mistaken.

If you're trying to blow something up while having an explosion then let me know because I know an easier way to do it. I'm talented in picking out scripts. I picked out several new scripts for Nod Survival that I had no clue how they operated and yet I got them to work just the way I wanted on first try, so you can trust my knowledge.
Re: JFW_Building_Damage [message #324194 is a reply to message #324177] Sat, 29 March 2008 05:50 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
Thats the problem:

A plane is flying over the base, following a waypath.
It enters a Zone_Script_All over the base.

On enter, there should be an explosion in the base and building damage.

Its no problem to let something apear in the base, if the plane enters the zone.

But I'm not able to find a command to let it explode.

[Updated on: Sat, 29 March 2008 05:52]

Report message to a moderator

Re: JFW_Building_Damage [message #324197 is a reply to message #324177] Sat, 29 March 2008 06:46 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
I found a PARTLY solution:

I place a script_zone_all with a apply_damage_on_enter attached on the locations, where the explosions of the airstrike should occure.

if the plane crosses another script_zone_all with a create_on_enter attached, it creates objects at the destinated positions of the damage_zones. the objects explodes.

but, still the problem: its cinematic, i have no real damage!
need a command for building damage!
Re: JFW_Building_Damage [message #324261 is a reply to message #324177] Sat, 29 March 2008 16:24 Go to previous messageGo to next message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
JFW_Custom_Damage_Object Big Ups
Re: JFW_Building_Damage [message #324276 is a reply to message #324261] Sat, 29 March 2008 19:16 Go to previous message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
Brandon wrote on Sat, 29 March 2008 17:24

JFW_Custom_Damage_Object Big Ups


1.
Got it Smile
I used "JFW_Death_Send_Custom" and "JFW_Building_Damage_Percentage". It works great.
But you have to give percentage like 0.250, not 25.000...

Airstrike works great now.

[Updated on: Sun, 30 March 2008 15:40]

Report message to a moderator

Previous Topic: Rigging buildings in Gmax?
Next Topic: Renegade HUDs to Reborn HUDs
Goto Forum:
  


Current Time: Fri Dec 20 10:45:23 MST 2024

Total time taken to generate the page: 0.00750 seconds