Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline lambdatorus  
#1 Posted : Saturday, October 6, 2018 3:33:26 AM(UTC)
lambdatorus
Private
Joined: 10/6/2018(UTC)
Posts: 2

Was thanked: 2 time(s) in 1 post(s)
Hello,

Recently, i came back to RA3 CNC3 modding,and have a basic question concerning the File

MPGameRules.xml I tried to set a minimod for testing purpose.

This is my main mod file:


<?xml version="1.0" encoding="UTF-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
<Includes>
<Include type="reference" source="DATA:static.xml" />
<Include type="reference" source="DATA:global.xml" />
<Include type="reference" source="DATA:audio.xml" />

<Include type="all" source="DATA:ra3-skrm/Data/MPGameRules.xml" />
</Includes>
</AssetDeclaration>


and this is my file

<?xml version="1.0" encoding="utf-8" ?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Tags></Tags>
<Includes></Includes>
<MpGameRules
id="TheMpGameRules"
>
<SkirmishStartCash
LoCash="18000"
HiCash="61000"
ChoiceStepAmount="4300"
DefaultChoiceIndex="1"
/>
</MpGameRules>
</AssetDeclaration>


Then i used buildmod and it generated the file, BUT when i start the mod , It doesn't seems to apply.

So what is wrong?

Thanks.
lambdatorus attached the following image(s):
skirmish_test.png
Sponsor
Offline lambdatorus  
#2 Posted : Sunday, October 28, 2018 8:57:00 AM(UTC)
lambdatorus
Private
Joined: 10/6/2018(UTC)
Posts: 2

Was thanked: 2 time(s) in 1 post(s)
Hello,

Finally i managed to make it workBig Smile

I search through the FAQ .I found out that MPGameRules.xml must be placed inside the additionalmaps folder.Because in RA3 they are two types of datas :Static and Global.

The static datas are enlisted in the mod.xml.That is most of mod's files.

But Some files must be placed in the additionalmaps folders .This Folder have its own xml lists:

MapMetaData_Global.xml
MapMetaData_Mod.xml

And MPGameRULES.xml must be included in MapMetaData_Global.xml in order to be taken in account.

Moreover, you don't have to put these in the mod.xml LIST.For these reasons , i was a little confused during mod compilation.Also, my mod sdk was broken ,so it didn't work.

But when i UPDATED with the bibber sdk file,it solved the issue.FINALLYThumb Up

UserPostedImage

Edited by user Sunday, October 28, 2018 9:05:34 AM(UTC)  | Reason: vocabulary

lambdatorus attached the following image(s):
skirmish_test.png
skirmish_test.png
thanks 2 users thanked lambdatorus for this useful post.
UTD^Force on 10/28/2018(UTC), Guido on 1/6/2019(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.