static model not solid

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

static model not solid

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

nodamage

Post 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!
Tom Trude,

Image
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post 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
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post 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.
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post 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
Post Reply