Laser crystals switching for pew pew

Sethric

Active Member
Ok, so this is info for creating a script for amarr chars that use lasers. I will name it the 'Red Baron' script unless someone comes up with a cooler name.

some data:

Crystal range mod:
radio +60
microwave +40
infrared +20
standard +0
ultraviolet -12.5
xray -25
gamma -37.5
multifrequency -50

I will add the faction and specialization crystals infos later.

to determine gun range, you want to do gun range - current crystal modifier range.
so it will be 'optimal range(will include your skills and current crystal)+falloff(includes your skills)

pertinant examples of crystal info and switching in obj_ship.iss in evebot core:

member:float MiningAmountPerLaser()
member:string LoadedMiningLaserCrystal(string SlotName)
This.ModuleList_MiningLaser:GetIteratorModule]
function ChangeMiningLaserCrystal(string OreType, string SlotName)
if ${Module.Value.SpecialtyCrystalMiningAmount(exists)}
call This.ChangeMiningLaserCrystal "${OreType}" ${Slot}
 

Sethric

Active Member
so it's going to be like,

currentoptimal=(optimalrange-currentcrystal)
with a spread of accuracyfalloff

and then some kind of slushy delay that doesnt swap crystals every 2 seconds.
 
Top Bottom