Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » CnC_Nod_Truck_Player_Secret (Bugged ? :S)
CnC_Nod_Truck_Player_Secret [message #268378] Sat, 23 June 2007 07:40 Go to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

CnC_Nod_Truck_Player_Secret

I tried to adjust this vehicle its health type and set it
to CNCVehicleHeavy instead of the light armor so it takes
longer to kill it.

But, no matter what i do either setting the skin through objects.ddb
or with the scripts.dll Set_Skin(obj,"CNCVehicleHeavy");
it simply refuses to apply :S

I have it so far that it repairs itself quite fast (like the mammy
does but faster)..

Anyone know what is stopping the truck from taking up changes like this? Annoying as hell lol

(edit: this is meant to be serverside btw)


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Sat, 23 June 2007 07:40]

Report message to a moderator

Re: CnC_Nod_Truck_Player_Secret [message #268465 is a reply to message #268378] Sat, 23 June 2007 19:16 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Right, first thing. You should make sure you are getting the GameObject of the right truck, i suggest making a chat hook or something that creates the truck and stores the GameOBject *.
Then do your modifications to the truck and see if it works.
Re: CnC_Nod_Truck_Player_Secret [message #268504 is a reply to message #268378] Sun, 24 June 2007 05:58 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
I don't think armor types can be edited serverside can they?
Re: CnC_Nod_Truck_Player_Secret [message #268509 is a reply to message #268378] Sun, 24 June 2007 06:55 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)
Yeah they can be changed server side for vehichles and characters. Never tried buildings.
He has managed to get it to repair itself quicker, so he must be doing it to the right game object.

Pretty weird that it's armor type won't change :S



Re: CnC_Nod_Truck_Player_Secret [message #268516 is a reply to message #268378] Sun, 24 June 2007 08:05 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
I wrote a lua script last night that worked perfect. Something must be wrong with the code.
Previous Topic: A few Shader Questions
Next Topic: how can i do these
Goto Forum:
  


Current Time: Mon Dec 23 03:54:56 MST 2024

Total time taken to generate the page: 0.01098 seconds