Opened 18 years ago
Closed 13 years ago
#91 closed task (fixed)
Player editor
Reported by: | Philip Taylor | Owned by: | Slawomir Zborowski |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 6 |
Component: | Atlas editor | Keywords: | |
Cc: | Slawomir Zborowski | Patch: |
Description (last modified by )
Edit number of players and their names, types (AI/human/other),civs, resources, starting location, etc.
Change History (10)
comment:1 by , 14 years ago
Milestone: | Atlas Stage 2 |
---|
comment:2 by , 14 years ago
Milestone: | → Backlog |
---|
comment:3 by , 13 years ago
I'm currently working on it. GUI not finished yet, but probably it would look like this http://img87.imageshack.us/img87/1961/screenshotplayersconfig.png
comment:4 by , 13 years ago
Patch is almost complete, but there is one weird thing about population limit. Upon saving population limit comes from player settings window. Let's say it is 100. After saving this number is present in XML map file. Then if I close map and reopen it this number changes to e.g. 154.
Function LoadPlayerSettings (binaries/data/mods/public/simulation/helpers/Player.js) still gets correct number. Then it changes somewhere inside engine and finally, when I call my function that grabs population limit I get changed value. I suppose that engine changes population limit while adding new units.
What should be done with this? It is up to me to reload correct value?
comment:5 by , 13 years ago
That sounds like a bug outside the context of your patch, as long as you write the proper value to XML, it's OK. Of course if you want to look into what's causing it, that would be awesome too :)
comment:6 by , 13 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:7 by , 13 years ago
(In [9608]) Adds player editor to Atlas scenario editor. See #91 Fixes object panel so the list of players updates correctly. Atlas map settings are now observable and shared between various panels. Fixes panels for maps missing settings (caused JSON error) Changes map reader so that entities with invalid players cause a warning but are not added to the game. That prevents further errors. Fixes #869 Uses map size choices from simulation/data/map_sizes.json instead of multiple locations. Fixes #787 Prepares Atlas map settings for undo/redo support
comment:8 by , 13 years ago
Milestone: | Backlog → Alpha 6 |
---|
comment:9 by , 13 years ago
Description: | modified (diff) |
---|
comment:10 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Milestone Atlas Stage 2 deleted