Page 1 of 2

Scripting: Guns?

Posted: Sat Dec 25, 2004 3:24 am
by _rc_combat_rocks_
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

Posted: Sat Dec 25, 2004 4:02 am
by identity theft
Hi, i believe the correct names are:

weapons/steilhandgranate.tik
weapons/mp44.tik

Posted: Sat Dec 25, 2004 4:16 am
by _rc_combat_rocks_
thanks. Those are great!

Do you know a list for all the guns I can go view?

Posted: Sat Dec 25, 2004 5:10 am
by identity theft
trying looking in pak0.pk3, the tik's should be under models/weapons or something like that.

Posted: Sat Dec 25, 2004 7:42 pm
by _rc_combat_rocks_
"trying looking in pak0.pk3, the tik's should be under models/weapons or something like that."

This may sound like a dumb question, but how do I open the pak0.pk3?[/quote]

Posted: Sat Dec 25, 2004 9:11 pm
by Neocortex
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 :)

Posted: Sun Dec 26, 2004 6:40 am
by lizardkid
this is a very offtopic thing but how can you post with a name "Identity Theft" and be a guest? :?

Posted: Sun Dec 26, 2004 6:47 am
by _rc_combat_rocks_
Perhaps he stole the identity of an actual member.......



just kidding!



Edit:

Just noticing Neocortex (above replies) and I joined the same date. Is the number of posts why I'm a seargent and he's a private?

Posted: Sun Dec 26, 2004 7:28 am
by jv_map
_rc_combat_rocks_ wrote:Just noticing Neocortex (above replies) and I joined the same date. Is the number of posts why I'm a seargent and he's a private?
Yes sir!

Posted: Sun Dec 26, 2004 7:19 pm
by _rc_combat_rocks_
To bad you can't make seargent after 8 days in the real US Army! ;o)

Posted: Sun Dec 26, 2004 8:07 pm
by Green Beret
you can,hope that everyone above u in rank dies in the battlefield :lol:

Posted: Sun Dec 26, 2004 8:43 pm
by _rc_combat_rocks_
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.

Posted: Sun Dec 26, 2004 9:13 pm
by Master-Of-Fungus-Foo-D
Green Beret wrote:you can,hope that everyone above u in rank dies in the battlefield :lol:
yeah, thats an easy way :P
everyone except for you*private* and the general are dead and theres an attack and he goes down.. lol talk about a one man army :P :P :p

Posted: Mon Dec 27, 2004 8:52 am
by lizardkid
_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.
just select it as the open with: program. pak0 has all the cool stuff like models and .tik files (my favvy pak)

Posted: Mon Dec 27, 2004 8:39 pm
by Green Beret
isnt there a way to activate a trigger using a gun.
as in shooting it to trigger it?