ItsMods

Full Version: List of models that can be spawned? (Looking for C4 model)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where can I find a list of models that can be spawned in the 3d space? Like "weapon_at4_stow" and such. I'm specifically looking for the C4 model.
weapon_c4_mp
That be the C4. If you're looking for weapons look at the weapon files, find "worldmodel" in it and use those. Pretty sure you don't even need to precache it. It's probably loaded in common_mp.
Ah thanks. I'm trying to link it to a player. This is what I tried, but it only spawned on the ground and stayed there.

Code:
self.at4 = spawn("script_model", self.origin);
self.at4 setModel("weapon_at4_stow");
self.at4 linkTo(self, "tag_flash", (0, 0, 0), (0, 0, 0));

I tried tag_player, but I had the same result.
Code:
self attach( "weapon_at4_stow", "tag_stowed_back" );

Check this, it can help you on getting a big list of models which dont need "precache":

http://www.itsmods.com/forum/Thread-Tuto...older.html
(06-27-2013, 12:35)Yamato Wrote: [ -> ]
Code:
self attach( "weapon_at4_stow", "tag_stowed_back" );

Check this, it can help you on getting a big list of models which dont need "precache":

http://www.itsmods.com/forum/Thread-Tuto...older.html


What do I write? I tried a few variations of that code, even standalone, but it either never spawned, or just spawned on the ground.
(06-27-2013, 13:08)akillj Wrote: [ -> ]
(06-27-2013, 12:35)Yamato Wrote: [ -> ]
Code:
self attach( "weapon_at4_stow", "tag_stowed_back" );

Check this, it can help you on getting a big list of models which dont need "precache":

http://www.itsmods.com/forum/Thread-Tuto...older.html


What do I write? I tried a few variations of that code, even standalone, but it either never spawned, or just spawned on the ground.

That code links the object to the players back, try it with third person view to see it Cool