Griffon.it
Chieftain
- Joined
- Feb 19, 2006
- Messages
- 12
Hi to all
first of all sorry for my english. try to understand me
I have a problem when try to add a new "mission" for the great prophet. I want to found religion with this unit, not with tech discover (yes, there's already a mod that do it, True Prophet, but with sdk i would like to implement this feauter with mission, not with "built trick")
I'have opened the Assests/XML/Units/Civ4MissionInfos.xml, and i'have added a new <MissionInfo> tags, copy-paste from other great prophet mission (build the shirine in holy city):
At the header of this xml file i read "Changes must be reflected in CvEnums.h", so i'have opened this file in sdk and i'have added a new enumeration, in the same position of xml file (beetwen MISSION_JOIN and MISSION_CONSTRUCT):
Ok, then i have recompiled the core and i have launch the mod (i know that with this modding i don't change anything).
The mod init correctly, but if i try to start a new single player game, after loading, movie and intro popup, the game crash with the Windows dialog to send the log error to Microsoft.
I know tha in Documents/My Games/.../Logs folder i can find all the logs that civ4 generate, but in this log i don't find nothing that can help me with debug.
can someone help me?
thx
first of all sorry for my english. try to understand me

I have a problem when try to add a new "mission" for the great prophet. I want to found religion with this unit, not with tech discover (yes, there's already a mod that do it, True Prophet, but with sdk i would like to implement this feauter with mission, not with "built trick")
I'have opened the Assests/XML/Units/Civ4MissionInfos.xml, and i'have added a new <MissionInfo> tags, copy-paste from other great prophet mission (build the shirine in holy city):
Code:
<MissionInfo>
<Type>MISSION_JOIN</Type>
<Description>TXT_KEY_MISSION_JOIN_CITY</Description>
<Help>TXT_KEY_MISSION_JOIN_CITY_HELP</Help>
<Waypoint>NONE</Waypoint>
<EntityEventType>ENTEVENT_GREAT_EVENT</EntityEventType>
<iTime>18</iTime>
<bTarget>0</bTarget>
<bBuild>0</bBuild>
<bSound>0</bSound>
</MissionInfo>
[B] <MissionInfo>
<Type>MISSION_FOUND_RELIGION</Type>
<Description>TXT_KEY_FOUND_RELIGION</Description>
<Help>TXT_KEY_FOUND_RELIGION_HELP</Help>
<Waypoint>NONE</Waypoint>
<EntityEventType>ENTEVENT_GREAT_EVENT</EntityEventType>
<iTime>18</iTime>
<bTarget>0</bTarget>
<bBuild>0</bBuild>
<bSound>0</bSound>
</MissionInfo>[/B]
<MissionInfo>
<Type>MISSION_CONSTRUCT</Type>
<Description>TXT_KEY_MISSION_CONSTRUCT</Description>
<Help>TXT_KEY_MISSION_CONSTRUCT_HELP</Help>
<Waypoint>NONE</Waypoint>
<EntityEventType>ENTEVENT_GREAT_EVENT</EntityEventType>
<iTime>18</iTime>
<bTarget>0</bTarget>
<bBuild>0</bBuild>
<bSound>0</bSound>
</MissionInfo>
At the header of this xml file i read "Changes must be reflected in CvEnums.h", so i'have opened this file in sdk and i'have added a new enumeration, in the same position of xml file (beetwen MISSION_JOIN and MISSION_CONSTRUCT):
Code:
MISSION_JOIN,
MISSION_FOUND_RELIGION,
MISSION_CONSTRUCT,
Ok, then i have recompiled the core and i have launch the mod (i know that with this modding i don't change anything).
The mod init correctly, but if i try to start a new single player game, after loading, movie and intro popup, the game crash with the Windows dialog to send the log error to Microsoft.
I know tha in Documents/My Games/.../Logs folder i can find all the logs that civ4 generate, but in this log i don't find nothing that can help me with debug.
can someone help me?
thx
