Dancing Hoskuld
Deity
I made a couple of comments and marked some as correct. The Great Hunter refers to Great Admiral when it should not.
Can someone help me with missing stategy text for units? I already writed all texts but need someone with better knowledge of english to read this texts and fix all nasty bugs![]()
Here is the link (its editable)
https://docs.google.com/spreadsheets/d/1hFa6AJcKcAudzidK44wXMC1hrbvwiV0joUxn7BhcvIc/edit#gid=0
Please check and fix texts in B column.
>>>>>TEXT IS CORRECT<<<<<<<<< - mean that unit got correct text and no need to change anything.
Anyway tnx for help![]()
1. Text for 'Bandeirante' is copied verbatim from Moroccan Black Guard so is completely wrong.
2. 'Baahai' in English is 'Bahai' and the religion probably Bahaiism (maybe just Bahai for this too would be better)
3. It's 'Moroccan' not 'Maroccan' in English.
I'm still going...
If you want you can change anything in this google sheet. Its editable.
ETA: Mostly things that would be no problem at all in a forum post, but I feel we owe it to our millions ofscroungersadoring fans to do gooder here in the all-knowing pedia
<PrereqBuilding>BUILDING_ANIMAL_TAMER_COMPLEX</PrereqBuilding>
<PrereqBuildingClasses>
<PrereqBuildingClass>
<BuildingClassType>BUILDINGCLASS_ELEPHANT_SONG</BuildingClassType>
<bPrereq>1</bPrereq>
</PrereqBuildingClass>
</PrereqBuildingClasses>
<PrereqOrBuildingClasses>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_KNIGHT_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_MODERN_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
</PrereqOrBuildingClasses>
How do I specify I want a unit to only be built in cities with buildings A and B and ( C or D or E)?
I triedCode:<PrereqBuilding>BUILDING_ANIMAL_TAMER_COMPLEX</PrereqBuilding> <PrereqBuildingClasses> <PrereqBuildingClass> <BuildingClassType>BUILDINGCLASS_ELEPHANT_SONG</BuildingClassType> <bPrereq>1</bPrereq> </PrereqBuildingClass> </PrereqBuildingClasses> <PrereqOrBuildingClasses> <PrereqOrBuildingClass> <BuildingClassType>BUILDINGCLASS_STABLE</BuildingClassType> <bPrereqBuildingClass>1</bPrereqBuildingClass> </PrereqOrBuildingClass> <PrereqOrBuildingClass> <BuildingClassType>BUILDINGCLASS_KNIGHT_STABLE</BuildingClassType> <bPrereqBuildingClass>1</bPrereqBuildingClass> </PrereqOrBuildingClass> <PrereqOrBuildingClass> <BuildingClassType>BUILDINGCLASS_MODERN_STABLE</BuildingClassType> <bPrereqBuildingClass>1</bPrereqBuildingClass> </PrereqOrBuildingClass> </PrereqOrBuildingClasses>
but the or buildings are being ignored.
I could make three different tamed elephants, one for each era, if there is no solution. Or I could make an auto building Stabling that is built if you have any of the three stables. It would need to go if you lost or sold all stables.
<BuildingClassNeededs>
<BuildingClassNeeded>
<BuildingClassType>BUILDINGCLASS_ANIMAL_TAMER_COMPLEX</BuildingClassType>
<bNeededInCity>1</bNeededInCity>
</BuildingClassNeeded>
<BuildingClassNeeded>
<BuildingClassType>BUILDINGCLASS_ELEPHANT_SONG</BuildingClassType>
<bNeededInCity>1</bNeededInCity>
</BuildingClassNeeded>
</BuildingClassNeededs>
<PrereqOrBuildingClasses>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_KNIGHT_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
<PrereqOrBuildingClass>
<BuildingClassType>BUILDINGCLASS_MODERN_STABLE</BuildingClassType>
<bPrereqBuildingClass>1</bPrereqBuildingClass>
</PrereqOrBuildingClass>
</PrereqOrBuildingClasses>
On the unit I want to specify that it requires building A and B and one of (C or D or E)
<PrereqBuilding>[B]Building A[/B]</PrereqBuilding>
<TrainCondition>
<And>
<Has>
<GOMType>GOM_BUILDING</GOMType>
<ID>[B]Building B[/B]</ID>
</Has>
</And>
</TrainCondition>
<PrereqOrBuildings>
<BuildingType>[B]Building C[/B]</BuildingType>
<BuildingType>[B]Building D[/B]</BuildingType>
<BuildingType>[B]Building E[/B]</BuildingType>
</PrereqOrBuildings>
I think these tags can be used for it.
Code:<PrereqBuilding>[B]Building A[/B]</PrereqBuilding> <TrainCondition> <And> <Has> <GOMType>GOM_BUILDING</GOMType> <ID>[B]Building B[/B]</ID> </Has> </And> </TrainCondition> <PrereqOrBuildings> <BuildingType>[B]Building C[/B]</BuildingType> <BuildingType>[B]Building D[/B]</BuildingType> <BuildingType>[B]Building E[/B]</BuildingType> </PrereqOrBuildings>
Thank you, that is what I get for trying to code without coffee.
edit no, not right.
On the unit I want to specify that it requires building A and B and one of (C or D or E)
I am having a bad day also. I tried Climat's suggestion and it worked fine for Giraffes but almost the exact same changes to Elephants and now the pedia is broke.I think I'll go visit friends and take a break.
![]()
We all hit the wall sometimes. I had a slight texture hickup today. Had me baffled ^^.
View attachment 393700
Here's for reference a list of small fixes that I can't or don't really know how to fix myself, for anybody willing to do it.
The following entries are missing a relevant text