TriForceX / JediKnightPlus

Game modification for Jedi Knight II: Jedi Outcast Multiplayer with useful stuff and custom features
https://jkplus.github.io
GNU General Public License v2.0
21 stars 4 forks source link

Documentation is missing how to disable teleport upon duels #12

Open Fixmetal opened 8 months ago

Fixmetal commented 8 months ago

Hello,

I was looking on the specific CVAR on how to disable teleport upon a duel, but I cannot find any mention of this in the documentation. What's the exact CVAR to accomplish this, and can we put it into the wiki?

Thanks so much

TriForceX commented 8 months ago

You can disable it by setting jk_altDimensionSpawn cvar into 0, this happens because you have private duel dimension enabled and i set random spawn by default for all dimensions... i guess i can change the cvar behaviour to enable/disable per specific dimension, thanks for this report.

Only the descriptions on the server.cfg is the current useful info for the moment.

// Set random spawn point when player join or leave a dimension:
set jk_altDimensionSpawn "1"

Wiki documentation is outdated, sorry about that! im going to update it soon.

Fixmetal commented 8 months ago

Thanks a lot!

TriForceX commented 5 months ago

This was improved in the commit f09fc54 giving the ability to choose which dimension has spawn when join on it (or leave it in case of private dimensions).

Remember you always can use the in-game cvar calculator by using /rcon toggleMod jk_altDimensionSpawn to set _(and catch up later the value of jkaltDimensionSpawn) or by using the jkmod_calculator.html from server files.