Jump to content


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


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

jONES1979

Posted 21 March 2021 - 03:43 AM

In Corsix Mod Studio you even can execute scripts over existed RGD files. The examples are provided.


Daemonjax

Posted 13 March 2021 - 07:49 PM

I would first try making a new folder & file named "squadtrooper\squad_trooper.nil" and leaving it blank at 0 bytes.


Zaragon

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.


Review the complete topic (launches new window)