Jump to content
Sign in to follow this  
Yamirei

How to mod kane wrath xml with code inheritFrom

Recommended Posts

 

hi everyone, sorry for my bad english
I wanted to ask if you know how to edit xml
as the TiberiumCrystalBlue

 

Quote

<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xai="uri:ea.com:eala:asset:instance">
    <Tags></Tags>
    <Includes>
        <Include
            type="all"
            source="ART:TibCellBlue01.w3x" />
        <Include
            type="all"
            source="ART:TiberiumCracksBlue01.xml" />
        <!-- Base Object -->
        <Include
            type="instance"
            source="DATA:Tiberium/TiberiumCrystal.xml" />
    </Includes>
    <GameObject
        id="TiberiumCrystalBlue"
        inheritFrom="TiberiumCrystal"
        EditorName="TiberiumCrystalBlue"
        SelectPortrait="Portrait_BlueTiberium"
        ButtonImage="Portrait_BlueTiberium"
        Description="Desc:BlueTiberiumCrystal">
        <DisplayName
            xai:joinAction="Replace">Name:BlueTiberiumCrystal</DisplayName>
        <Draws>
            <ScriptedModelDraw
                id="ModuleTag_Draw"
                xai:joinAction="Overwrite">
                <ModelConditionState
                    ParseCondStateType="PARSE_DEFAULT">
                    <Model
                        Name="TibCellBlue01" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="RUBBLE">
                    <Model
                        Name="" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE1">
                    <Model
                        Name="TibCellBlue01" />
                    <ParticleSysBone
                        BoneName="NONE"
                        FXParticleSystemTemplate="TibCellAuraBlue"
                        FollowBone="true" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE2">
                    <Model
                        Name="TibCellBlue01" />
                    <ParticleSysBone
                        BoneName="NONE"
                        FXParticleSystemTemplate="TibCellAuraBlue"
                        FollowBone="true" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE3">
                    <Model
                        Name="TibCellBlue01" />
                    <ParticleSysBone
                        BoneName="NONE"
                        FXParticleSystemTemplate="TibCellAuraBlue"
                        FollowBone="true" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE4">
                    <Model
                        Name="TibCellBlue01" />
                    <ParticleSysBone
                        BoneName="NONE"
                        FXParticleSystemTemplate="TibCellAuraBlue"
                        FollowBone="true" />
                </ModelConditionState>
                <ModelConditionState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE5">
                    <Model
                        Name="TibCellBlue01" />
                    <ParticleSysBone
                        BoneName="NONE"
                        FXParticleSystemTemplate="TibCellAuraBlue"
                        FollowBone="true" />
                </ModelConditionState>
                <AnimationState
                    ParseCondStateType="PARSE_DEFAULT"></AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_GROWING"
                    Flags="START_FRAME_LAST">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE1">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE2">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE3">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE4">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
                <AnimationState
                    ParseCondStateType="PARSE_NORMAL"
                    ConditionsYes="TIBERIUM_CRYSTAL_TYPE5">
                    <Animation
                        AnimationName="TibCellBlue01"
                        AnimationMode="MANUAL"
                        AnimationBlendTime="0" />
                </AnimationState>
            </ScriptedModelDraw>
        </Draws>
        <Behaviors>
            <TiberiumCrystal
                id="ModuleTag_TibCrystalBehavior"
                xai:joinAction="Overwrite"
                NumBoxes="50"
                ValuePerBox="14"
                GrowthStages="3"
                GrowthTimePerStage="3s"
                TimeBetweenGrowthStages="60s">
                <RadarColor R="133" G="153" B="255" />
            </TiberiumCrystal>
            <FireWeaponUpdate
                id="ModuleTag_CrystalWeapon"
                xai:joinAction="Overwrite">
                <FireWeaponNugget
                    WeaponName="BlueTiberiumCrystalWeapon"
                    FireDelay="2.5s" />
            </FireWeaponUpdate>
            <FXListBehavior
                id="ModuleTag_FXList"
                xai:joinAction="Replace">
                <DieMuxData                    
                    DeathTypes="ALL"
                    DeathTypesForbidden="EXTRA_8"/>
                <Event
                    Index="onDeath"
                    FX="FX_TibCellDeathBlue" />
            </FXListBehavior>
        </Behaviors>
        <ShadowInfo
            Type="TIBERIUM_ROOT"
            SizeX="100"
            SizeY="100"
            Texture="TiberiumCrystal02Energy"
            AdditionalTexture="TiberiumCracksBlue01"            
            OverrideLODVisibility="true" />        
    </GameObject>
</AssetDeclaration>

 

I think the problem is that it does not find  source="DATA:Tiberium/TiberiumCrystal.xml" />
 

and after a few seconds after starting a game skirmish have a crash

Share this post


Link to post

I think that I have understand

WrathEd not support 
 

Quote

inheritFrom

 

Share this post


Link to post

Yeah, that's a bit of a problem. You need to replace all instances of inheritFrom with the relevant data from the XML(s) that your current file refers to. It's tedious, but it's the only way it can work.

Share this post


Link to post

for the moment, back to modding tiberium wars, I hope for a moddable remastered xD

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.

×