Coding Required for the Warp Cores

tofuman64

Member
I am REALLY interested in how the warp cores were coded into legions. Could a dev, preferably a coder, fill me in?
 

Volt Cruelerz

Legions Developer
coresHud.gui contains the functions which operates the hud element, not the core itself. cores.cs has more what you're looking for ;)
 

Poponfu

Lead Developer
cores.cs is alot of the logic for how it gets used and where art gets called. Triad exposed variables to players , the meat of it however is in the engine. It is logging every player who has a warp core postition/velocity every .2 seconds.
 

tofuman64

Member
cores.cs is alot of the logic for how it gets used and where art gets called. Triad exposed variables to players , the meat of it however is in the engine. It is logging every player who has a warp core postition/velocity every .2 seconds.

ahh thats what i suspected it to be. Does that place any considerable overhead on ticking?
 

Defender

Member
ahh thats what i suspected it to be. Does that place any considerable overhead on ticking?

From my experience, as a modder that used a few looping functions in my tribes2 mods.
I say no, unless some how everyone on a large server with a crap load of players used it at the same time.
Only way to find out I guess, is to get a bunch of players on, have them all use it at the same time..;)
 
Top