ItsMods

Full Version: spawning models
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I can't load the models Sad.
I found some models in the assetviewer: one of them is mp_crisis_nuke

well i precached it, in zone source
Code:
xmodel, mp_crisis_nuke
and the material to.
And when that was finished i putted it in my mod:
Code:
spawnModel()
{
                testEnt = spawn( "script_model", (1552, 800, 100 ));
                testEnt SetModel( "mp_crisis_nuke" );
}
Now it should work, but it dont (maybe i have to put files in the mod just like custom models IDK :S)

so plz help me Big Grin
remove the space in the .csv

xmodel,mp_crisis_nuke
nope doesnt workHuh
Where did you thread it from?
spawnModel()
{
testEnt = spawn( "script_model", (1552, 800, 100 ));
testEnt SetModel( "mp_crisis_nuke" );
}

player thread spawnModel();


thread it from onPlayerConnect
try self thread

ninja edit : and do what @Rendflex said
...You're supposed to thread that from Init.
(09-07-2011, 16:06)Rendflex Wrote: [ -> ]...You're supposed to thread that from Init.

He's not supposed to thread it at all
You need to precache it in your .gsc script aswell as in the zone source.

In init(), precacheModel("crisis_nuke_mp whatever it was");
(09-07-2011, 17:47)Madnesslink5 Wrote: [ -> ]You need to precache it in your .gsc script aswell as in the zone source.

In init(), precacheModel("crisis_nuke_mp whatever it was");

how about read the main part -.-
Pages: 1 2 3