XML Modding Help -1 reply

Please wait...

wyndt

Reporting for Duty

50 XP

10th June 2009

0 Uploads

11 Posts

0 Threads

#1 10 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 10 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 10 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 10 years ago

notepad or wordpad




Vjeko1701

Star Trek Supremacy

50 XP

20th May 2008

0 Uploads

546 Posts

0 Threads

#5 10 years ago

TEXT_UNIT_JEDI_CRUISER Tartan_Patrol_Cruiser Broadside_Class_Cruiser Tie_Bomber TIE_Bomber Star_Destroyer Victory_Destroyer 2 NV_JEDICRUISER.ALO 0.999 .95 0.2 30 3400 800 2500 50 4000 500 Empire 6 2.2 0.7 Space Frigate 0.2 5 .1 .1 -90.0

Armor_Victory_Class Shield_Frigate

1.6 Yes 400 -30 35.0 1.5 0.1 Yes Yes 2200 3 0 0 3 frigate 6 yes no 0 10 8 1 2500 3400 30 Yes 8

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, NEBULA

1200.0 1000.0 Yes Large_Explosion_Space No

Damage_Normal, Jedi_Cruiser_Death_Clone

Large_Damage_Space 0.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 | AntiCorvette i_button_jedi_cruiser.tga RV_NebulonB.ALO 1000 0 0 0 45 yes True

RHD_Build_Vehicle RHD_Unit_Canceled Unit_Complete_Jedi_Cruiser

Unit_Acclamator_Moving_Engine_Loop Unit_Select_Jedi_Cruiser Unit_Move_Jedi_Cruiser Unit_Fleet_Move_Jedi_Cruiser Unit_Attack_Jedi_Cruiser Unit_Guard_Jedi_Cruiser Unit_Stop_Jedi_Cruiser Unit_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 Yes 1.0 1.0

1000.0 0.0 400.0 5.0 Frigate

DEFEND 60 WEAPON_DELAY_MULTIPLIER, 1.0f SHIELD_REGEN_MULTIPLIER, 1.0f SHIELD_REGEN_INTERVAL_MULTIPLIER, 0.10f ENERGY_REGEN_INTERVAL_MULTIPLIER, 0.10f ENERGY_REGEN_MULTIPLIER, 3.0f SPEED_MULTIPLIER, 0.8f 15 Unit_Defend_Assault_Frigate TEXT_TOOLTIP_VENETOR TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 4000

2000 30 Tactical_Units 3

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 10 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 10 years ago

thanks all




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#8 10 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 10 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.