Adding French infantry, scout error

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
rf900
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 339
Joined: Fri May 04, 2012 6:59 am

Adding French infantry, scout error

Post by rf900 »

Hi

I have taken a few units from the squads file of one of the expansions. The French Corps works fine, but when trying to add a French infantry unit or Scout in the map it says an error about missing french_infantry_0 or something similar. Any hints?
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: Adding French infantry, scout error

Post by pipfromslitherine »

Frenchinfantry_0.s4f is in the main game units folder, so you should check the filename against that. It might be that it is a unit which was never actually used, and which got left in by mistake.

Can you tell me the precise unit and the error message (the error should be mirrored into the error.log file).

Cheers

Pip
rf900
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 339
Joined: Fri May 04, 2012 6:59 am

Re: Adding French infantry, scout error

Post by rf900 »

Ok, it was just a naming issue, the name in the squads file is looking for french_infantry with the underscore separator. Thanks, you have done a great job with the modding capabilities of this game, so flexible and your help is superb.
Post Reply

Return to “Battle Academy : Modders Corner ”