A little help with WB scenario.....

r_rolo1

King of myself
Joined
May 19, 2006
Messages
13,818
Location
Lisbon, Portugal
I started some time ago doing some WB scenarios for games in the Strategy and tips section, but I have encountered some problems with the level defined utins and techs.....

Take this as a example... If I try to load it in a level above Noble:

-AI will not receive Free techs
-AI will not receive archers ( but receives extra warriors/scouts and settlers )

Can someone point out what I'm doing wrong here, please?
 
I think if you try a level below noble, you will also not receive any free techs. I didn't tried on your Scenario, but thats how it works in stock scenrios delivered with Vanilla, WL and BTS.
Because - AFAIK - in a scenario with preselcted and placed Civ's, you must also preselect the techs they get at the start of the scenario. (I guess, because the starting techs are handed out in the moment a Civ is chosen to be in game, and a Scenario where those are preselected is past that point...)
Meaning you can't make it right for all difficulties.

The Archers are defined as "FreeDefensiveUnits" (or something similar) in the HandicapInfo - so they are not specifically archers - just the best defensive unit from known techs.

So the AI not receiving Archers is cused by AI not having Archery (because not receiving free tech) - they will get the same number of Warriors instead.
 
Because - AFAIK - in a scenario with preselcted and placed Civ's, you must also preselect the techs they get at the start of the scenario. (I guess, because the starting techs are handed out in the moment a Civ is chosen to be in game, and a Scenario where those are preselected is past that point...)
I've been PMing Dale about this and he said this:
Dale said:
You can define what techs a Civ starts with in four ways.

1. The techs defined in Civ4CivilizationInfos.xml are the techs that civ inherently knows.
2. The WBS file allows you to define what techs a team knows, regardless of the techs a civ knows.
3. The techs defined in Civ4HandicapInfos.xml define extra techs to a player depending on level of difficulty. The higher you play the more techs the AI has and the less you have.
4. In a python file you can use hasTech(tech, true) to define techs that a civ has.

So basically, the starting techs are defined as:
Civ inherent techs + WBS team techs + any free handicap techs + hasTech defined techs.
So I assumed that the techs would work right.....

It looks that not :cry: I've been checking the scenarios that come with Civ IV and you are right: scenarios with predefined civs do not work well in terms of tech ( and therefor of defensive units ), scenarios with Random civs ( like "Planet" ) work well.

Thanks for the help ;)
 
I think it might even be a small bug - they hand out the starting techs when the team is initialized, and forget to update on scenario loading where the difficultie is - apparently - parsed after the initialization, or something like this...

I am however not familiar enought with the structure of the SDK to find and fix it... Perhaps Bhruic :mischief:

Edit: On the other hand - i dont think it's such a big deal - sure the AI has Warriors instead of archers on deity. And no bonus tech. It still gets a huge handicap on research speed, the free worker (who is easily worth 3 archers :lol:)...
Overall i think the way you handle it now is close enought.

Or you could just give Archery to all AI. Many people seem to Play on Monarch+ anyway. And a AI archer on lower levels is not that bad.
 
The problem is that some people warrior rushed emperor AI in one of my scenarios :eek:

And giving all the AI archery is not a option, because i want that the Noble players use it as well....
 
Its not a big deal for the LHCs, because there is no contact with the AIs by the Human anyway, or the Nobles Club, because only a few play above Prince. The new series I am trying to start is the one being busted, the Pick Your Leader series.

How about creating the original save in Deity, then relying on the "Handicap AI" XML settings to kick in and REMOVE bonuses, instead of creating games at Noble, and wanting them to be added?
 
Back
Top Bottom