Health [message #204203] |
Fri, 16 June 2006 20:16 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
I know this may sound funny, But i was looking for a script that would grant health to a character when you buy it. When you purchase the "nod cook" guy it only give you 100 health. But! when i adject it to 100 armor / 100 health and start the game its still at default.
Anyone know the script?
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
|
|
|
Re: Health [message #204339 is a reply to message #204302] |
Sun, 18 June 2006 02:27 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
what didn't work?
srry, found out you cant temp serversided
maybay: JFW_Change_Model_health
that should do the trick
Moding can be real Fun...
[Updated on: Sun, 18 June 2006 05:44] Report message to a moderator
|
|
|
Re: Health [message #204649 is a reply to message #204339] |
Tue, 20 June 2006 21:00 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
LR01 wrote on Sun, 18 June 2006 02:27 | what didn't work?
srry, found out you cant temp serversided
maybay: JFW_Change_Model_health
that should do the trick
|
I tried M00_GrantPowerup_Created and nothing happened.
Then you pretty much said it "cant temp serversided"
And the new script didnt work. Ive notice theres two.
One the characters... When you purchase them the armor goes from 100 to 0.
Unless i did it right:
Model: CnC_GDI_Grenadier_0_Secret
Health: 100.000
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
[Updated on: Tue, 20 June 2006 21:05] Report message to a moderator
|
|
|
Re: Health [message #204666 is a reply to message #204203] |
Tue, 20 June 2006 22:06 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
You don't need a script, just change it in objects.ddb. If that doesn't work then you're doing something wrong.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
Re: Health [message #204671 is a reply to message #204203] |
Tue, 20 June 2006 22:33 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Impossible. I didnt do much other then switching some characters
i.e Basic Grenader into CnC_GDI_Grenadier_0_Secret (navy girl).
Unless thats the problem?
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: Health [message #204744 is a reply to message #204203] |
Wed, 21 June 2006 09:35 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
SOrry about the double post but the edit button took forever to load.
Anyways, This idea worked when i gave some vechs some extra life and made it drop when killed. What can cause this script to not work? As i said, i didnt do much other then changing some units around (they all work).
Perhaps the version of scripts.dll and scripts2.dll i put into my LE folder and those of my FDS?
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
[Updated on: Wed, 21 June 2006 10:11] Report message to a moderator
|
|
|
Re: Health [message #204755 is a reply to message #204203] |
Wed, 21 June 2006 10:22 |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
Do the presets have the appriate scripts attached?
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|
Re: Health [message #204761 is a reply to message #204203] |
Wed, 21 June 2006 10:52 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Yes,
I used unit: CnC_GDI_Grenadier_0_Secret
Ive tried these scripts:
JFW_Change_Model_health
M00_GrantPowerup_Created
Still nothing.
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: Health [message #204769 is a reply to message #204203] |
Wed, 21 June 2006 11:21 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Whitedragon is right, you only need to change the health value of the preset in the objects.ddb file.
However it will show on the client as the original health. Shoot the person for a while and you will see that the health bar doesn't move, then all of a sudden it will start going down.. It is kinda deceiving.
|
|
|
|