The 3do files for the weapon models are stored inside the Res2 gob in a 3do directory. There are usually three
models for each gun. In the case of the bryar, the three are: bryg.3do, bryp.3do, and bryv.3do. They are used
for the external weapon mesh, the gun's powerup, and the internal weapon model respectively.
Selection Modes
Mode | Purpose |
---|---|
-1 | Player is mounting the weapon. |
0 | Next / Prev Weapon keys query the weapon. |
1 | A miscellanious cog has queried for the best weapon. |
2 | A powerup cog has queried for the best weapon. |
These modes become the senderref of the autoselect message. Some weapons' autoselect
messages use these modes to determine if they should return -1 or a priority number.
Armed Modes
Mode | Use for: |
---|---|
0 | Fists and detonators. |
1 | Guns. |
2 | The Lightsaber. |
When the player is not in water, JK uses the Armed Mode as the player's Puppet Mode. And when the player enters water,
JK adds three to the Armed Mode for the Puppet Mode. This Puppet Mode (AKA "Major Mode") is returned by
GetMajorMode().
Weapon Priorities
These are the priority numbers that the original weapon cogs return in their autoselect messages
when they are selectable.
Number | Weapon |
---|---|
100 | Fists. |
200 | Lightsaber. |
300 | Sequencer Charges. |
400 | Thermal Detonators. |
500 | Bryar. |
600 | Stormtrooper Rifle. |
700 | Crossbow. |
800 | Repeater. |
900 | Rail Detonator. |
1000 | Concussion Rifle. |