View Full Version : Adding combat modifier to technology? Possible? In need of XML help
zup Aug 14, 2008, 04:18 PM I'll get straight to the point. I want to modify future tech so that it gives a minor cumulative bonus to all units' combat strength. The reason for this: Because highly advanced civs should have an edge over their primitive rivals. Currently there is very little real value for future tech. +health/happiness is barely marginally beneficial. Iirc this combat bonus/modifier for technology was used before but looking at civilopedia, I cannot find it. It might have been removed for game balance but if so, has the feature been removed completely from the game?
I know something of editing xml files, I have toyed around with it a little. But I have no idea what a tag to achieve the desired result would be. I cannot find anything related on the forums. So if there is an XML wizard out there I would be grateful for a little bit of assistance.
As a sidenote: Even directing me to some documentation would be useful.
Refar Aug 14, 2008, 06:20 PM I dont think there is a XML tag for this.
You might need to look in the direction of SDK moding.
primordial stew Aug 14, 2008, 09:49 PM It can be done in python too. There are some threads already on granting promotions from tech discoveries (onTechAcquired).
zup Aug 15, 2008, 03:47 AM And I was hoping for an easy way out. Can't have everything I guess. Thanks a lot anyway.
Elkad Aug 17, 2008, 03:46 AM could we globally grant XP for futuretech instead? All units gain 1xp for each futuretech?
zyphyr Aug 17, 2008, 05:57 AM An XP grant from technology can't be handled through the existing XML. It should be doable through Python (and definitely through SDK).
Aussie_Lurker Aug 17, 2008, 10:34 PM Hmmm, there are techs which grant *access* to promotions (like Gunpowder and Pinch), and I'm pretty sure that The Ancient Mediterranean Mod (TAM) has techs which *grant* promotions (like iron working="Iron Weapons" promotion). So my advice is look at their XML tags.
Aussie.
zup Aug 19, 2008, 02:11 PM But if I was to make a tech give a promotion that gave, say 1% more strength, would there be an easy way to make the game indefinitely create more levels of such promotion? Future tech 1000 should be better than future tech 900, yet manually creating the promotions would be plain insane.
Refar Aug 19, 2008, 02:19 PM Just how many future techs do you plan to research ? :crazyeye:
If you often play this kind of long-drawn games, would it not be better to add actual technologies, with actual new cool stuff on them ?
There are a few "Next War"-type modifications which go this way, maybe you want to check some out.
Aussie_Lurker Aug 19, 2008, 06:24 PM I kind of agree with Refar on that score. However, as each Future Tech grants +1 Happiness and +1 Health-surely you can have each future tech grant a promotion to your units. Having never dealt with future techs in my modding, though, I can't say for sure. Like I said-just check out the code for TAM to see what they have done in respect to technology/promotions.
Aussie.
|
|