Page 1 of 1
AA axis and allies primary weapon select?
Posted: Fri Oct 14, 2005 3:36 am
by PacMan
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.
Posted: Thu Nov 24, 2005 7:55 pm
by @(...:.:...)@
I can't realy tell how they set it up from your description. How were you able to chose between the axis or allied version?
If you can explain how you could chose, I could explain how they did it.

Posted: Thu Nov 24, 2005 8:04 pm
by Herr_Kruger
easiest way is to give players axis and allies weapons same time, so they have both kind of weapons. I dont think he says to choose in a menu, or similar
regards,
Kruger
Posted: Thu Nov 24, 2005 8:04 pm
by Elgan
there i no file. that mod checks spawn in one way or another then asks u for a selection.
think its the mod sorrid made. was on tmt but might be somewhere else, maybe someone has it. if not u can rebuild it.
Posted: Fri Nov 25, 2005 10:15 am
by sorridstroker
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
Code: Select all
my_thread:
local.cvar = int(getcvar(g_gametype))
setcvar g_gametype 0
self wuss
setcvar g_gametype local.cvar
end
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

Posted: Fri Nov 25, 2005 1:56 pm
by @(...:.:...)@
I sure do.
Now to work out how to pm you.

Posted: Fri Nov 25, 2005 2:04 pm
by sorridstroker
lol cheers dude.
heres the link:
Weapon Thing
Posted: Fri Nov 25, 2005 9:50 pm
by GiffE1118
sorridstroker wrote:lol cheers dude.
heres the link:
Weapon Thing
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

Posted: Fri Nov 25, 2005 11:35 pm
by sorridstroker
all you have to do is edit/remove the lightmap data out of the relevant shaders..
so if its barrels do the barrel shaders etc etc
will only affect the server of course. (most clients don't have developer on tho so they will never notice)
Posted: Sat Nov 26, 2005 1:41 pm
by GiffE1118
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:
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
}
}
to
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
Posted: Sat Nov 26, 2005 2:37 pm
by sorridstroker
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..
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
}
}
I would search for normandy/wood_plank in the shaders.
Re: AA axis and allies primary weapon select?
Posted: Mon Nov 28, 2005 12:13 am
by LeBabouin
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.
Or you can just spawn them in both the respawn areas.
Posted: Mon Nov 28, 2005 12:59 am
by cardevsan
If you want all weapons here
give:
$player wuss
wait 3
thread give
end