Scripting: Guns?
Moderator: Moderators
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
Scripting: Guns?
Hey all,
I'm trying to add weapons to what my player gets im my map.
Here's my code so far.
-------------------------------------------------------------
// Rage m1l1
// ARCHITECTURE: _rc_combat_rocks
// SCRIPTING: _rc_combat_rocks_
main:
setcvar "g_scoreboardpic" "none"
level waittill prespawn
$player item weapons/colt45.tik
$player item weapons/m1_garand.tik
$player item weapons/mp40.tik
$player item weapons/grenade.tik
$player item weapons/stg44.tik
$player ammo pistol 21
$player ammo smg 120
$player ammo rifle 72
$player ammo grenade 3
$player ammo mg 180
level waittill spawn
end
-------------------------------------------
and my precache:
-------------------------------------------
cache weapons/colt45.tik
cache weapons/m1_garand.tik
cache weapons/mp40.tik
cache weapons/grenade.tik
cache weapons/stg44.tik
-------------------------------------------
My problem: The Stg44 and the Nades don't appear in the game. (german's with stg44's never worked either).
I tried all the filenames i could think of, like bar.tik, stg44.tik, etc, and still the MG's and nades won't show up. Is there a tut somewhere or a list of all the gun name?
Thanks
I'm trying to add weapons to what my player gets im my map.
Here's my code so far.
-------------------------------------------------------------
// Rage m1l1
// ARCHITECTURE: _rc_combat_rocks
// SCRIPTING: _rc_combat_rocks_
main:
setcvar "g_scoreboardpic" "none"
level waittill prespawn
$player item weapons/colt45.tik
$player item weapons/m1_garand.tik
$player item weapons/mp40.tik
$player item weapons/grenade.tik
$player item weapons/stg44.tik
$player ammo pistol 21
$player ammo smg 120
$player ammo rifle 72
$player ammo grenade 3
$player ammo mg 180
level waittill spawn
end
-------------------------------------------
and my precache:
-------------------------------------------
cache weapons/colt45.tik
cache weapons/m1_garand.tik
cache weapons/mp40.tik
cache weapons/grenade.tik
cache weapons/stg44.tik
-------------------------------------------
My problem: The Stg44 and the Nades don't appear in the game. (german's with stg44's never worked either).
I tried all the filenames i could think of, like bar.tik, stg44.tik, etc, and still the MG's and nades won't show up. Is there a tut somewhere or a list of all the gun name?
Thanks
_rc_combat_rocks_
-
identity theft
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
-
identity theft
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
have u got winrar? just right click on it, open, then a menu comes, click on "i want to choose from a list" or something, then choose winrar, if you have winrar. If you have paksapce, just open it with pakscape. You can go to the tutorials of this site and download pakscape. Pakscape is easier for some users, but i use winrar, more simple to me 
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
-
_rc_combat_rocks_
- Sergeant
- Posts: 74
- Joined: Fri Dec 17, 2004 11:35 pm
Well, getting back to the subject of the thread,
Neocortex wrote:
"have u got winrar? just right click on it, open, then a menu comes, click on "i want to choose from a list" or something, then choose winrar, if you have winrar. If you have paksapce, just open it with pakscape. You can go to the tutorials of this site and download pakscape. Pakscape is easier for some users, but i use winrar, more simple to me"
I d/l'ed PakScape from Fileplanet, and When I try to open any *.pk3, such as "pak0.pk3", nothing shows up in the program.
Neocortex wrote:
"have u got winrar? just right click on it, open, then a menu comes, click on "i want to choose from a list" or something, then choose winrar, if you have winrar. If you have paksapce, just open it with pakscape. You can go to the tutorials of this site and download pakscape. Pakscape is easier for some users, but i use winrar, more simple to me"
I d/l'ed PakScape from Fileplanet, and When I try to open any *.pk3, such as "pak0.pk3", nothing shows up in the program.
_rc_combat_rocks_
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
just select it as the open with: program. pak0 has all the cool stuff like models and .tik files (my favvy pak)_rc_combat_rocks_ wrote:Well, getting back to the subject of the thread,
Neocortex wrote:
"have u got winrar? just right click on it, open, then a menu comes, click on "i want to choose from a list" or something, then choose winrar, if you have winrar. If you have paksapce, just open it with pakscape. You can go to the tutorials of this site and download pakscape. Pakscape is easier for some users, but i use winrar, more simple to me"
I d/l'ed PakScape from Fileplanet, and When I try to open any *.pk3, such as "pak0.pk3", nothing shows up in the program.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:



