|
Post by skrag on Mar 4, 2010 14:37:42 GMT -6
Say Mantera, in your mod you've given the AI extra resources of gold, beer and crystals to help it compete with the player, right? Could you tell me which files and numbers you modified to do this?
|
|
|
Post by Boaster on Mar 4, 2010 17:50:46 GMT -6
Say Mantera, in your mod you've given the AI extra resources of gold, beer and crystals to help it compete with the player, right? Could you tell me which files and numbers you modified to do this? I think they're in 'gs\scenario.gs'.
|
|
|
Post by skrag on Mar 5, 2010 7:53:15 GMT -6
OK I found this:
p iscomputer? ; PLAYER IS AI CONTROLLED { ; PLAYER IS COMPUTER f DEATH eq p getplayeraistatus 0 eq and { ; IS DEATH /starting_gold 2500 def /starting_crystals 2500 def /starting_ale 2500 def } { ; IS NOT DEATH getdifficultylevel EASY_LEVEL eq { ; EASY MODE /starting_gold 100 def /starting_crystals 100 def /starting_ale 100 def } { getdifficultylevel MEDIUM_LEVEL eq { ; MEDIUM MODE /starting_gold 150 def /starting_crystals 150 def /starting_ale 150 def } { ; HARD MODE /starting_gold 250 def /starting_crystals 250 def /starting_ale 250 def }ifelse }ifelse }ifelse getmultiplayerflag p getplayerneutralstatus 0 eq not and ; NEUTRAL STATUS IS NOT ACTIVE ; 0 = NOT NEUTRAL (IS ACTIVE). ; 1 = IS NEUTRAL (NOT ACTIVE). { /starting_gold starting_gold 2 idiv def /starting_crystals starting_ale 2 idiv def /starting_ale starting_ale 2 idiv def }if p get_opposite_player getplayeraistatus 0 eq f DEATH eq not and ; IS PLAYER OPPOSITE TO CURRENT PLAYER HUMAN CONTROLLED { ; INCREASE RESOURCES OF AI PLAYER OPPOSITE TO HUMAN PLAYER. /starting_gold starting_gold 10 mul def /starting_crystals starting_ale 10 mul def /starting_ale starting_ale 10 mul def }if }if
I assume the bit at the end multiplies the starting resources of your opposite faith by 10.
I plan to increase AI starting resources by something crazy like a few million, do you think this would make the game more challenging? I think I might try it out for a laugh anyway.
Is there any code which gives the AI extra resources per turn rather than just starting?
|
|
|
Post by Boaster on Mar 5, 2010 10:52:29 GMT -6
When it is the other players' turns, you can type bingo and they receive the +2000 to all resources.
|
|
|
Post by skrag on Mar 8, 2010 13:43:15 GMT -6
Started a new game, gave everyone a +10,000 resource advantage, with all enemy lords as level 15 warriors. At turn 100, so far it's been pretty crazy. Every faith has loads of huge armies, and I regret making enemies of everyone (i'm Fire) - my capital gets assaulted regularly with huge attacks from all the AI players. Saw for the first time a large Chaos army moving around the map with a Hydra.
Well, its definitely made the game harder, if a bit frustrating with the constant defending.
|
|