First, hello to all (I'm new in the civ modding communauty).
I've got quite good programming skills and a good knowledge of the XML format.
For my fist attempt to made a mod, I'd like to improve the existing unit "spy" with a "steal technology" ability.
I've been looking for the XML-files and think I should modify:
CIV4UnitInfos.xml -> to "add" the mission to the spy,
CIV4MissionInfos.xml -> to create the mission,
maybe CIV4UnitSchema.xml -> to add the mission tag: bStealTech for UnitInfos (i had to define <bStealTech>0</bStealTech> for each other unit in order to avoid parsing error, but it made the app crashes when starting a game...).
Do someone know what I have to do to make my "mission" ?
Can I find some doc about this somewhere ?
Thanks and sorry for my bad english
I've got quite good programming skills and a good knowledge of the XML format.
For my fist attempt to made a mod, I'd like to improve the existing unit "spy" with a "steal technology" ability.
I've been looking for the XML-files and think I should modify:
CIV4UnitInfos.xml -> to "add" the mission to the spy,
CIV4MissionInfos.xml -> to create the mission,
maybe CIV4UnitSchema.xml -> to add the mission tag: bStealTech for UnitInfos (i had to define <bStealTech>0</bStealTech> for each other unit in order to avoid parsing error, but it made the app crashes when starting a game...).
Do someone know what I have to do to make my "mission" ?
Can I find some doc about this somewhere ?
Thanks and sorry for my bad english