Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
Just trying to understand the base mechanism for modding purposes:
- This happens at the SUPER_UNHAPPY_THRESHOLD (=-20), correct?
- Is there any effect on revolt of additional unhappiness beyond the threshold?
- Is there any effect on anything that is not threshold based?
- Can anyone explain the revolt constants: REVOLT_COUNTER_MIN (=4), REVOLT_COUNTER_POSSIBLE (=3), REVOLT_NUM_BASE (=100), REVOLT_NUM_CITY_COUNT(=20)? (others?)
- Can any of these values be changed on the fly from Lua? (I looked under player methods but didn't find anything)
- Is there an easy way to immediately identify (via Lua) a new revolting unit? I assume it will fire the SerialEventUnitCreated event, but how can I tell it from normal barb units?