Jump to content

Home

Need complete cvar and cmd lists for JK2 dedicated


Lord Sokar

Recommended Posts

I cannot find a complete list anywhere of the JK2 specific cvarlist with the variables listed. Can anyone point me in the right direction?

 

I'm not to bad on the cmdlist (pretty self explanitory), but if anyone can show me where an indepth review of the commands is stored, I would appreciate that as well.

 

But the most important thing is the cvars (forcepowers, weapons, gametype, etc).

 

Thanks! Time to start yet another 1.02 server.

Link to comment
Share on other sites

I'm in the process of compiling a complete JK2 specific cvar list at this time. Here's the most relevant ones for now:

 

g_gametype // 0=FFA, 1=Holocron, 2=Jedi Master, 3=Duel, 5=Team FFA, 7=CTF, 8=CTY

 

g_forcePowerDisable // Sum of bitfield disables selected powers as follows:

 

Heal - 1

Jump - 2

Speed - 4

Push - 8

Pull - 16

Mindtrick - 32

Grip - 64

Lightning - 128

Dark Rage - 256

Protect - 512

Absorb - 1024

Team Heal - 2048

Team Replenish - 4096

Drain - 8192

Seeing - 16384

Saber Offense - 32768

Saber Defense - 65536

Saber Throw - 131072

 

Note: this feature doesn't work properly in server versions pre-1.03. Additionally, v1.03 added the forcetoggle console command.

 

g_weaponDisable // Sum of bitfield disables selected weapons as follows:

 

No Weapon (not used) - 1

Stun Baton - 2

Sabre (doesn't work) - 4

Bryar Pistol - 8

Stormtrooper Rifle - 16

Disruptor - 32

Bowcaster - 64

Repeater - 128

DEMP Gun - 256

Flechette Rifle - 512

Rocket Launcher - 1024

Thermal Detonators - 2048

Trip Mines - 4096

Detonator Packs - 8192

Sentry Guns - 16384

Turret Guns - 32768

 

g_duelWeaponDisable // Same as above for duels (duel mode and FFA/Holocron challenges)

 

g_saberLocking // Toggles occurance of saber locks. 0=disabled

 

g_dismember // Frequency of dismemberment (0-100). 0=disabled

 

g_privateDuel // Toggles ability to issue challenge to private duel (FFA/Holocron modes only). 0=disabled

 

g_maxForceRank // Sets jedi rank for server (0-7) Higher level provides more points to the player to spend on force powers.

 

g_friendlySaber // Toggles damage to same team by idle (not swinging) saber. 0=no damage (swinging same team damage controlled by g_friendlyfire)

 

duel_fraglimit // Number of duel victories by one player to change/restart maps

 

g_maxHolocronCarry // Number of Holocrons a single player can carry at one time

 

g_autoMapCycle // Toggles auto rotation of maps. Disable for to use custom rotation. 0=disabled

 

A few more to follow....

Link to comment
Share on other sites

  • 10 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...