Creates appearance [message #266184] |
Thu, 14 June 2007 10:10 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2253.jpg) |
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
I want to change the crates appearance in ssgm from the Vehicle_Blocker to the POW_Backpack, I tried this but they stayed as the metal box
void DAN_CnC_Crate::Created(GameObject *obj)
{
// Create the vehicle blocker and save it as a GameObject Variable,so I can destroy
// it when the crate is picked up!
Commands->Set_Model(obj,"vehcol2m");
VehBlock = Commands->Get_ID(Commands->Create_Object("POW_Backpack",Commands->Get_Position(obj)));
}
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's. ![Razz](images/smiley_icons/icon_razz.gif)
|
|
|
|
|
|
Re: Creates appearance [message #266192 is a reply to message #266184] |
Thu, 14 June 2007 10:36 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/3415.gif) |
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
He's looking under "DAN_CnC_Crate" which is the wrong one and what's causing his problem.
I don't have access to the source files at work, if no one else has answered by the time I get home then I will.
|
|
|
|
|
|
|
|
|
Re: Creates appearance [message #266390 is a reply to message #266184] |
Fri, 15 June 2007 02:00 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/20791.jpg) |
Spyder
Messages: 1070 Registered: March 2006
Karma: 0
|
General (1 Star) |
|
|
Try changing the crate model in the RenegadeEditor. It works most of the time, unless you're talking about the advanced crate from SSAOW then you need C++ as you're already trying to do.
|
|
|
|