FileFront Gaming Forums

XML Modding Help

This is a discussion on XML Modding Help within the SW:EaW Modding, Mapping and Editing forums, part of the Star Wars: Empire At War category; Hi, I'm trying to edit the game and need to know 2 things: 1. Where the Space Skirmish units can ...

Go Back   FileFront Gaming Forums > The Games > Star Wars: Empire At War > SW:EaW Modding, Mapping and Editing


SW:EaW Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old June 10th, 2009
wyndt's Avatar
Reporting for Duty
 
Join Date: June 10th, 2009
Posts: 11
Rep Power: 0
wyndt is a n00b
icon_question XML Modding Help

Hi, I'm trying to edit the game and need to know 2 things:

1. Where the Space Skirmish units can be edited
2. Where the venator files are

I'm making a mod that makes Venators a unit for the Empire and I've got them to spawn at the Empire Space Stations but haven't got them to be 'buildable'.
Reply With Quote
  #2  
Old June 10th, 2009
The 6th Day
 
Join Date: August 6th, 2002
Location: Wales, UK
Posts: 2,354
Rep Power: 18
Major A Payne is a regular member
Send a message via ICQ to Major A Payne Send a message via MSN to Major A Payne
Default Re: XML Modding Help

Well the listings for what each starbase upgrade level can build is in this file (just do a search for the word "Skirmish" without the quotes three times and you'll come across the listing towards the bottom of the file):

STARBASES.XML

The skirmish entries for each ship themselves are in the unit files themselves. What you look for is an entry similair to that below built times and build cost are located in this part:

<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->

The Venator entry is located about midway down this file:

UNIQUEUNITS.XML
__________________
BORG: Incursion - Vital Responses project creator.
BORG: Incursion - Aftermath project creator (Coming soon to Star Trek Armada 2).
Wing Commander: Invasion (Slow but in progress project for Forces of Corruption)

"Opinions are like assholes , everyone has one , each, uniquely his own"
Reply With Quote
  #3  
Old June 10th, 2009
The Ferox's Avatar
<insert obvious answer>
 
Join Date: March 31st, 2008
Location: Netherlands
Posts: 988
Rep Power: 4
The Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the People
Send a message via MSN to The Ferox
Default Re: XML Modding Help

May I ask what program you use for editing XML's?
__________________
Rig: Intel i5 750 @ 3.98 GHz + Arctic Cooling Freezer 7 Pro | Gigabyte P55-UD3 | 2x2 GB Kingston ValueRAM 1333 MHz | XFX 5770 XT @ 900MHz/1300Mhz| Samsung Spinpoint F3 1TB | CoolerMaster RealPower 520W | CoolerMaster CM690
Reply With Quote
  #4  
Old June 10th, 2009
DarthNerd's Avatar
The Brainy Sith
 
Join Date: June 11th, 2007
Location: Florida
Posts: 112
Rep Power: 0
DarthNerd should make some friends
Default Re: XML Modding Help

notepad or wordpad
__________________
Galaxy of Chaos Mod Lead: (Alpha: RELEASED beta: 97% 1.0: 72%)
Reply With Quote
  #5  
Old June 11th, 2009
Vjeko1701's Avatar
Star Trek Supremacy
 
Join Date: May 20th, 2008
Location: In Krapina, Croatia
Posts: 456
Rep Power: 4
Vjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputation
Send a message via MSN to Vjeko1701 Send a message via Yahoo to Vjeko1701
Default Re: XML Modding Help

<SpaceUnit Name="Empire_Jedi_Cruiser">
<Text_ID>TEXT_UNIT_JEDI_CRUISER</Text_ID>
<Encyclopedia_Good_Against> Tartan_Patrol_Cruiser Broadside_Class_Cruiser Tie_Bomber </Encyclopedia_Good_Against>
<Encyclopedia_Vulnerable_To> TIE_Bomber Star_Destroyer Victory_Destroyer </Encyclopedia_Vulnerable_To>
<GUI_Row> 2 </GUI_Row>
<Space_Model_Name>NV_JEDICRUISER.ALO</Space_Model_Name>
<Mass>0.999</Mass>
<Scale_Factor>.95</Scale_Factor>
<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>
<Damage>30</Damage>
<Autoresolve_Health>3400</Autoresolve_Health>
<Shield_Points>800</Shield_Points>
<Tactical_Health>2500</Tactical_Health>
<Shield_Refresh_Rate>50</Shield_Refresh_Rate>
<Energy_Capacity>4000</Energy_Capacity>
<Energy_Refresh_Rate>500</Energy_Refresh_Rate>
<Affiliation>Empire</Affiliation>

<Ranking_In_Category>6</Ranking_In_Category>
<Max_Speed>2.2</Max_Speed>
<Max_Rate_Of_Turn>0.7</Max_Rate_Of_Turn>
<MovementClass> Space </MovementClass>
<Space_Layer> Frigate </Space_Layer>
<Max_Rate_Of_Roll>0.2</Max_Rate_Of_Roll>
<Bank_Turn_Angle>5</Bank_Turn_Angle>
<OverrideAcceleration> .1 </OverrideAcceleration>
<OverrideDeceleration> .1 </OverrideDeceleration>
<Layer_Z_Adjust>-90.0</Layer_Z_Adjust>

<Armor_Type> Armor_Victory_Class </Armor_Type>
<Shield_Armor_Type>Shield_Frigate</Shield_Armor_Type>

<Max_Thrust>1.6</Max_Thrust>
<Hyperspace>Yes</Hyperspace>
<Select_Box_Scale>400</Select_Box_Scale>
<Select_Box_Z_Adjust>-30</Select_Box_Z_Adjust>
<Ranged_Target_Z_Adjust>35.0</Ranged_Target_Z_Adjust>
<Hyperspace_Speed>1.5</Hyperspace_Speed>
<Maintenance_Cost>0.1</Maintenance_Cost>
<Build_Initially_Locked>Yes</Build_Initially_Locked>
<Build_Can_Be_Unlocked_By_Slicer>Yes</Build_Can_Be_Unlocked_By_Slicer>
<Slice_Cost_Credits>2200</Slice_Cost_Credits>
<Tech_Level>3</Tech_Level>
<Required_Timeline>0</Required_Timeline>
<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
<Required_Star_Base_Level>3</Required_Star_Base_Level>
<Required_Special_Structures />
<Required_Planets />
<Ship_Class>frigate</Ship_Class>
<Formation_Priority>6</Formation_Priority>
<Is_Escort>yes</Is_Escort>
<Is_Bomber>no</Is_Bomber>
<Political_Control>0</Political_Control>
<Squadron_Capacity>10</Squadron_Capacity>
<Transport_Capacity>8</Transport_Capacity>
<Number_per_Squadron>1</Number_per_Squadron>
<Build_Cost_Credits>2500</Build_Cost_Credits>
<AI_Combat_Power>3400</AI_Combat_Power>
<Build_Time_Seconds>30</Build_Time_Seconds>
<Build_Tab_Space_Units>Yes</Build_Tab_Space_Units>
<Size_Value>8</Size_Value>


<Behavior> DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED </Behavior>
<SpaceBehavior>ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, SPAWN_SQUADRON, NEBULA</SpaceBehavior>

<Space_FOW_Reveal_Range>1200.0</Space_FOW_Reveal_Range>
<Targeting_Max_Attack_Distance>1000.0</Targeting_Max_Attack_Distance>
<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
<Death_Explosions>Large_Explosion_Space</Death_Explosions>
<Death_Leave_Hulk_Behind> No </Death_Leave_Hulk_Behind>

<Death_Clone>Damage_Normal, Jedi_Cruiser_Death_Clone</Death_Clone>

<Asteroid_Damage_Hit_Particles>Large_Damage_Spac e</Asteroid_Damage_Hit_Particles>
<Dense_FOW_Reveal_Range_Multiplier>0.24</Dense_FOW_Reveal_Range_Multiplier>
<HardPoints>
HP_Jedi_Cruiser_Fighter_Bay, HP_Jedi_Cruiser_Engines, HP_Jedi_Cruiser_FL, HP_Jedi_Cruiser_FR, HP_Jedi_Cruiser_ML, HP_Jedi_Cruiser_MR, HP_Jedi_Cruiser_BL, HP_Jedi_Cruiser_BR, HP_Jedi_Cruiser_Shield_Gen
</HardPoints>

<CategoryMask> Frigate | AntiCorvette</CategoryMask>
<Icon_Name>i_button_jedi_cruiser.tga</Icon_Name>
<GUI_Model_Name>RV_NebulonB.ALO</GUI_Model_Name>
<GUI_Distance>1000</GUI_Distance>
<GUI_Offset>0 0 0</GUI_Offset>
<GUI_Velocity>45</GUI_Velocity>
<Victory_Relevant>yes</Victory_Relevant>
<Has_Space_Evaluator>True</Has_Space_Evaluator>

<SFXEvent_Build_Started>RHD_Build_Vehicle</SFXEvent_Build_Started>
<SFXEvent_Build_Cancelled>RHD_Unit_Canceled</SFXEvent_Build_Cancelled>
<SFXEvent_Build_Complete>Unit_Complete_Jedi_Cruise r</SFXEvent_Build_Complete>

<SFXEvent_Ambient_Loop>Unit_Acclamator_Moving_Engi ne_Loop</SFXEvent_Ambient_Loop>
<SFXEvent_Select>Unit_Select_Jedi_Cruiser</SFXEvent_Select>
<SFXEvent_Move>Unit_Move_Jedi_Cruiser</SFXEvent_Move>
<SFXEvent_Fleet_Move>Unit_Fleet_Move_Jedi_Cruise r</SFXEvent_Fleet_Move>
<SFXEvent_Attack>Unit_Attack_Jedi_Cruiser</SFXEvent_Attack>
<SFXEvent_Guard>Unit_Guard_Jedi_Cruiser</SFXEvent_Guard>
<SFXEvent_Stop>Unit_Stop_Jedi_Cruiser</SFXEvent_Stop>
<SFXEvent_Barrage>Unit_Barrage_Jedi_Cruiser</SFXEvent_Barrage>
<SFXEvent_Move_Into_Asteroid_Field> Unit_Asteroids_Jedi_Cruiser </SFXEvent_Move_Into_Asteroid_Field>
<SFXEvent_Move_Into_Nebula> Unit_Nebula_Jedi_Cruiser </SFXEvent_Move_Into_Nebula>
<SFXEvent_Damaged_By_Asteroid> SFX_Asteroid_Detonation </SFXEvent_Damaged_By_Asteroid>

<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_ENGINE, Unit_HP_ENGINES_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Jedi_Cruiser </SFXEvent_Attack_Hardpoint>

<SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Jedi_Cruiser </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_MISSILE, </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_TORPEDO, </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_ION_CANNON, </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Jedi_Cruiser </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_ENGINE, Unit_Lost_Engines_Jedi_Cruiser </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_GRAVITY_WELL, </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Rebel_Space_Station </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_TRACTOR_BEAM, </SFXEvent_Hardpoint_Destroyed>
<SFXEvent_Hardpoint_Destroyed> HARD_POINT_ENABLE_SPECIAL_ABILITY, </SFXEvent_Hardpoint_Destroyed>

<SFXEvent_Engine_Idle_Loop> Unit_Acclamator_Idle_Engine_Loop </SFXEvent_Engine_Idle_Loop>
<SFXEvent_Engine_Moving_Loop> Unit_Acclamator_Moving_Engine_Loop </SFXEvent_Engine_Moving_Loop>
<SFXEvent_Engine_Cinematic_Focus_Loop> Unit_Acclamator_Cinematic_Engine_Loop </SFXEvent_Engine_Cinematic_Focus_Loop>

<Death_SFXEvent_Start_Die>Unit_Cruiser_Death_SFX </Death_SFXEvent_Start_Die>

<Space_Full_Stop_Command> Yes </Space_Full_Stop_Command>
<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
<Radar_Icon_Scale_Land>1.0</Radar_Icon_Scale_Land>
<Radar_Icon_Scale_Space>1.0</Radar_Icon_Scale_Space>

<Guard_Chase_Range>1000.0</Guard_Chase_Range>
<Idle_Chase_Range>0.0</Idle_Chase_Range>
<Attack_Move_Response_Range>400.0</Attack_Move_Response_Range>
<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
<Targeting_Priority_Set>Frigate</Targeting_Priority_Set>

<Unit_Abilities_Data SubObjectList="Yes">
<Unit_Ability>
<Type>DEFEND</Type>
<Recharge_Seconds>60</Recharge_Seconds>
<Mod_Multiplier>WEAPON_DELAY_MULTIPLIER, 1.0f</Mod_Multiplier>
<Mod_Multiplier>SHIELD_REGEN_MULTIPLIER, 1.0f</Mod_Multiplier>
<Mod_Multiplier>SHIELD_REGEN_INTERVAL_MULTIPLIER , 0.10f</Mod_Multiplier> <!-- make it faster to recharge -->
<Mod_Multiplier>ENERGY_REGEN_INTERVAL_MULTIPLIER , 0.10f</Mod_Multiplier> <!-- make it faster to recharge -->
<Mod_Multiplier>ENERGY_REGEN_MULTIPLIER, 3.0f</Mod_Multiplier>
<Mod_Multiplier>SPEED_MULTIPLIER, 0.8f</Mod_Multiplier>
<Expiration_Seconds>15</Expiration_Seconds>
<SFXEvent_GUI_Unit_Ability_Activated>Unit_Defend_A ssault_Frigate</SFXEvent_GUI_Unit_Ability_Activated>
</Unit_Ability>
</Unit_Abilities_Data>

<Encyclopedia_Text> TEXT_TOOLTIP_VENETOR</Encyclopedia_Text>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_FRIGATE </Encyclopedia_Unit_Class>
<Score_Cost_Credits> 4000</Score_Cost_Credits>

<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
<Tactical_Build_Cost_Multiplayer>2000</Tactical_Build_Cost_Multiplayer>
<Tactical_Build_Time_Seconds>30</Tactical_Build_Time_Seconds>
<Tactical_Build_Prerequisites />
<Tactical_Production_Queue>Tactical_Units</Tactical_Production_Queue>
<!--<Build_Limit_Current_Per_Player>0</Build_Limit_Current_Per_Player>-->
<!--<Build_Limit_Lifetime_Per_Player>0</Build_Limit_Lifetime_Per_Player>-->
<!--<MULTIPLAYER SKIRMISH VALUES END>-->
<Population_Value>3</Population_Value>
</SpaceUnit>



just add this code to "spaceunitsfrigates"
and add empire_jedi_cruiser to any skirmish_empire_starbase_X
for skirmish

it will be buildable in CG automaticly
Reply With Quote
  #6  
Old June 11th, 2009
Vjeko1701's Avatar
Star Trek Supremacy
 
Join Date: May 20th, 2008
Location: In Krapina, Croatia
Posts: 456
Rep Power: 4
Vjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputationVjeko1701 has a powerful reputation
Send a message via MSN to Vjeko1701 Send a message via Yahoo to Vjeko1701
Default Re: XML Modding Help

you can use notepad or wordpad, but I use notepad ++, it's free and great
Reply With Quote
  #7  
Old June 11th, 2009
wyndt's Avatar
Reporting for Duty
 
Join Date: June 10th, 2009
Posts: 11
Rep Power: 0
wyndt is a n00b
Smile Re: XML Modding Help

thanks all
Reply With Quote
  #8  
Old June 12th, 2009
The Ferox's Avatar
<insert obvious answer>
 
Join Date: March 31st, 2008
Location: Netherlands
Posts: 988
Rep Power: 4
The Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the PeopleThe Ferox is a friend of the People
Send a message via MSN to The Ferox
Default Re: XML Modding Help

Idk if your comment was meant for me DarthNerd, but anyway, the question was for wyndt. I'd recommend XMLPad, it's also free, and automatically highlight errors you (eventually) make.
__________________
Rig: Intel i5 750 @ 3.98 GHz + Arctic Cooling Freezer 7 Pro | Gigabyte P55-UD3 | 2x2 GB Kingston ValueRAM 1333 MHz | XFX 5770 XT @ 900MHz/1300Mhz| Samsung Spinpoint F3 1TB | CoolerMaster RealPower 520W | CoolerMaster CM690
Reply With Quote
  #9  
Old June 12th, 2009
I want to be like the Admins
 
Join Date: February 27th, 2009
Posts: 205
Rep Power: 0
JC9542 is a n00b
Default Re: XML Modding Help

XMLpad is nice because it does auto-completion for the tags, some degree of error checking, and has the project overview view so you can skip around between major entries without scrolling. However, the tabbing, search, and undo features are atrocious to put it mildly, but like they said it's free. Whatever you do at least get notepad++, textpad, or one of the other nicer free editors out there that will at least do syntax highlighting if you pass on xmlpad. It will save you tons of headaches later on.
Reply With Quote
Reply

Bookmarks

Tags
modding, skirmish, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.