Adding Countries
Moderators: Slitherine Core, BA Moderators
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
Adding Countries
I've managed to get Japan into the Funtions.bsf and see it as 8 in the Editor.
After that I am not having luck. I create a map with units in the Editor, what to do now to make a scenario and put it in my campaign?
After that I am not having luck. I create a map with units in the Editor, what to do now to make a scenario and put it in my campaign?
-
- Site Admin
- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- Site Admin
- Posts: 9872
- Joined: Wed Mar 23, 2005 10:35 pm
Yeah - if you want to add a new scenario to an existing campaign, you need to add an entry into the campaign.txt file. If the code doesn't find a campaign.txt file (as in when you create a clean campaign from the game) then it just lists them in the order it finds them.
Is that the issue you were seeing? If you want a BSF file you just create an appropriately named text file and off you go.
Cheers
Pip
Is that the issue you were seeing? If you want a BSF file you just create an appropriately named text file and off you go.
Cheers
Pip
-
- Site Admin
- Posts: 9872
- Joined: Wed Mar 23, 2005 10:35 pm
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- Site Admin
- Posts: 9872
- Joined: Wed Mar 23, 2005 10:35 pm
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
I edited the cvs and added Japanese_infantry by copy and paste italian_infantry. I changed the morale to 100 from 75.
If I rename the assetfilename to Japanese, the game can't find it. If I edit the icon id, it still shows italian in the editor.
I suppose this means I need to copy the bits and pieces that make up italian infantry scattered about the many folders and paste them somewhere into my campaign folder.
If I rename the assetfilename to Japanese, the game can't find it. If I edit the icon id, it still shows italian in the editor.
I suppose this means I need to copy the bits and pieces that make up italian infantry scattered about the many folders and paste them somewhere into my campaign folder.
-
- Site Admin
- Posts: 9872
- Joined: Wed Mar 23, 2005 10:35 pm
It can't find the asset because the asset doesn't exist?
Assuming you want to reuse an existing asset, your best bet would be just over-riding the texture. I seem to recall describing this in another thread, or am I mistaken? Nonetheless, just create a DATA\BATTLE\UNITTEXTURES folder and then you can rework any of the textures (copied as you say from the original install folder of the same name).
The texture names generally match up with the assets, so if you want to reuse the italian inf asset (I dount they show up a lot in the Pacific war?) then you could redraw it as Japanese infantry.
Not sure what you mean about the icon id - I'll take a look to remind me how that hooks up when I get into the office.
Cheers
Pip
Assuming you want to reuse an existing asset, your best bet would be just over-riding the texture. I seem to recall describing this in another thread, or am I mistaken? Nonetheless, just create a DATA\BATTLE\UNITTEXTURES folder and then you can rework any of the textures (copied as you say from the original install folder of the same name).
The texture names generally match up with the assets, so if you want to reuse the italian inf asset (I dount they show up a lot in the Pacific war?) then you could redraw it as Japanese infantry.
Not sure what you mean about the icon id - I'll take a look to remind me how that hooks up when I get into the office.
Cheers
Pip
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
Rather than create a new tank 3D model I thought to use the caro armato M13 as a substitute for the Ha Go
http://www3.plala.or.jp/takihome/ha-go.htm
and the Italian infantry uniform is close enough at this view level for IJA uniform.
I hate to keep being a pest but I have never seen so many folders in a game. And don't call them directories, Windows has been around a while and people see folders in Explorer. This isn't Unix.
http://www3.plala.or.jp/takihome/ha-go.htm
and the Italian infantry uniform is close enough at this view level for IJA uniform.
I hate to keep being a pest but I have never seen so many folders in a game. And don't call them directories, Windows has been around a while and people see folders in Explorer. This isn't Unix.
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
Found out that I missed a comma at the end of the second entry on text1. There is no space in the first entry but there is in the second.
If I put the Data\Text text1.txt file in the main folder, the units are correct in the editor. But the campaign fails because it needs the text1.txt with the campaign info. If I put it in Data\Text, I get missing_ids_unitname in the battle.
I also had to copy and rename data\ui\textures\icons to have ui icons.
If I put the Data\Text text1.txt file in the main folder, the units are correct in the editor. But the campaign fails because it needs the text1.txt with the campaign info. If I put it in Data\Text, I get missing_ids_unitname in the battle.
I also had to copy and rename data\ui\textures\icons to have ui icons.
-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
-
- Site Admin
- Posts: 9872
- Joined: Wed Mar 23, 2005 10:35 pm
Sorry you had text file issues - the placement and syntax for text files is explained in the engine docs on the modding portal.
When using assets, the asset name refers to the 3D graphics file that the unit will use - this graphics file then references the texture, so renaming the textures won't work. You'll need to work on them using the original names.
Hope that helps
Pip
When using assets, the asset name refers to the 3D graphics file that the unit will use - this graphics file then references the texture, so renaming the textures won't work. You'll need to work on them using the original names.
Hope that helps
Pip