deafhandaxes
Chieftain
- Joined
- Oct 25, 2014
- Messages
- 7
Hi,
So I'm writing a mod to turn barbarian camps into civilizations after a reasonable amount of time. New civilizations are added and act just like normal civs, but I have a couple of issues, the only game-breaking one is that it is impossible to declare war on a new civ.
Team.CanDeclareWar(TeamID team) returns false when asked a bout a new civ, but there seems to be no method that would allow me to change this. A "SetCanDeclareWar" method would have been nice.
Anyone know how to change this?
Details about adding civs:
Other than the fact that the new civs can't be DOW'd the mod seems to mostly work fine.
Some minor issues:
I have taken a couple of hints from this post
So I'm writing a mod to turn barbarian camps into civilizations after a reasonable amount of time. New civilizations are added and act just like normal civs, but I have a couple of issues, the only game-breaking one is that it is impossible to declare war on a new civ.
Team.CanDeclareWar(TeamID team) returns false when asked a bout a new civ, but there seems to be no method that would allow me to change this. A "SetCanDeclareWar" method would have been nice.
Anyone know how to change this?
Details about adding civs:
- I add new civs by using Game.AddPlayer
- I make sure that the new civs are in separate teams
Other than the fact that the new civs can't be DOW'd the mod seems to mostly work fine.
Some minor issues:
- Leader Diplo screen is missing. It appears if I save and load again. Is there a place to initialize this?
- New Players have 0 score throughout whole game
I have taken a couple of hints from this post