#1183 closed defect (invalid)
Add player team information to "PlayerData" for random maps
Reported by: | O.Davoodi | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | team, random, map |
Cc: | Patch: |
Description
We need the team information if we want to place allied players near each other. Currently PlayerData only contains civ name.
Change History (3)
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I am using atlas's generator which didn't work. But the data you posted showed something interesting. "None" is considered -1. Oddly enough Atlas didn't recognize "Team" for "PlayerData" before but when I placed the function into library.js, it did. Now that I changed the function as you said, it is working. ticket closed.
comment:3 by , 12 years ago
Milestone: | Alpha 10 |
---|
Note:
See TracTickets
for help on using tickets.
Hmm, not sure what you mean. I've just tested and
g_MapSettings.PlayerData
looks like this (tested inlatium.js
):Are you using autostart by chance, or going through menus?