quick question, weapon mod location

A place for discussion of making game modifications.
akkamaddi
Posts: 147
Joined: Tue Sep 26, 2017 5:11 am

quick question, weapon mod location

Postby akkamaddi » Sun Dec 17, 2017 12:17 am

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.

User avatar
sven
Site Admin
Posts: 1621
Joined: Sat Jan 31, 2015 10:24 pm
Location: British Columbia, Canada
Contact:

Re: quick question, weapon mod location

Postby sven » Sun Dec 17, 2017 5:39 pm

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.


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.


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 32 guests