Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Health
Health [message #204203] Fri, 16 June 2006 20:16 Go to next message
ghost is currently offline  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?


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Re: Health [message #204240 is a reply to message #204203] Sat, 17 June 2006 07:52 Go to previous messageGo to next message
kooljason is currently offline  kooljason
Messages: 10
Registered: June 2006
Karma: 0
Recruit
you could give it M00_GrantPowerup_Created and then put in a health powerup in the Name box
Re: Health [message #204241 is a reply to message #204203] Sat, 17 June 2006 07:56 Go to previous messageGo to next message
LR01 is currently offline  LR01
Messages: 842
Registered: April 2006
Location: The Netherlands
Karma: 0
Colonel
do you work in a MIX? Huh

cuse then you should temp it Satisfied

Rengane reads the orginal cook and ignors yours Sarcasm


Moding can be real Fun...
Re: Health [message #204302 is a reply to message #204203] Sat, 17 June 2006 19:16 Go to previous messageGo to next message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
I tired it and it didnt work.

http://img287.imageshack.us/img287/9936/davesigea4rw5.png
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 Go to previous messageGo to next message
LR01 is currently offline  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 Thumbs Up


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 Go to previous messageGo to next message
ghost is currently offline  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 Thumbs Up


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


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
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 Go to previous messageGo to next message
Whitedragon is currently offline  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 Go to previous messageGo to next message
ghost is currently offline  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?


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
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 Go to previous messageGo to next message
ghost is currently offline  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?


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
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 Go to previous messageGo to next message
dead6re is currently offline  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 Go to previous messageGo to next message
ghost is currently offline  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.


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
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 Go to previous messageGo to next message
reborn is currently offline  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.



Re: Health [message #204775 is a reply to message #204203] Wed, 21 June 2006 11:36 Go to previous message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
Hmm

Ill try that.


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Previous Topic: How can I translate these ingame Messages?
Next Topic: SP Script Editing
Goto Forum:
  


Current Time: Fri Aug 23 01:19:42 MST 2024

Total time taken to generate the page: 0.00842 seconds