XML Modding Help -1 reply

Please wait...

wyndt

Reporting for Duty

50 XP

10th June 2009

0 Uploads

11 Posts

0 Threads

#1 9 years ago

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'.




Major A Payne

The 6th Day

50 XP

7th August 2002

0 Uploads

2,535 Posts

0 Threads

#2 9 years ago

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:

The Venator entry is located about midway down this file:

UNIQUEUNITS.XML




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#3 9 years ago

May I ask what program you use for editing XML's?




DarthNerd

The Brainy Sith

50 XP

12th June 2007

0 Uploads

142 Posts

0 Threads

#4 9 years ago

notepad or wordpad




Vjeko1701

Star Trek Supremacy

50 XP

20th May 2008

0 Uploads

546 Posts

0 Threads

#5 9 years ago

TEXT_UNIT_JEDI_CRUISER Tartan_Patrol_Cruiser Broadside_Class_Cruiser Tie_Bomber TIE_Bomber Star_Destroyer Victory_Destroyer 2 NV_JEDICRUISER.ALO0.999.950.23034008002500504000500Empire62.20.7 Space Frigate 0.25 .1 .1 -90.0 Armor_Victory_Class Shield_Frigate1.6Yes400-3035.01.50.1YesYes22003003frigate6yesno010812500340030Yes8 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, SPAWN_SQUADRON, NEBULA1200.01000.0YesLarge_Explosion_Space No Damage_Normal, Jedi_Cruiser_Death_CloneLarge_Damage_Space0.24 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 Frigate | AntiCorvettei_button_jedi_cruiser.tgaRV_NebulonB.ALO10000 0 045yesTrueRHD_Build_VehicleRHD_Unit_CanceledUnit_Complete_Jedi_CruiserUnit_Acclamator_Moving_Engine_LoopUnit_Select_Jedi_CruiserUnit_Move_Jedi_CruiserUnit_Fleet_Move_Jedi_CruiserUnit_Attack_Jedi_CruiserUnit_Guard_Jedi_CruiserUnit_Stop_Jedi_CruiserUnit_Barrage_Jedi_Cruiser Unit_Asteroids_Jedi_Cruiser Unit_Nebula_Jedi_Cruiser SFX_Asteroid_Detonation HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Jedi_Cruiser HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Jedi_Cruiser HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Jedi_Cruiser HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Jedi_Cruiser HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Jedi_Cruiser HARD_POINT_ENGINE, Unit_HP_ENGINES_Jedi_Cruiser HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Jedi_Cruiser HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Jedi_Cruiser HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Jedi_Cruiser HARD_POINT_ENGINE, Unit_Lost_Engines_Jedi_Cruiser HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Rebel_Space_Station HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Acclamator_Idle_Engine_Loop Unit_Acclamator_Moving_Engine_Loop Unit_Acclamator_Cinematic_Engine_Loop Unit_Cruiser_Death_SFX Yes Yes1.01.01000.00.0400.05.0FrigateDEFEND60WEAPON_DELAY_MULTIPLIER, 1.0fSHIELD_REGEN_MULTIPLIER, 1.0fSHIELD_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_MULTIPLIER, 3.0fSPEED_MULTIPLIER, 0.8f15Unit_Defend_Assault_Frigate TEXT_TOOLTIP_VENETOR TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 4000200030Tactical_Units3

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




Vjeko1701

Star Trek Supremacy

50 XP

20th May 2008

0 Uploads

546 Posts

0 Threads

#6 9 years ago

you can use notepad or wordpad, but I use notepad ++, it's free and great




wyndt

Reporting for Duty

50 XP

10th June 2009

0 Uploads

11 Posts

0 Threads

#7 9 years ago

thanks all




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#8 9 years ago

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.




JC9542

I want to be like the Admins

50 XP

27th February 2009

0 Uploads

212 Posts

0 Threads

#9 9 years ago

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.