Topic: loading of tribes
Ron_of_Nord![]() Topic Opener |
Posted at: 2025-03-17, 07:36
I have a question that I'm unsure of where it should go as it happens both with the game and the map editor, so i' ll put it here. When the map editor starts, it seems to load all the tribe's graphics ( workers, buildings etc) as it starts, I also have noticed this with some maps in the main game when I know those tribes are not being used, my question is why ? Why does the map editor load tribes graphics when they are not used creating/editing a map ? Why does the game load tribe graphics ( workers etc ) that are not needed ? I know there is more than one question above,but they are all related. I can't understand why such loading should be necessary. The aussies are coming, ya ho! ya ho! ![]() ![]() |
Nordfriese![]() |
Posted at: 2025-03-17, 10:14
If I remember correctly, the tribes are being loaded because the editor already creates the instances for all players in the map. An editor instance is basically a game with some features disabled and others added, so it needs its Players, and each Player needs a Tribe. Not creating any players and instead treating them as an abstract set of values ![]() ![]() |
Nordfriese![]() |
Posted at: 2025-03-17, 10:17
In the game, only the tribes in use are actually loaded. Note however that if you have any add-ons enabled that modify the existing tribes, these add-ons have no way of knowing which tribes are "needed" and always load all tribes they can modify, so add-ons can possibly load unused tribes. ![]() ![]() |
kaputtnik![]() |
Posted at: 2025-03-17, 15:40
And maybe, some time, the editor becomes functionality for creating scenario's ![]() ![]() |
Ron_of_Nord![]() Topic Opener |
Posted at: 2025-03-17, 21:34
I wasn't fully aware of how the editor works, I'll have to have a more indepth look into it's code, but as you said, if it works why change it.
I will have a further look at the addon's. I don't have many, so I will have a look at how they modify things.
Something to look forward to. was edited by janus Edited: 2025-03-18, 09:22
The aussies are coming, ya ho! ya ho! ![]() ![]() |
Ron_of_Nord![]() Topic Opener |
Posted at: Yesterday 01:13
Sorry Janus for the original state of my post , I had to cut and paste a lot. I'll know better next time The aussies are coming, ya ho! ya ho! ![]() ![]() |