Server mod for cores?

Hueman

Member
I was wondering if there was a way to modify a server to where cores could have cool-down times lengthened or shortened? I wouldn't have any other players join, it would just be for practice with certain cores and flags.
 

Poponfu

Lead Developer
server/game/datablocks/cores/cores.cs

Most should take it from there.. cept dodge might not work from there,
 

Hueman

Member
server/game/datablocks/cores/cores.cs

Most should take it from there.. cept dodge might not work from there,
Excellent, that did the trick.

Does anyone know if there is a way to change the distance that the warp reapears at, or to shorten the distance that the dodge core travels? I tried searching for "distance" in the various cs files but did not find what I was looking for.
 

Belberith

Legions Developer
I meant that the function is inside Legions.exe, not in the scripts. The default time that the warp core takes you back is 3 seconds, or 3000 milliseconds. To change that, put
Code:
%player.setWarpCoreTimeAmount(3000);
on line 53 of server/game/defaultGame/player.cs and change 3000 to the amount of time you want. To change how dodge core works, go to server/game/cores/dodge.cs and at the top there are several settings variables. It sounds like the one you want is DodgeDuration.
 
Top