Page 1 of 1

static model not solid

Posted: Tue Oct 23, 2007 3:45 pm
by Tazz
I need some help getting an item solid....i spawned a minepole in a map and scaled it to 6.0 and did the setsize but ots not solid...now im not sure if my setsize is right i just put what i thought would be close....this is here to run up the side of one of the towers in omaha heres SS of what i did

Image.....thats what i did but i need to make it solid and heres my script for that part

Code: Select all

local.static = spawn script_model 
local.static model "static/minepole.tik" 
local.static.origin = ( -1636 -810 -280 ) 
local.static.angles = ( 13 90 3) 
local.static.scale = 6.0 
local.static setsize "-20 -350 -20" "20 350 20"
local.static solid 
local.static nodamage
could someone let me know what i did wrong or how to fix?.....thanx

nodamage

Posted: Wed Oct 24, 2007 5:08 am
by tltrude
Have you tried commenting out the "nodamage" line?

//local.static nodamage

Also, I don't really think you can use "setsize" for a script model. So, try "script_object".

//local.static = spawn script_model
local.static = spawn script_object

Hope that helps!

Posted: Wed Oct 24, 2007 5:27 am
by Tazz
i got it now.....i had to set up crates at a 40 degree angle to make the walkway then i hid them and put the minepole over it so it looks like ur walking up the minepole....thx though man

Posted: Sun Oct 28, 2007 9:36 pm
by neillomax
A long time ago I read where you could put

local.static ghost

in the script to make something invisible. no need to try and hide it. I can't remember the proper wording ( scripting ) for it though.

Posted: Wed Oct 31, 2007 3:40 am
by Tazz
well isnt that really the same thing?.....local.crate hide or local.crate ghost........as long as it goes invisible im fine with it