Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Creates appearance
Creates appearance [message #266184] Thu, 14 June 2007 10:10 Go to next message
Hex is currently offline  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
Re: Creates appearance [message #266185 is a reply to message #266184] Thu, 14 June 2007 10:14 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
once they tell u how i wanna also hange 2 i was thinking of that ut never cared to ask Very Happy
Re: Creates appearance [message #266190 is a reply to message #266184] Thu, 14 June 2007 10:32 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Lookup the w3d file under settings for the backpack and use that:

Commands->Set_Model(obj,"modelname");


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Creates appearance [message #266192 is a reply to message #266184] Thu, 14 June 2007 10:36 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)
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 #266197 is a reply to message #266184] Thu, 14 June 2007 10:45 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
dang reborn work must be fun huh Razz
Re: Creates appearance [message #266201 is a reply to message #266184] Thu, 14 June 2007 10:49 Go to previous messageGo to next message
Hex is currently offline  Hex
Messages: 858
Registered: March 2004
Karma: 0
Colonel
Thanks, both of you it was in gmcrates

Commands->Set_Model(obj,"p_backpack");


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
Re: Creates appearance [message #266366 is a reply to message #266184] Fri, 15 June 2007 00:09 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
where is it at?
Re: Creates appearance [message #266368 is a reply to message #266201] Fri, 15 June 2007 00:18 Go to previous messageGo to next message
Hex is currently offline  Hex
Messages: 858
Registered: March 2004
Karma: 0
Colonel
Hex wrote on Thu, 14 June 2007 13:49

Thanks, both of you it was in gmcrates

Commands->Set_Model(obj,"p_backpack");




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
Re: Creates appearance [message #266373 is a reply to message #266184] Fri, 15 June 2007 00:38 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
bu wheres gmcrates i did the serach but said could not find any >.<
Re: Creates appearance [message #266384 is a reply to message #266184] Fri, 15 June 2007 01:52 Go to previous messageGo to next message
Hex is currently offline  Hex
Messages: 858
Registered: March 2004
Karma: 0
Colonel
In SSGM it's crates.gm.cpp, in SSAOW 1.5 it's crates.cpp

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
Re: Creates appearance [message #266390 is a reply to message #266184] Fri, 15 June 2007 02:00 Go to previous messageGo to next message
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.
Re: Creates appearance [message #266467 is a reply to message #266184] Fri, 15 June 2007 10:08 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
cant find it >.<
Previous Topic: Powerups
Next Topic: help
Goto Forum:
  


Current Time: Sun Dec 22 04:09:32 MST 2024

Total time taken to generate the page: 0.00865 seconds