Page 1 of 1

The Greatest Modding Question of All Time - Please Help

Posted: Sun May 15, 2011 10:49 pm
by Hancock the Superb
To start off, I hope that what I'm doing sparks some interest first of all.

Second of all, I would appreciate the NorbSoftDev Team to come take a look at this - for I believe that they have the best answers for this.

I am attempting to create a mod that performs at company level - so regiments become companies, brigades become regiments, etc. I have put a lot of time into dissecting formations and am now attempting to replicate them in the drills.csv file. Unfortunately, the game engine doesn't like my style. I'm trying to make it so the companies have fixed ends, but a middle that can have as many privates as it wants in it. Thus I have created this nasty looking drills file that I would like looked over.

Please download the mod files and test out the scenario first, then, look at the drills and the gui and tell me how to fix the game while still maintaining my formations, if possible.

I appreciate everyone's help, so even if you know nothing of this, feel free to download and tinker around.

Thanks.

Re: The Greatest Modding Question of All Time - Please Help

Posted: Sun May 15, 2011 11:27 pm
by ADukes
When the game loads in the formation, it looks in a specific order to determine who to line up on for each slot. First it looks to see if it's behind a lower number, then it looks to see if it's to the right of a lower number, then to the left, and finally ahead. It does not look to find the lowest number that it's around; it looks in the above order. If it cannot find a lower number, then the formation fails.

Re: The Greatest Modding Question of All Time - Please Help

Posted: Mon May 16, 2011 1:25 am
by Hancock the Superb
I understood that part, but I was wondering if there was a way to get around it...

A suggestion perhaps would be welcome, unless it is impossible.

Re: The Greatest Modding Question of All Time - Please Help

Posted: Thu May 19, 2011 5:02 am
by Jim
No the game only populates formations in that exact sequence. Here you must work with the system and not around it. This is such a core function that it must be simple and efficient as this code runs a lot.

-Jim