Adding Weapons in Single Player??
Posted: Fri Jun 06, 2003 4:29 am
Ok i follow a tutorial that is SP and its a combined tut on destroying flak88 rondevouzing with ur allies and fighting off tanks. but the only thing is that i cant spawn with weapons. i am using Spearhead. ok i put this into my script just like it tells me too. i got the tut from the Spearhead SDK tuts.
this is what i put
//---------------------------------------------------------------------------------------------------------------------------------
InitPlayer:
//---------------------------------------------------------------------------------------------------------------------------------
//setup our player with weapons
$player takeall
$player item weapons/Webley_Revolver.tik
$player item weapons/enfield.tik
$player item weapons/sten.tik
$player item weapons/mills_grenade.tik
$player item weapons/M18_smoke_grenade.tik
// give him some ammo
$player ammo pistol 48
$player ammo smg 168
$player ammo rifle 80
$player ammo smokegrenade 3
$player ammo grenade 3
// start out using the smg
$player useweaponclass smg
// give him binoculars and the explosive icon...
$player item items/binoculars.tik
yet when i start out i dont spawn with anything
and im thinking that putting the $ before player is making it not work
this is what i put
//---------------------------------------------------------------------------------------------------------------------------------
InitPlayer:
//---------------------------------------------------------------------------------------------------------------------------------
//setup our player with weapons
$player takeall
$player item weapons/Webley_Revolver.tik
$player item weapons/enfield.tik
$player item weapons/sten.tik
$player item weapons/mills_grenade.tik
$player item weapons/M18_smoke_grenade.tik
// give him some ammo
$player ammo pistol 48
$player ammo smg 168
$player ammo rifle 80
$player ammo smokegrenade 3
$player ammo grenade 3
// start out using the smg
$player useweaponclass smg
// give him binoculars and the explosive icon...
$player item items/binoculars.tik
yet when i start out i dont spawn with anything
and im thinking that putting the $ before player is making it not work