Shotgun Ammo
Moderator: Moderators
Shotgun Ammo
I haven't seen any ammo boxes for the shotgun in Radient. Can anyone help a blind man to see?
Diego
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
No, the shotgun is evil.
Seriously, I would help you out if I knew the answer, but I don't.
Seriously, I would help you out if I knew the answer, but I don't.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

Can't do that. I only want 1 shotgun available in the level. I'm trying to set it up so that players can not spawn with shotty ammo. That way, if you want the gun, you gotta kill the guy that has it and take it from him. The only problem is that when you pick it back up, you only have 10 shells left.
Diego
Here's your ammobox for the shotgun:
http://www.decalattack.com/recyclebin/f ... mmobox.pk3
It's just a tik file in it's folder. Inside there's a line telling the amount of shells (24). Change it to whatever you want
A, place this pk3 in your main folder or it's contents into your own pk3 and you'll find the ammobox where all the others are (items/ammoboxes..)
http://www.decalattack.com/recyclebin/f ... mmobox.pk3
It's just a tik file in it's folder. Inside there's a line telling the amount of shells (24). Change it to whatever you want
A, place this pk3 in your main folder or it's contents into your own pk3 and you'll find the ammobox where all the others are (items/ammoboxes..)
ah, no, not in the entity editor. in the pk3, there's one file item_shotgun_ammobox.tik, which has that line (open it with an text-editor)
Code: Select all
//reanimated by wacko
TIKI
setup
{
scale 0.52
path models/items/ammo_boxes
skelmodel shotgun_box.skd
surface all shader shotgun_box
}
init
{
server
{
classname AmmoEntity
name shotgun
amount 24 //<----------number of shells in the box
dmamount 24 //<----------probably number of shells for multiplayer
}
}
animations
{
idle shotgun_box.skc
}
/*QUAKED item_ammobox_shotgun (0 0 0) (0 0 0) (0 0 0)
Shotgun
*/