So I'm guessing... you can't do something like in Rome Total War where you could make a campaign map from a smaller part of a larger map (ie. make an Aegean only map from the larger all-Europe map)?
So I'm guessing... you can't do something like in Rome Total War where you could make a campaign map from a smaller part of a larger map (ie. make an Aegean only map from the larger all-Europe map)?
Lord de Lancey / Harlechman
Zulu Total War Team
I've been conducting some more research in the campaign pathfinder. I noticed that in the startpos while the fort_obstacle entries contained coordinates the obstacle_base_grid_node entries did not. I initially though the lack of coordinates meant that they weren't related to anything on the map but I now think they use a different system to tell ETW where everything is located.
Below is an obstacle_base_grid_node entry.
I believe that rather than use coordinates the obstacle_base_grid_node entries and managed_obstacle_boundary entries use grids created by the pathfinding.esf to tell ETW where everything is. So 1796, 2359, 2547, and 58 refer to 4 grids in the Indian theatre. Also the 1 or 0 immediately after the managed_obstacle_boundary entry probably indicated whether there is something in this grid. I don't know what the 9 digit numbers represent but they are repeated a lot.Code:<rec type='OBSTACLE_BASE_GRID_NODE'> <u>1796</u> <u>3</u> <ary type='MANAGED_OBSTACLE_BOUNDARY'> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <u>2359</u> <u>1</u> <yes/> <u4_ary>580745538 1</u4_ary> </rec> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <u>2547</u> <u>1</u> <yes/> <u4_ary>580702690 0 580745538 1</u4_ary> </rec> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <u>58</u> <u>0</u> <yes/> <u4_ary>580702690 0</u4_ary> </rec> </ary> <ary type='MANAGED_OBSTACLE_BOUNDARY'> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <yes/> <u4_ary>580745538 1</u4_ary> </rec> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <yes/> <u4_ary>580702690 0</u4_ary> </rec> <rec type='MANAGED_OBSTACLE_BOUNDARY'> <yes/> <u4_ary>580702690 0 580745538 1</u4_ary> </rec> </ary> </rec>
As I couldn't find an entry higher than 7886 this is probably the number of grids in India. As India is 240 x 260 pixels this means each grid is 2.7 x 2.9 pixels and has an area of 7.9 pixels^2.
UPDATE: the vertices in the pathfinfing.esf use large map coordinates that correspond to the theatre they're located in. So the first pathfinding_Areas/vertices contains large map coordinates for the Indonesia theatre, the second contains coordinates for the American theatre, etc. These coordinates don't correspond to any specific point on the map, such as settlements or towns, and are probably used to divide each theatre into various grids. As many of the coordinates are negative I believe that they're converted into another format for the campaign_pathfinding because the campaign_pathfinding cannot cope with negative numbers.
The large blocks of numbers in the startpos obstacle boundary aren't random, they follow a specific pattern. For example this code from the Indonesia threatre:
Means thisCode:1 2400256257 4194304 30 0 1 2400256257 4194304 31 0 1 2400256257 4194304 32 0 2 2266038529 6291456 219217928 6291457 33 0 2 2147483905 6291458 2400256264 6291459 34 0 1 2400256264 4194304 35 0 2 2266038536 6291460 2 4290773004 36 0 5 2147483912 6291461 2 4290773016 68157441 6291462 220266504 6291463 16842760 6291464 37 0 2 1 6291465 2400257544 6291466 38 0 1 2400256264 4194304 39 0 1 2400256264 6291467 40 0 2 2383413512 6291468 16842753 6291469 41 0 1 2366701825 6291470 42 0 1 2400256257 4194304 43 0 1 2400256257 4194304 44 0 1 2400256257 4194304 45 0 1 4279304465 4194304 65566 0 1 4279304465 4194304 65567 0 1 4279304465 4194304 65568 0 2 3054502161 6291471 1829830680 6291472 65569 0 1 4279304472 4194304 65570 0 1 4279304472 4194304 65571 0 3 3054502168 4194333 2 4290773029 16842752 50 65572 0 5 2 4292870161 2164392448 63 2 4290773062 536870929 6291474 1627455528 6291475 65573 0 4 4043375128 4194384 2 4290773079 2216689920 96 2 4290773095 65574 0 2 4245750040 4194412 2 4290773106 65575 0 1 4279304472 4194304 65576 0 1 3205562648 4194304 65577 0 2 2517631240 6291476 1829830673 6291477 65578 0 1 4279304465 4194304 65579 0 1 4279304465 4194304 65580 0 1 4279304465 4194304 65581 0 1 4279304465 4194304 131102 0 1 4279304465 4194304 131103 0 1 4279304465 4194304 131104
I'm unsure what these numbers mean but '30 0' seems to be the entry number, '1' is the number of entries, and '2400256257 419430' is an entry. 2400256257 appears several times in the pathfinding.esf/pathfinding_areas/grid_data but 4194304 doesn't. So far I've only found 4194304 as a negative number in the pathfinding_areas/vertices.Code:1 2400256257 4194304 30 0 1 2400256257 4194304 31 0 1 2400256257 4194304 32 0 2 2266038529 6291456 219217928 6291457 33 0 2 2147483905 6291458 2400256264 6291459 34 0 1 2400256264 4194304 35 0 2 2266038536 6291460 2 4290773004 36 0 5 2147483912 6291461 2 4290773016 68157441 6291462 220266504 6291463 16842760 6291464 37 0 2 1 6291465 2400257544 6291466 38 0 1 2400256264 4194304 39 0 1 2400256264 6291467 40 0 2 2383413512 6291468 16842753 6291469 41 0 1 2366701825 6291470 42 0 1 2400256257 4194304 43 0 1 2400256257 4194304 44 0 1 2400256257 4194304 45 0 1 4279304465 4194304 65566 0 1 4279304465 4194304 65567 0 1 4279304465 4194304 65568 0 2 3054502161 6291471 1829830680 6291472 65569 0 1 4279304472 4194304 65570 0 1 4279304472 4194304 65571 0 3 3054502168 4194333 2 4290773029 16842752 50 65572 0 5 2 4292870161 2164392448 63 2 4290773062 536870929 6291474 1627455528 6291475 65573 0 4 4043375128 4194384 2 4290773079 2216689920 96 2 4290773095 65574 0 2 4245750040 4194412 2 4290773106 65575 0 1 4279304472 4194304 65576 0 1 3205562648 4194304 65577 0 2 2517631240 6291476 1829830673 6291477 65578 0 1 4279304465 4194304 65579 0 1 4279304465 4194304 65580 0 1 4279304465 4194304 65581 0 1 4279304465 4194304 131102 0 1 4279304465 4194304 131103 0 1 4279304465 4194304 131104
Last edited by uanime5; January 08, 2011 at 07:39 AM.
Morning Sun (adds Korea and China to the Shogun 2 map)
http://www.twcenter.net/forums/forum...28-Morning-Sun
Expanded Japan mod (97 new regions and 101 new factions)
http://www.twcenter.net/forums/showt...ew-factions%29
How to split a region in TWS2
http://www.twcenter.net/forums/showt...split-a-region
Eras Total Conquest 2.3 (12 campaigns from 970-1547)
There are some interesting files about the maps in testdata.pack does somebody know what they do?
Spoiler Alert, click show to read:
Those maps explain the extra factions and the indian one matches the one that I've already uploaded where we can see a extra region in the south.
Spoiler Alert, click show to read:
Those guys from CA could have made a much better game than this one that we have
Edit: what does the 'theatre_map.luac' do?
Last edited by ForteS; December 29, 2010 at 07:08 PM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
This looks like resource/City/town placements as far as I can tell... Looks a little bit like RTW/MTW2 way of marking the cities on a 2-D map, but in this case it is only the markers.
Just a crazy though, but has anyone tried placing these maps on top of each other in layers through photoshop?
And a even crazier thought.... What if the developers made the map that way? Simulare to how RTW/M2TW was done, but packed together into these Pack.files and divided up for each different element (Sea Borders, Town Placements, Height)? The game then recognizes them and recombines them with the ESF files giving values to the marked region.
Last edited by Pikemen; December 29, 2010 at 07:05 PM.
"Aye Sir?" - Stronghold
EVGA GTX 295
i7 920
6 GB DDR3 @1600
HAF 932 Full Gaming Tower Case
1.5 TB HD W/ 7200 rpm
I never beg for ReP... I just ask for it
----------------------------------
Looks like CA half did the map because this was the originally planned map:
![]()
Of course CA is using a more intuitive way of placing towns and borders then typing those coordinates in the esf files.And a even crazier thought.... What if the developers made the map that way? Simulare to how RTW/M2TW was done, but packed together into these Pack.files and divided up for each different element (Sea Borders, Town Placements, Height)? The game then recognizes them and recombines them with the ESF files giving values to the marked region.
But before creating a tool you have to know where the esf stores the information and how.
But it's obvious that for useful map creating in empire you will need a 3D software mabye also some GIS data, the times were gimp was enough have ended.
I own 3ds Max and it can't open stpd files.WarriorOne talked about the world_.stpd and world_stpi in this thread:
http://www.twcenter.net/forums/showt...56#post4718356
It's possible that you may be able to open or edit these files with Autodesk 3ds Max (they have a free trial). Unsure how useful these files are but I do know that ETW won't load the campaign without the supertexture.pack.
I also couldn't open it with a model converter which could open stp files, so there is a difference, too.
But the post below, with the vector data etc, is interesting since this also fits with Taws experience the region.esf is full with vector data.
So many things are pointing to the direction that CA is using GIS data for the map.
Strange... there are two models called of 'world' and 'mountains' in testdata.pack, they are rigid_mesh files however 'ETW Model Converter' can't open them... it opens 'towns' and 'forest_boundary_marker' but why not those other two?...are they hard coded?
Edit: it also doesn't open 'westerneuborders.RIGID_MESH', 'victory_side_material.RIGID_MESH' and 'test.RIGID_MESH', in fact there are much more files in there that we can't open, files that might be important... and I'm not only talking about RIGID_MESH files, that pack seem to have lots of information.
Also I've notified that towns.RIGID_MESH makes reference of all existing slots even the ones that are in cities and I still believe that the reason of the black areas is in supertextures.pack so i think that need to find a way to open those files.
Edit2: About the black areas i still thinking that the black is the texture of those areas that would explain why we can see snow if we change the height map. Those textures are much probably in supertextures.pack thought this is just my opinion.
obs: just like Primergy I've tried to open the two files in supertextures.pack with a stp editor but it didn't work.
Last edited by ForteS; December 30, 2010 at 10:40 AM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
Some more Pictures on the heightmap.
Spoiler Alert, click show to read:
Does that make terrain impassable, or not?
After learning that each NTW campaign has its own stpd and stpdi files I decided to swap these files round and see what happened. Below are the results.
Italy campaign with the Egypt campaign's stpd and stpdi files
The stpd and stpdi files affect where the sea is on the map. But not the trees, rivers, or settlements. It doesn't seems to control the fog of war.
Spoiler Alert, click show to read:
Though this is only cosmetic as characters can walk through any area not defined as seas in the regions.esf.
Spoiler Alert, click show to read:
Also controls where the borders are located.
Spoiler Alert, click show to read:
Italy campaign with the Europe campaign's stpd and stpdi files
Inside the campaign
Spoiler Alert, click show to read:
Outside the campaign
Spoiler Alert, click show to read:
What this means for mapping
If you can't make new stpd and stpdi files you can't make a new map because you won't be able to control where the sea is located. You'll also can't go beyond the vanilla campaign borders.
Last edited by uanime5; December 30, 2010 at 04:12 PM.
Morning Sun (adds Korea and China to the Shogun 2 map)
http://www.twcenter.net/forums/forum...28-Morning-Sun
Expanded Japan mod (97 new regions and 101 new factions)
http://www.twcenter.net/forums/showt...ew-factions%29
How to split a region in TWS2
http://www.twcenter.net/forums/showt...split-a-region
Eras Total Conquest 2.3 (12 campaigns from 970-1547)
I don't have the word 'impossible' in my dictionary but with taw saying that much probably we'll never be able to edit those files, i think we can say bye bye to China, Brasil, etc
It has to be a way to edit those files, CA says that E:TW is easy to mod so we can not surrender.
Last edited by ForteS; December 30, 2010 at 04:20 PM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
Well, those regions are already implemented (only hidden by the black), mabye they are also fully implemented regarding coastlines, seas, textures etc (what those stpd/stpid files seam to control) so a China mod till Christmas might be still possible.
Maps which might be impossible would be Maps for "Zoom Mods" (similar to the maps of NTW, enlarged versions of an area) or Total Conversions with fictional maps eg middle earth ones.
Well, maybe ( and i hope so) you are right, but for that we still need to change the black areas, that might be in those stp* files right? By the way you mean next Christmas right?
Edit: imagining that the black areas aren't in the stp* files so where else can they be? are they so hard coded that we still unable to found them?![]()
Last edited by ForteS; December 30, 2010 at 04:40 PM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
If by modding CA meant units retexturing , then yes... it is easy to mod ETW.
Btw I was thinking that perhaps the map modding tools we are looking for are the type of creating xml which then can be finally converted in game's file like esf with taw's tool. Xml could be fed with data by a program like QGis or such. That means that maybe we think backwards...
Last edited by ForteS; December 30, 2010 at 08:51 PM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
If these areas are available they'll probably be like Arabia or the Red Sea. Though they'll be separated into land regions and seas they won't have any textures or trees (we'll have to add these).
If we can't edit the stpd and stpi files we can't change where the sea is. So we're limited to Europe shaped maps. Fortunately changing the stpd and stpi files in NTW didn't prevent units from leaving settlements so it should be possible to add, remove, and move settlements without remaking these files.Maps which might be impossible would be Maps for "Zoom Mods" (similar to the maps of NTW, enlarged versions of an area) or Total Conversions with fictional maps eg middle earth ones.
The black area are in the stp* files. When I used the Egypt campaign's stp* files in the Europe campaign most of the map was black.
I think you're right Fortes. Lets create a list of everything we know, send it to the CA staff, and ask them if they can give us any help figuring out what we need to do.
I'll start on the list in the next post, feel free to contribute. I don't know what the 'CAI_world_units' does; is this units roaming around the map or does it represent each type of unit?
Last edited by uanime5; December 31, 2010 at 08:12 AM.
Morning Sun (adds Korea and China to the Shogun 2 map)
http://www.twcenter.net/forums/forum...28-Morning-Sun
Expanded Japan mod (97 new regions and 101 new factions)
http://www.twcenter.net/forums/showt...ew-factions%29
How to split a region in TWS2
http://www.twcenter.net/forums/showt...split-a-region
Eras Total Conquest 2.3 (12 campaigns from 970-1547)
What we currently know
Poi.esf
Spoiler Alert, click show to read:
Regions.esf
Spoiler Alert, click show to read:
Sea_grids.esf
Spoiler Alert, click show to read:
Startpos.esf
Spoiler Alert, click show to read:
Trade_routes.esf
Spoiler Alert, click show to read:
stp* files (supertexture.pack)
Spoiler Alert, click show to read:
Moving a settlement/town/port/resource within a region
Spoiler Alert, click show to read:
Adding a new town/port/resource to a region
Spoiler Alert, click show to read:
Last edited by uanime5; January 02, 2011 at 08:14 AM.
Morning Sun (adds Korea and China to the Shogun 2 map)
http://www.twcenter.net/forums/forum...28-Morning-Sun
Expanded Japan mod (97 new regions and 101 new factions)
http://www.twcenter.net/forums/showt...ew-factions%29
How to split a region in TWS2
http://www.twcenter.net/forums/showt...split-a-region
Eras Total Conquest 2.3 (12 campaigns from 970-1547)
- The height map determines the height of the land.
This files are related to the map but i don't know what is their effect in game:
- coastline.rigid.mesh
- towns.rigid_mesh -> makes reference to all slots in the map
- forest_boundary_marker.rigid_mesh
- land.rigid_mesh
There are more but the ones above are the only ones that I've been able to open.
main.pack
- campaign_map_playable_areas_tables -> list of all theaters
- campaign_map_settlements_tables -> list of all settlements
- campaign_map_towns_and_ports_tables -> list of all ports/towns
- campaign_map_slots_tables -> list of slots (corn, timber, silver, etc), region where they belong
- regions_continents_tables -> list of continents
- regions_tables -> list of regions, and to which continent they belong
----
note:
Having a look at models.pack I've found the gold things that surround the theaters transitions areas:
models.pack\db\campaignprops\campaignprops\campaignprops
...updating...
Last edited by ForteS; December 31, 2010 at 11:15 AM.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!