I've had no problems with this tutorial, but I do have a question. Through changing the below code:
Code: Select all
//========================
local.fix1 = spawn script_model
local.fix1 model "weapons/thompsonsmg.tik"
local.fix1.origin = ( 886.83 295.72 163.13 )
local.fix1.angles = ( 0 0 0 )
local.fix1.scale = 1.0
to this:
Code: Select all
//========================
local.fix1 = spawn item //Replaced "script_model" with "item"
local.fix1 model "weapons/thompsonsmg.tik"
local.fix1.origin = ( 886.83 295.72 163.13 )
local.fix1.angles = ( 0 0 0 )
local.fix1.scale = 1.0
Any clues on how to get the model to appear before the weapon's picked up, and dissappear once it's been picked up?
