AA axis and allies primary weapon select?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
PacMan
Corporal
Posts: 29
Joined: Wed Jun 16, 2004 9:44 pm

AA axis and allies primary weapon select?

Post 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.
@(...:.:...)@
Corporal
Posts: 37
Joined: Wed Nov 23, 2005 3:42 pm
Location: Cambridge UK

Post 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. 8-)
Image

<3 arrays.
User avatar
Herr_Kruger
Private
Posts: 7
Joined: Thu Mar 31, 2005 4:35 pm
Location: Mallorca Island, Spain

Post 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
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post 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.
sorridstroker
Lance Corporal
Posts: 22
Joined: Wed Aug 31, 2005 2:05 pm

Post 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? :roll:

pm me if you do :D
@(...:.:...)@
Corporal
Posts: 37
Joined: Wed Nov 23, 2005 3:42 pm
Location: Cambridge UK

Post by @(...:.:...)@ »

I sure do. :D

Now to work out how to pm you. :lol:
Image

<3 arrays.
sorridstroker
Lance Corporal
Posts: 22
Joined: Wed Aug 31, 2005 2:05 pm

Post by sorridstroker »

lol cheers dude.

heres the link:

Weapon Thing
GiffE1118
Warrant Officer
Posts: 137
Joined: Fri Aug 05, 2005 12:14 am
Contact:

Post 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 :oops:
www.95thDivision.com
Image

BOTTOM 125th Poster! lol
sorridstroker
Lance Corporal
Posts: 22
Joined: Wed Aug 31, 2005 2:05 pm

Post 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)
GiffE1118
Warrant Officer
Posts: 137
Joined: Fri Aug 05, 2005 12:14 am
Contact:

Post by GiffE1118 »

i know its only gonna effect the server i dont really care about the clients. :D 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
www.95thDivision.com
Image

BOTTOM 125th Poster! lol
sorridstroker
Lance Corporal
Posts: 22
Joined: Wed Aug 31, 2005 2:05 pm

Post 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.
LeBabouin
Lance Corporal
Posts: 22
Joined: Tue Jun 21, 2005 11:10 pm

Re: AA axis and allies primary weapon select?

Post 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.
cardevsan
Corporal
Posts: 28
Joined: Wed May 19, 2004 9:06 pm

Post by cardevsan »

If you want all weapons here



give:
$player wuss
wait 3
thread give
end
Post Reply