Page 1 of 1

Static Model

Posted: Mon Aug 30, 2004 5:50 pm
by AfterDeath
I am using a very simple script to spawn a V2 rocket into a map.
local.v2 = spawn script_model
local.v2 model "static/v2.tik"
local.v2.origin = ( 224 96 50 )
local.v2.angle = 45
local.v2.scale = 0.8
local.v2 alwaysdraw
local.v2 notsolid
However, I am having some trouble as the rocket doesn't always get the correct light effects added to it. I've come to realize it has to do with the origin height. If I make it -10, the rocket looks like it should, however the lighting effects get screwed up if I try to place it any higher than that (which I would like to do).

Any ideas please? :? Thanks!

Posted: Mon Aug 30, 2004 6:23 pm
by lizardkid
well only thing i can think of is this,

is it over your skybox? if it is strange things happen

Script_object

Posted: Mon Aug 30, 2004 8:13 pm
by tltrude
Try spawning it as a script_object, although it may not be solid.