Page 1 of 1

Help with setsize

Posted: Sat Jun 02, 2007 3:55 pm
by EzO_UK
Is it possible to setsize a crate rather than scale it & if so what would the script look like plz ..... thx

Posted: Sat Jun 02, 2007 5:30 pm
by ViPER
models like crates can only be scaled uniformly with "scale"

sure its possible to scale it and setsize the collision

Posted: Fri Jul 20, 2007 4:13 pm
by Gold
Sure it will work.I did this quickly so have not adjusted the setsize correctly so when ya walk around the box it looks normal.But heres the working script.Play with the setsize numbers untill the collision looks right:)

local.static = spawn script_model
local.static model "static/indycrate.tik"
local.static.origin = ( -506 487 432 )
local.static.angles = ( 0 0 0 )
local.static.scale = 3.0
local.static setsize "-160 -160 0" "160 160 180"
local.static solid

p.s.
recently posted a king tiger also,but from the 0 replies from the post i assumed everyone already knew this was possible lol.
mohaa freak

Posted: Fri Jul 20, 2007 5:07 pm
by Gold
local.static = spawn script_model
local.static model "static/indycrate.tik"
local.static.origin = ( -450 487 432 )
local.static.angles = ( 0 0 0 )
local.static.scale = 3.0
local.static setsize "-90 -124 0" "90 124 170"
local.static solid

Here ya go played with the numbers more.Now the setsize is even more accurate for the 3.0 scaled indycrate
Gold>>mohaafreak!!