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.
The Greatest Modding Question of All Time - Please Help
-
- Reactions:
- Posts: 1436
- Joined: Thu Aug 21, 2008 9:06 am
The Greatest Modding Question of All Time - Please Help
- Attachments
-
- CompanyMod.zip
- (17.92 KiB) Downloaded 5 times
Hancock the Superb
Re: The Greatest Modding Question of All Time - Please Help
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.
-
- Reactions:
- Posts: 1436
- Joined: Thu Aug 21, 2008 9:06 am
Re: The Greatest Modding Question of All Time - Please Help
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.
A suggestion perhaps would be welcome, unless it is impossible.
Hancock the Superb
Re: The Greatest Modding Question of All Time - Please Help
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
-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863