solid objects on stock maps -1 reply

Please wait...

cipher

I'm too cool to Post

50 XP

25th March 2004

0 Uploads

1 Posts

0 Threads

#1 15 years ago

Hello guys

Just a simple question

On a sotck map , now i am able to add a xmodel on it !

The only problem is that i am able to pass thru the object

is there a way to prevent this problem ?

What i did is this

In the beginning of the map i added this

tiger1 = spawn_model("xmodel/vehicle_tank_tiger","mytiger",(-500, -1000, 0),(0,90,0));

At the end of the map added this :

spawn_model(model,targetname,origin,angles) { if (!isdefined(model) || !isdefined(targetname) || !isdefined(origin)) return undefined;

if (!isdefined(angles)) angles = (0,0,0);

spawn = spawn ("script_model",(0,0,0)); spawn.origin = origin; spawn setmodel (model); spawn.targetname = targetname; spawn.angles = angles;

return spawn; }

What am i missing here to make it solid !

I dont build maps , i just add stuff on it !

Thx for your help

rgds x cipher




William Tell

I'm too cool to Post

50 XP

24th March 2004

0 Uploads

12 Posts

0 Threads

#2 15 years ago

If your using it as a static prop surround it with the clip metal texture in the textures common area from the toolbar on your editor. http://www.iwnation.com/Forums/index.php?showtopic=3066 Download the bomb video from the above link and it will show you how it is done. If your using in an sp game go to the link below for a tutorial. http://dynamic4.gamespy.com/%7Emap/callofduty/forums/index.php?showtopic=1517