Enabling Braves for Europeans

Onionsoilder

Reaver
Joined
Mar 19, 2007
Messages
3,173
Okay, so I want the Natives Braves(including the Armed and Mounted ones) to be enabled for Europeans when certain conditions are met. I was thinking about making the Chief Powhattan FF so that instead of adding +50% to natives, he enables all converts to become Braves(under control of the European power that gets him).

I realize that I could simply change the XML for native converts to allow braves, but as I said, I only want this to happen when you establish a friendship with the natives, or something like getting a certain FF. Is there any way to do this with XML?

EDIT: Also, anyone know how to assign a bonus yield to a building? Like, is there a way make a Church give and additional 1 free cross per turn, without anyone working in it? I get how to assign bonus yields to the civilizations, but I can't figure out how to do it for a city, except to add it to a building that all players get for free, like the shops.
 
The only way i can think of right now would be to make a new unit - say "Converted Brave", and make a FF grant some of these. This of course would be a limited one time offer.

I don't think you can make a unit enabled by good relations with natives from XML only.

Buildings have <YieldChanges/> and <YieldModifiers/> tags where you can add free yield. This should work with anything - technically even Crosses, LB and Education seem to be "Yields".
You should be able to add any yield bonus to a FF as well - there are multiple that give Yield bonus - general or per building. Just look how they are defined.
 
once the braves were 'given' by the ff, then they should (be able) to be taught in E. cities ...though I agree teaching this within indian villages has a better flavor but that I don't know how to do that either

but this would be supported by the literature of the times (well soon post fact) with Last of the Mohicans, as well as real world applications that the nuculeus of modern day seal teams started way back with the indian wars and white scouts under the tutelage of indian scouts

which brings new units into thought, ..at least according to myth the americans had sharpshooters/skirmishers which are not really represented in the game (though lets face it the briish had snipers and skirmishers out there too, but that's not good myth retelling)
 
i have done the model but i don' know why the converted can't be a soldier or dragoon, what i should change?
 
i have done the model but i don' know why the converted can't be a soldier or dragoon, what i should change?

from the top off my head, aren't that handled in xml/units/unitinfo, under the proffesions for the converted unit?
 
i created the profession converted musketman and converted cuirassier, but aren't avaible
 
About the enabling braves thing... What if a FF gave a 'Native Embassy' building to all of your cities, that would enable Converted Natives to become Converted Skirmisher/Horseman/Scout when they were in that city? I was thinking something like how the Magazine building enables Cannons. Or is this just making things more complicated?



As for the professions being unavailable americo, I think you have to add a tag in the unitinfos XML that enables that profession.
 
Alright, well I've created a new profession, 'Converted Brave'. I've made it similar to the Soldier profession, and enabled it for everyone. In-Game I can turn normal Colonists into this profession, but I can't with Converted Natives. I'm guessing this has something to do with the Soldiers and Dragoons being disabled for them, but I can't find the code that does this. I've looked in CivilizationInfos, UnitInfos, and ProfessionInfos, but I can't find any code that inhibits them from becoming soldiers. Can anyone tell me where this is located?
 
Back
Top Bottom