21:29 03/04/2006
Created to please dudes who like sorrids choose weapon mod.
This mod looked at a choose select that i was sent. Instead of
trying to understand how and where all the scripts it was executed.
I quickly wrote a new mod along the lines of the description. it is kinda ugly.
Probably works, UNtested and you can easily edit it. So have fun.
To add it to AdminPro:
open your settings folder and locate mods.txt
add the following line to the list of mods.
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"weapon-select" "1" " Choose between axis and allied weapon from either team" "none" all all "none" "0"
Now, Like other mods it is added to the rcon list so, rcon admin_cmd "weapon-select 0" in consol;e will turn it off, 1, on. The menu will need editing.
final part, you must add the following to your nagle_torso_aa.st, This can be found in the main Ap.pk3 inside global folder. Open with winrar. Add the following to the
bottom of that file. A state file is included in this pk3. However admin pro will probably overwrite this. SO you must follow this step.
//====================================================================================================================
// Begin: Weapon Select States
//====================================================================================================================
state WEAPON_SELECT
{
movetype legs
states
{
AXIS_GUN : +FORWARD
ALLIED_GUN : +BACKWARD
STAND : KILLED
}
}
state AXIS_GUN
{
movetype legs
entrycommands
{
exec weapon_select/select.scr "2"
}
states
{
STAND : KILLED
}
}
state ALLIED_GUN
{
movetype legs
entrycommands
{
exec weapon_select/select.scr "1"
}
states
{
STAND : KILLED
}
}
//====================================================================================================================
// End: Weapon Select States
//====================================================================================================================
75-weapon-select.zip