Jump to content
Sign in to follow this  
Silveressa

Mod compiling error?

Recommended Posts

Hi I recently downloaded the SDK and wanted to test the functionality by creating a very simple mod, one that makes Nod cranes cost only 100 credits (not balanced I know but this was to test the functionality of the mod compliter before I set to work modding)

 

Following all the instructions in the documentation I then tried to compile the mod and got the following errors

 

 

 

Building Mod Data...

Command Line: H:Command & Conquer 3MOD SDKModsPlayabledatamod.xml /od:H:C

ommand & Conquer 3MOD SDKBuiltMods /iod:H:Command & Conquer 3MOD SDKBuiltMo

ds /ls:true /gui:false /UsePrecompiled:true /vf:true

Command Line: H:Command & Conquer 3MOD SDKModsPlayabledatamod.xml /od:H:C

ommand & Conquer 3MOD SDKBuiltMods /iod:H:Command & Conquer 3MOD SDKBuiltMo

ds /ls:true /gui:false /UsePrecompiled:true /vf:true

BinaryAssetBuilder started

Error: Could not load XIncludingReader from Mvp.Xml.Dll. xi:include is disabled

Cached session data not available.

Session cache age is 0 days, 0 hours, 0 minutes.

Loading 'file://h:command & conquer 3mod sdkmodsplayabledatamod.xml'.

Loading 'file://h:command & conquer 3mod sdkmodsplayabledatanodcrane.xml'.

 

Error: Input file 'art:nbcrane_skn.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_skn.w3x'.

Error: Input file 'art:nbcrane_idla.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_idla.w3x'.

Error: Input file 'art:nbcrane_asn.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_asn.w3x'.

Error: Input file 'art:nbcrane_aan.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_aan.w3x'.

Error: Input file 'art:nbcrane_d2sn.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d2sn.w3x'.

Error: Input file 'art:nbcrane_d2an.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d2an.w3x'.

Error: Input file 'art:nbcrane_d3sn.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d3sn.w3x'.

Error: Input file 'art:nbcrane_d3an.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d3an.w3x'.

Loading 'file://h:command & conquer 3mod sdkcnc3xmlbaseobjectsbasestructure

.xml'.

Critical: XML validation error encountered in 'h:command & conquer 3mod sdkmo

dsplayabledatanodcrane.xml':

XML validation error encountered in file:///h:/command & conquer 3/mod sdk/mo

ds/playable/data/nodcrane.xml (line 0, position 0):

The element 'Behaviors' in namespace 'uri:ea.com:eala:asset' has invalid c

hild element 'include' in namespace 'http://www.w3.org/2001/XInclude'. List of p

ossible elements expected: 'AISpecialPowerUpdate, AttributeModifierUpgrade, Atta

ckTargetSpecialPower, ArmorUpgrade, BeamTargetBehavior, SlavedUpdate, BezierProj

ectile, BuildingBehavior, CastleUpgrade, ClusterBombUpdate, Collide, CommandSetU

pgrade, CreateObjectDie, CrushDie, RebuildHoleExposeDie, RebuildHoleBehavior, De

faultProductionExit, DestroyDie, DynamicShroudClearingRangeUpdate, EmotionTracke

rUpdate, EngineerContain, InfiltratorContain, InvalidTargetsDeathUpdate, FireWea

ponCollide, FireWeaponUpdate, StructureToppleUpdate, ToppleUpdate, OilSpillUpdat

e, DamageFieldUpdate, FlammableUpdate, AutoDepositUpdate, FXListBehavior, Geomet

ryUpgrade, GettingBuilt, GiveUpgradeUpdate, GrantUpgradeCreate, HeightDieUpdate,

MissileUpdate, JumpJetSpecialPower, LevelUpUpgrade, LifetimeUpdate, LocomotorSe

tUpgrade, SwitchLocomotorsSpecialAbilityUpdate, MaxHealthUpgrade, MinefieldBehav

ior, ModelConditionSpecialAbilityUpdate, ModelConditionUpgrade, RandomModelCondi

tion, StrafeAreaUpdate, OCLMonitorUpdate, TeleportSpecialAbilityUpdate, Teleport

ToCaster....

Building Low LOD...

Command Line: H:Command & Conquer 3MOD SDKModsPlayabledatamod.xml /od:H:C

ommand & Conquer 3MOD SDKBuiltMods /iod:H:Command & Conquer 3MOD SDKBuiltMo

ds /ls:true /gui:false /UsePrecompiled:true /vf:true /bcn:LowLOD /bps:H:Command

& Conquer 3MOD SDKBuiltModsmodsPlayabledatamod.manifest

Command Line: H:Command & Conquer 3MOD SDKModsPlayabledatamod.xml /od:H:C

ommand & Conquer 3MOD SDKBuiltMods /iod:H:Command & Conquer 3MOD SDKBuiltMo

ds /ls:true /gui:false /UsePrecompiled:true /vf:true /bcn:LowLOD /bps:H:Command

& Conquer 3MOD SDKBuiltModsmodsPlayabledatamod.manifest

BinaryAssetBuilder started

Error: Could not load XIncludingReader from Mvp.Xml.Dll. xi:include is disabled

Cached session data not available.

Session cache age is 0 days, 0 hours, 0 minutes.

Loading 'file://h:command & conquer 3mod sdkmodsplayabledatamod.xml'.

Loading 'file://h:command & conquer 3mod sdkmodsplayabledatanodcrane.xml'.

 

Error: Input file 'art:nbcrane_skn.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_skn.w3x'.

Error: Input file 'art:nbcrane_idla.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_idla.w3x'.

Error: Input file 'art:nbcrane_asn.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_asn.w3x'.

Error: Input file 'art:nbcrane_aan.w3x' not found (referenced from file://h:com

mand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty.

 

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_aan.w3x'.

Error: Input file 'art:nbcrane_d2sn.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d2sn.w3x'.

Error: Input file 'art:nbcrane_d2an.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d2an.w3x'.

Error: Input file 'art:nbcrane_d3sn.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d3sn.w3x'.

Error: Input file 'art:nbcrane_d3an.w3x' not found (referenced from file://h:co

mmand & conquer 3mod sdkmodsplayabledatanodcrane.xml). Treating it as empty

.

Loading 'file://h:command & conquer 3mod sdkartnbnbcrane_d3an.w3x'.

Loading 'file://h:command & conquer 3mod sdkcnc3xmlbaseobjectsbasestructure

.xml'.

Critical: XML validation error encountered in 'h:command & conquer 3mod sdkmo

dsplayabledatanodcrane.xml':

XML validation error encountered in file:///h:/command & conquer 3/mod sdk/mo

ds/playable/data/nodcrane.xml (line 0, position 0):

The element 'Behaviors' in namespace 'uri:ea.com:eala:asset' has invalid c

hild element 'include' in namespace 'http://www.w3.org/2001/XInclude'. List of p

ossible elements expected: 'AISpecialPowerUpdate, AttributeModifierUpgrade, Atta

ckTargetSpecialPower, ArmorUpgrade, BeamTargetBehavior, SlavedUpdate, BezierProj

ectile, BuildingBehavior, CastleUpgrade, ClusterBombUpdate, Collide, CommandSetU

pgrade, CreateObjectDie, CrushDie, RebuildHoleExposeDie, RebuildHoleBehavior, De

faultProductionExit, DestroyDie, DynamicShroudClearingRangeUpdate, EmotionTracke

rUpdate, EngineerContain, InfiltratorContain, InvalidTargetsDeathUpdate, FireWea

ponCollide, FireWeaponUpdate, StructureToppleUpdate, ToppleUpdate, OilSpillUpdat

e, DamageFieldUpdate, FlammableUpdate, AutoDepositUpdate, FXListBehavior, Geomet

ryUpgrade, GettingBuilt, GiveUpgradeUpdate, GrantUpgradeCreate, HeightDieUpdate,

MissileUpdate, JumpJetSpecialPower, LevelUpUpgrade, LifetimeUpdate, LocomotorSe

tUpgrade, SwitchLocomotorsSpecialAbilityUpdate, MaxHealthUpgrade, MinefieldBehav

ior, ModelConditionSpecialAbilityUpdate, ModelConditionUpgrade, RandomModelCondi

tion, StrafeAreaUpdate, OCLMonitorUpdate, TeleportSpecialAbilityUpdate, Teleport

ToCaster....

Copying str file if it exists...

Copying Shaders...

H:Command & Conquer 3MOD SDKShadersShaderWritingExample.fx

1 file(s) copied.

Could Not Find H:Command & Conquer 3MOD SDKBuiltmodsmodsPlayabledatamod_l

.version

Creating Mod Big File...

Copying built mod...

1 file(s) copied.

 

 

The details of my Mod.xml are as follows:

 

 

 

<?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>

<!--

mod.xml is the central include for mod setup data.

-->

<Include type="reference" source="DATA:static.xml" />

<Include type="reference" source="DATA:global.xml" />

 

<Include type="all" source="DATA:PlayableDataNODCrane.xml" />

 

 

</Includes>

 

</AssetDeclaration>

 

The onlything I changed in the crane xml file was the cost of the crane from 1500 to 100.

 

Can I please get some assistance on where I'm going wrong? This is incredibly frustrating.

Share this post


Link to post

The NodCrane.XML file is invalid... that is what it complains about. The missing files errors you can ignore.

Share this post


Link to post

Okay that makes sense, but what causedit to become invalid?

 

I used a copy of the nodcrane.xml file from the sdk directory

 

MOD SDKCnC3XmlNODStructures

 

I even attempted to do a build using the default nod crane file without even modding it and still got the same

 

Critical: XML validation error encountered in 'h:command & conquer 3mod sdkmodsplayabledatanodcrane.xml':

 

 

Does this mean my copy of the SDK (version 2) is corrupt? or do I need to download "valid" copies off all the xml files from some other source? Or is it a special line needs to be entered in any modded files in order for them to be considered "valid?"

Share this post


Link to post

See, I do not know exactly what is wrong... but I think you have introduced a syntax error somehow (somewhere in an include statement?). I myself use TibEd 2 for C&C3 (experimental): http://www.tibed.net/download?tibed2cnc3 ... and there it works for me (Nod Crane can be found in Full Asset ListGame ObjectNODCrane). I get no compilation errors after changing the cost.

Share this post


Link to post

Thanks a million for the link, I'll give it a try and hopefully be able to get to work with some actual modding later on today, 8)

Share this post


Link to post

Okay i installed the tib ed2 form the link you provided, however when I run it to mod C&C 3 the only race that;s appears is the scrin.

 

Do i need to download addaional files form somewhere to be able to edit gdi and nod?

Share this post


Link to post

The other items can be found under "Full Asset List", and then "GameObject". There is a full list.

I have to add all units manually to the 'normal' list (but I have to look up the real names then, which is a lot of tedious work). Which I am doing right now ;)

Share this post


Link to post

If you do not like the black color scheme in the XML editor, you should redownload. It now has a new color scheme with a white background. However, I haven't added the GDI/Nod objects yet.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×