Hey, I need some help with spawning a weapon in a stock map that players can use. I tried to start on this script, but i dunno if it is good, and I need to know how to make it so the player can pickup this weapon.
spawn script_object "targetname" "colt45" "origin" "( 3886 3872 -448 )" // have no location yet
$colt45.model = "weapons/colt45.tik"
$colt45 show
$colt45.angles = ( 0 300 0 ) // not known yet
$colt45.scale = 1.0
thnx At0miC
Scripting: spawn a working weapon
Moderator: Moderators
Scripting: spawn a working weapon
Last edited by At0miC on Sat Dec 25, 2004 12:17 pm, edited 1 time in total.
This is all I have used and it works fine.
Dont define it as a script model and it should be fine.
Code: Select all
local.colt45 = spawn models/weapons/colt45.tik origin ( -6340 -1555 714.20 ) angles ( 0 0 90 )-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
