View Single Post
  #3  
Old 02-18-2021, 05:28 PM
The_Grim_Sleeper The_Grim_Sleeper is offline
Approved Member
 
Join Date: Sep 2010
Posts: 6
Default

Road blocks resolved!

So it turns out that these unit abilities and talents are coded all over the place.
For example, the 'run' talent is partially set inside the unit's .atom file, and partly in the unit_special_attacks.lua.
And those 'unit commander' abilities are mentioned in the .atom file, but those are just for show; the real moral parameters are found in the moral.txt and the &%^# unit_moral.lua doesn't seem to do anything apart from writing a nifty tooltip.
The actual code that translates the stat:moral to an combat effect is 'somewhere' in the arena.lua... but I have no clue as to how it works.

Still no idea howto reach our comrades... if you are one of them and are reading this, Priviet! I think.
Reply With Quote