Results 1 to 4 of 4
  1. #1

    Adding a New Transport

    Hello, I've been trying to add a new transport to my faction lately where units can call in a transport to pick them up. I've been having problems with compiling my mod and I keep getting an error saying "includes/ascallfortransportforvehicle.xml" <CreateAndEnterObjectSpecialPower xmlns="uri:ea.com:eala:asset" could not be declared near line 10. I'm guessing something is missing from the code.

    Here is the code:

    <?xml version="1.0" encoding="us-ascii"?>
    <CreateAndEnterObjectSpecialPower xmlns="uri:ea.com:eala:asset"
    id="ModuleTag_CallForTransport"
    SpecialPowerTemplate="SpecialPowerCallForTransport AS"
    OCL="OCL_ASCallForTransportForVehicle"
    CreateLocation="CREATE_ABOVE_LOCATION"
    TriggerFX=""
    ChildModuleHandlesFX="false"
    IdleWhenStartingPower="true">
    </CreateAndEnterObjectSpecialPower>

    Thanks for the help in advance.

  2. #2
    Lieutenant Colonel Golan2781's Avatar
    Join Date
    Feb 2011
    Posts
    2,273
    What does the XInclude you are referencing this code with look like?

  3. #3
    Captain NODSOLDIERGIRL's Avatar
    Join Date
    Feb 2011
    Location
    Temple Prime, OH
    Posts
    602
    Quote Originally Posted by UmbrellaSecrets View Post
    Hello, I've been trying to add a new transport to my faction lately where units can call in a transport to pick them up. I've been having problems with compiling my mod and I keep getting an error saying "includes/ascallfortransportforvehicle.xml" <CreateAndEnterObjectSpecialPower xmlns="uri:ea.com:eala:asset" could not be declared near line 10. I'm guessing something is missing from the code.

    Here is the code:

    <?xml version="1.0" encoding="us-ascii"?>
    <CreateAndEnterObjectSpecialPower xmlns="uri:ea.com:eala:asset"
    id="ModuleTag_CallForTransport"
    SpecialPowerTemplate="SpecialPowerCallForTransport AS"
    OCL="OCL_ASCallForTransportForVehicle"
    CreateLocation="CREATE_ABOVE_LOCATION"
    TriggerFX=""
    ChildModuleHandlesFX="false"
    IdleWhenStartingPower="true">
    </CreateAndEnterObjectSpecialPower>

    Thanks for the help in advance.
    Shouldn't the "URI" before ea.com be a URL instead?

  4. #4
    It worked when I changed it to URL instead of URI, but I still yet have to try my transport special power in game.

    The code I was referring too is this:
    MOD SDK/cncxml/Includes/GDICallForTransportForVehicle

    <?xml version="1.0" encoding="us-ascii"?>

    <CreateAndEnterObjectSpecialPower xmlns="uri:ea.com:eala:asset"
    id="ModuleTag_CallForTransport"
    SpecialPowerTemplate="SpecialPowerCallForTransport GDI"
    OCL="OCL_GDICallForTransportForVehicle"
    CreateLocation="CREATE_ABOVE_LOCATION"
    TriggerFX="FX_GDICallForTransportFlare"
    ChildModuleHandlesFX="true"
    IdleWhenStartingPower="true">
    <FXOffset x="25" y="0" z="0"></FXOffset>
    </CreateAndEnterObjectSpecialPower>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Victory Games is Electronic Arts' dedicated Strategy Gaming studio. Formed in 2010 under the leadership of Jon Van Caneghem, Victory Games has offices in Los Angeles, CA; Austin, TX; and Shanghai, China and is currently focused on the Command & Conquer franchise.