Hi,
I'm trying to find where the weapon mods (accuracy, long range, etc.) actually do their game-mechanics stuff. I've gone through WEAPONS.lua and ~TECHNOLOGY.lua, but I've only found the descriptions and dependencies. I'm looking for the actual multipliers that make stuff change.
Thank you.
quick question, weapon mod location
- sven
- Site Admin
- Posts: 1621
- Joined: Sat Jan 31, 2015 10:24 pm
- Location: British Columbia, Canada
- Contact:
Re: quick question, weapon mod location
The range and accuracy stuff is in beam_attack_rolls.lua. While some of the other specials (like Enveloping), are in ship_damage.lua. If you're using visual studio, doing a "find all in files" on the string representation of the special usually finds stuff pretty easily -- but the implementations are scattered throughout the codebase, rather than cleanly centralized.akkamaddi wrote:I'm trying to find where the weapon mods (accuracy, long range, etc.) actually do their game-mechanics stuff. I've gone through WEAPONS.lua and ~TECHNOLOGY.lua, but I've only found the descriptions and dependencies. I'm looking for the actual multipliers that make stuff change.