increase command point limit in official maps
#1
Posted 13 November 2012 - 05:56 PM
#2
Posted 13 November 2012 - 08:02 PM
"Everyone's a hero when there's nowhere left to run."
- Auxiliary Skarn, 2333rd Cohort
#3
Posted 13 November 2012 - 08:32 PM
p.s: You know what. I really want to build a big army And i want to fight a lot of troops, like in the film...but i see that the ia (1 ai brutal) doesnt build a lot of units...i tried now, a custom map with 5000 cp and i faced after 25 min, just 11 units at once. 3 troll 2 mumakil and 7 hordes....but i want more......i want to face really big and huge armies! Cuz i love to play in a fortress...how can i do to "teach" to ia to build huge armies?
So actually i have now 2 questions
1) The main question of my topic
2) How can i do to tell to ia to build huge armies?
Edited by vegetassj2345, 13 November 2012 - 08:36 PM.
#4
Posted 13 November 2012 - 09:27 PM
For number one, the easiest way to change the CP limit is (in my mind) just to tweak it in gamedata.ini. Simple and effective.
Edited by acidRain, 13 November 2012 - 09:27 PM.
#5
Posted 14 November 2012 - 12:11 PM
1) i changed the command point limit and yes i can buid more units but just in custom maps not in normal maps....in normal standard ea maps i have the 1000 cp limit.So my question is how can i change this limit for standard ea maps???
2) i'm not so expert in modding or better i can mod but with detalied explanations...so maybe how can i shrink the ai radius? can u tell me step by step how to do this? maybe i can also tell the ai to build 5 troll cages instead of two so with more resource buildings and more troop buildings the ai can produce a really huge amount of units? (if this is a good idea i would want also for this a step by step explanation)
Thanks for the explanation?
Edited by vegetassj2345, 14 November 2012 - 12:14 PM.
#6
Posted 15 November 2012 - 11:57 PM
yeah but there is a problem.
1) i changed the command point limit and yes i can buid more units but just in custom maps not in normal maps....in normal standard ea maps i have the 1000 cp limit.So my question is how can i change this limit for standard ea maps???
You could change the limit in the game. Before launching the map, allow more commandpoints in the menu.
- acidRain likes this
#7
Posted 16 November 2012 - 11:28 PM
You could change the limit in the game. Before launching the map, allow more commandpoints in the menu.
True. You can also enable "unlimited" command points (100X is essentially unlimited) on the in-game menu.
As to changing the radius of the resource builder, you have to go into the resource-builder code and find this:
Behavior = TerrainResourceBehavior ModuleTag_NewMoney Radius = SH_GENERIC_RESOURCE_GATHERER_RADIUS MaxIncome = SH_GENERIC_RESOURCE_GATHERER_MONEY_AMOUNT IncomeInterval = SH_GENERIC_RESOURCE_GATHERER_MONEY_TIME Upgrade = Upgrade_MarketplaceUpgradeGrandHarvest UpgradeBonusPercent = SH_GONDOR_GRANDHARVEST_PRODUCTION_INCREASE % UpgradeMustBePresent = ANY +GondorMarketPlace End
Here, I've replaced the gathering radius (the amount of space on the map that each resource-builder takes up) with my own value; I've done the same with the money amount and how much time the money takes to spawn. Every single resource builder in my mod (on good and evil sides) uses these values. To change the radius to make it smaller (the default value is 300, I think), just knock the number down to 150 or even 100. Both you and the AI will be able to put down more.
As to editing what the AI actually builds (five troll cages, for instance)...I'm not so very experienced with AI scripting. I'd advise looking up AI-scripting tutorials.
#8
Posted 15 December 2012 - 04:38 PM
But I'm not sure this would solve your problem, I think the AI would just build less, as in skirmishaidata.ini there are some percentages about how much cp the AI should spend in each unit in each phase of the game.
(The sky has fallen)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users