Jump to content


Problem with squad_loadout_ext: data\attrib\squadtrooper\squad_trooper.nil not found

No replies to this topic

#1 Zaragon

  • New Members
  • 1 posts

Posted 21 November 2020 - 08:23 PM

Hi All,


I use Corsix Mod Studio along with some external scripts I wrote myself to automate some changes to LUA files. My workflow is thus:


1) Use Corsix Mod Studio to dump the RGDs to LUA.

2) Run the scripts on the LUA files.

3) Use Corsix Mod Studio to compile the modified LUAs back to RGD.


This seems to work fine for most things, but I can't compile squads (sbps). This is because every squad has a reference to "attrib\sbpextensions\squad_loadout_ext", which contains the table "trooper_base", and that table's reference is "squadtrooper\squad_trooper.nil". There isn't even a folder named "squadtrooper", much less an actual file named "squad_trooper.nil". I'm assuming this is supposed to be a generic example of an ebps, since the type for "trooper_base" is always an ebps (for example, ebps\races\chaos\troops\chaos_sorceror.lua).

It looks like there is a similar reference to "squadtrooper\squad_trooper.nil" in "attrib\tables\squad_leader_detail.lua", but those seem to be the only ".nil" files referenced in the ENTIRE attribute LUAs.


Does anyone have any idea what "squadtrooper\squad_trooper.nil" should look like? Or if I can remove that value from both "attrib\tables\squad_leader_detail.lua" and "attrib\sbpextensions\squad_loadout_ext" without breaking the game?


Thanks in advance for any help that anyone can provide.

Reply to this topic


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users