[Solved] Model loads in Codewalker - Does not load ingame.
-
Hello, i am new to map modding and want to create a custom map in blender and 3ds
I have followed the tutorial from DEKURWINATOR youtube video.
Map loads in Codewalker, but when i go in game it does not appear.
In the Codewalker editor i can see the model and the collision
But it looks like in Codewalker the model has no collision when entering first person mode pressing the P key.
I tried to load other dlc map and it was ok.
using open v mods folder.
Thanks in advance for help
-
Solved !
I have just copied the files hierarchy from other working dlc in open iv- edited the first 2 files content.xml setup2.xml so they match my mod name
and it works fine
This is the correct content.xml code matching the folders:
<?xml version="1.0" encoding="utf-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
<disabledFiles />
<includedXmlFiles />
<dataFiles>
<Item>
<filename>dlc_test:/%PLATFORM%/levels/gta5/test/test.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="true" />
</Item>
<Item>
<filename>dlc_test:/%PLATFORM%/levels/gta5/test/test_col.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="true" />
</Item>
<Item>
<filename>dlc_test:/%PLATFORM%/levels/gta5/test/test_metadata.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="true" />
<disabled value="true" />
<persistent value="true" />
</Item>
</dataFiles>
<contentChangeSets>
<Item>
<changeSetName>test_AUTOGEN</changeSetName>
<filesToEnable>
<filename>dlc_test:/%PLATFORM%/levels/gta5/test/test.rpf</filename>
</filesToEnable>
<txdToLoad />
<txdToUnload />
<residentResources />
<unregisterResources />
<requiresLoadingScreen value="false" />
</Item>
<Item>
<changeSetName>test_STREAMING_MAP</changeSetName>
<mapChangeSetData>
<Item>
<associatedMap>MO_JIM_L11</associatedMap>
<filesToInvalidate />
<filesToDisable />
<filesToEnable>
<Item>dlc_test:/%PLATFORM%/levels/gta5/test/test_metadata.rpf</Item>
<Item>dlc_test:/%PLATFORM%/levels/gta5/test/test_col.rpf</Item>
</filesToEnable>
<txdToLoad />
<txdToUnload />
<residentResources />
<unregisterResources />
</Item>
</mapChangeSetData>
<requiresLoadingScreen value="true" />
<loadingScreenContext>LOADINGSCREEN_CONTEXT_LAST_FRAME</loadingScreenContext>
<useCacheLoader value="true" />
</Item>
<filesToInvalidate />
<filesToDisable />
<filesToEnable />
<txdToLoad />
<txdToUnload />
<residentResources />
<unregisterResources />
<requiresLoadingScreen value="true" />
<loadingScreenContext>LOADINGSCREEN_CONTEXT_LAST_FRAME</loadingScreenContext>
<useCacheLoader value="true" />
</contentChangeSets>
<patchFiles />
</CDataFileMgr__ContentsOfDataFileXml>This is the setup2.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<SSetupData>
<deviceName>dlc_test</deviceName>
<datFile>content.xml</datFile>
<timeStamp>17/04/2019 17:45</timeStamp>
<nameHash>test</nameHash>
<contentChangeSets />
<contentChangeSetGroups>
<Item>
<NameHash>GROUP_STARTUP</NameHash>
<ContentChangeSets>
<Item>test_AUTOGEN</Item>
</ContentChangeSets>
</Item>
<Item>
<NameHash>GROUP_MAP</NameHash>
<ContentChangeSets>
<Item>test_STREAMING_MAP</Item>
</ContentChangeSets>
</Item>
<Item>
<NameHash>GROUP_MAP_SP</NameHash>
<ContentChangeSets>
<Item>test_STREAMING_MAP</Item>
</ContentChangeSets>
</Item>
</contentChangeSetGroups>
<startupScript />
<scriptCallstackSize value="0" />
<type>EXTRACONTENT_COMPAT_PACK</type>
<order value="69" />
<minorOrder value="0" />
<isLevelPack value="false" />
<dependencyPackHash />
<requiredVersion />
<subPackCount value="0" />
</SSetupData>
- edited the first 2 files content.xml setup2.xml so they match my mod name