AA axis and allies primary weapon select?
Moderator: Moderators
AA axis and allies primary weapon select?
Does anyone know where I can find the file to enable me to choose between axis and allies stock weapons for either side? I was on a AA server that allowed me to choose either axis or an allie weapon from either team side. Thanks in advance for any advice.
-
@(...:.:...)@
- Corporal
- Posts: 37
- Joined: Wed Nov 23, 2005 3:42 pm
- Location: Cambridge UK
- Herr_Kruger
- Private
- Posts: 7
- Joined: Thu Mar 31, 2005 4:35 pm
- Location: Mallorca Island, Spain
-
sorridstroker
- Lance Corporal
- Posts: 22
- Joined: Wed Aug 31, 2005 2:05 pm
Indeed I made a mod like that.
But it was very ugly and the menu's were crap if I can be arsed ill redo it and post it on filefront this time.
like kruger said you could just do something like this: (will give every player every weapon)
detect player spawn and make him thread this...
self thread my_thread
EDIT
well I have rewritten it but I can't remember my filefront signin details.....
so err hal can you remember them?
pm me if you do
But it was very ugly and the menu's were crap if I can be arsed ill redo it and post it on filefront this time.
like kruger said you could just do something like this: (will give every player every weapon)
detect player spawn and make him thread this...
self thread my_thread
Code: Select all
my_thread:
local.cvar = int(getcvar(g_gametype))
setcvar g_gametype 0
self wuss
setcvar g_gametype local.cvar
endwell I have rewritten it but I can't remember my filefront signin details.....
so err hal can you remember them?
pm me if you do
-
@(...:.:...)@
- Corporal
- Posts: 37
- Joined: Wed Nov 23, 2005 3:42 pm
- Location: Cambridge UK
-
sorridstroker
- Lance Corporal
- Posts: 22
- Joined: Wed Aug 31, 2005 2:05 pm
sorrid while ur looking for old files of urs do u still have the file that get rids of the console spam when u clone a func_ thing by spawning it like
local.clone = spawn func_crate "model" "*23" "origin" "-799.43 58.67 110" "angles" "0 90 0" "classname" "func_crate" "debristype" "0" health 80
sry for hijacking
-
sorridstroker
- Lance Corporal
- Posts: 22
- Joined: Wed Aug 31, 2005 2:05 pm
i know its only gonna effect the server i dont really care about the clients.
but to get rid of the lightmap on this example.. i change this:
to
wat are the crates shaders? which file are they in? the shaders commonly used for func_crate
Code: Select all
textures/barrel/blackbarrel_top
{
surfaceparm metal
{
map textures/barrel/blackbarrel_top.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}Code: Select all
textures/barrel/blackbarrel_top
{
surfaceparm metal
{
map textures/barrel/blackbarrel_top.tga
depthWrite
rgbGen identity
}
{
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}wat are the crates shaders? which file are they in? the shaders commonly used for func_crate
-
sorridstroker
- Lance Corporal
- Posts: 22
- Joined: Wed Aug 31, 2005 2:05 pm
check the console error for specific errors.
if not its a case for searching through the shaders.
here is a func_crate out of stalingrad..
I would search for normandy/wood_plank in the shaders.
if not its a case for searching through the shaders.
here is a func_crate out of stalingrad..
Code: Select all
// entity 6
{
"debristype" "0"
"health" "50"
"classname" "func_crate"
// brush 0
{
( 26.069702 512 216.901459 ) ( -118.101151 512 317.850922 ) ( -118.101151 504 317.850922 ) normandy/wood_plank 35 0 -180.00 1.638306 -0.031250 0 16384 0 +surfaceparm detail
( -143.984314 504 350.623779 ) ( -143.984314 512 350.623779 ) ( 0.186503 512 249.674332 ) normandy/wood_plank 39 0 -180.00 1.638321 -0.031250 0 16384 0 +surfaceparm detail
( -134.807083 510 363.730225 ) ( 9.363732 510 262.780731 ) ( 4.775141 510 256.227570 ) normandy/wood_plank -39 107 55.99 0.250002 0.249997 0 16384 0 +surfaceparm detail
( -56.168434 504 308.666931 ) ( -56.168434 512 308.666931 ) ( -60.757072 512 302.113678 ) normandy/wood_plank 0 70 -180.00 0.125000 -0.102386 0 16384 0 +surfaceparm detail
( 9.363732 512 262.780731 ) ( -134.807083 512 363.730225 ) ( -139.395676 512 357.177032 ) normandy/wood_plank -39 107 55.99 0.250002 0.249997 0 16384 0 +surfaceparm detail
( -108.594177 512 345.375793 ) ( -108.594177 504 345.375793 ) ( -113.182816 504 338.822571 ) normandy/wood_plank 0 172 -180.00 0.125000 -0.102478 0 16384 0 +surfaceparm detail
}
}Re: AA axis and allies primary weapon select?
Or you can just spawn them in both the respawn areas.PacMan wrote:Does anyone know where I can find the file to enable me to choose between axis and allies stock weapons for either side? I was on a AA server that allowed me to choose either axis or an allie weapon from either team side. Thanks in advance for any advice.

