XML problem -1 reply

Please wait...

Grig

I post therefor I am

50 XP

3rd July 2006

0 Uploads

660 Posts

0 Threads

#1 14 years ago

Hello, as of late I've been putting A LOT of new units in game and it has been GREAT... but this new one has me stumped... two nights ago I put the Republic-Class Star Destroyer in game and it looked stellar... but later I added another unit and accidentally overwrought the previous one I'd made.

As a result I was forced to re-enter the unit but this time, this time I can't get it to build... I can't get it to spawn I can't get it to do anything! Could someone please take a look at this entry and tell me what I've done wrong?

6200 40 5 0 0 MonCalimari, Kuat, Fondor, Sullust 99 5 1 Text_Unit_Republic_Class_Destroyer Victory_Destroyer Acclamator_Assault_Ship Tartan_Patrol_Cruiser TIE_Bomber REB_REPUBLIC_DESTROYER.ALO 0.999 3.3 70 5000 Armor_Star_Destroyer Shield_Capital 1500 5500 50 6000 600 Space Capital -330.0 2.4 0.8 5 Yes 1.5 .02 .02 0.1 400 -30 35.0 Rebel No No Capital 3 yes no Rebel 40 1 3200 Yes 8 SELECTABLE, DUMMY_STARSHIP ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, HIDE_WHEN_FOGGED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA 1200.0 0.24 1600.0 Yes Large_Explosion_Space Small_Damage_Space HP_Republic_Star_Destroyer_Weapon_FBL HP_Republic_Star_Destroyer_Weapon_FBR, HP_Republic_Star_Destroyer_Weapon_FTR, HP_Republic_Star_Destroyer_Weapon_FTL, HP_Republic_Star_Destroyer_Weapon_MBL, HP_Republic_Star_Destroyer_Weapon_MML, HP_Republic_Star_Destroyer_Weapon_MTL, HP_Republic_Star_Destroyer_Weapon__MTR, HP_Republic_Star_Destroyer_Weapon_MMR, HP_Republic_Star_Destroyer_Weapon_MBR, HP_Republic_Star_Destroyer_Shield_Generator, HP_Republic_Star_Destroyer_Engines, HP_Star_Destroyer_Fighter_Bay, HP_Star_Destroyer_Tractor_Beam Capital | AntiFrigate i_button_imperator.tga yes True Unit_Select_Star_Destroyer Unit_Move_Star_Destroyer Unit_Fleet_Move_Star_Destroyer Unit_Attack_Star_Destroyer Unit_Guard_Star_Destroyer Unit_Move_Opposite_Star_Destroyer Unit_Barrage_Star_Destroyer Unit_Stop_Star_Destroyer Unit_Asteroids_Star_Destroyer Unit_Nebula_Star_Destroyer SFX_Asteroid_Detonation

HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Star_Destroyer HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Star_Destroyer HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Star_Destroyer HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Star_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Star_Destroyer HARD_POINT_ENGINE, Unit_HP_ENGINES_Star_Destroyer

Unit_Star_Destroyer_Idle_Engine_Loop

HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Star_Destroyer HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Star_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Star_Destroyer HARD_POINT_ENGINE, Unit_Lost_Engines_Star_Destroyer HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Star_Destroyer HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY,

Unit_Star_Destroyer_Death_SFX EHD_Build_Vehicle EHD_Unit_Canceled Unit_Complete_Star_Destroyer

Unit_Star_Destroyer_Idle_Engine_Loop Unit_Star_Destroyer_Moving_Engine_Loop Unit_Star_Destroyer_Cinematic_Engine_Loop

Yes Yes 1.0 1.0 1000.0 0.0 400.0 5.0 Capital Damage_Normal, Star_Destroyer_Death_Clone 3.0 5.0 5.0 0.5 TEXT_TOOLTIP_REPUBLIC_CLASS_STAR_DESTROYER TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS TEXT_ENCYCLOPEDIA_CLASS_CAPITAL 45000 TRACTOR_BEAM SPEED_MULTIPLIER, 0.8f SD_Tractor_Beam_Attack_Ability 25 Unit_Tractor_Beam_Star_Destroyer Unit_Star_Destroyer_Tractor_Beam

User_Input Transport | Corvette | Frigate Millennium_Falcon 10 1800

0.75 0

2200 22 Tactical_Units 3




AdmiralHocking

I pretend I'm cooler than AzH

50 XP

30th April 2006

0 Uploads

5,252 Posts

0 Threads

#2 14 years ago

Got it in one. Your tech level is set to 99. Which doesnt exist, hense making the unit un-buildable.




balzich14

Modder

50 XP

25th May 2006

0 Uploads

287 Posts

0 Threads

#3 13 years ago

also u gotta change this No Yes




Grig

I post therefor I am

50 XP

3rd July 2006

0 Uploads

660 Posts

0 Threads

#4 13 years ago

No good, anyone else?




AdmiralHocking

I pretend I'm cooler than AzH

50 XP

30th April 2006

0 Uploads

5,252 Posts

0 Threads

#5 13 years ago

Ah now I see. You havn't got which side can build it. You need to add the line >Empire/Rebelion




King Dain

AoSW Mod Leader

50 XP

11th July 2006

0 Uploads

19 Posts

0 Threads

#6 13 years ago

ya justa few typos. Apart from that i think it should work




balzich14

Modder

50 XP

25th May 2006

0 Uploads

287 Posts

0 Threads

#7 13 years ago

:smokin:

AdmiralHockingAh now I see. You havn't got which side can build it. You need to add the line >Empire/Rebelion

sorry to bust your bubble but, he does have the affiliation 400 -30 35.0 Rebel No No its right in this part.




Dfeeds

...

50 XP

16th March 2006

0 Uploads

485 Posts

0 Threads

#8 13 years ago

what i tend to do when I can't find a problem is rewrite the entry from the ground up and instead of changing everything i test it first, like first see if you can get the unit to work, then change its abilities around, that way when the unit doesn't appear or the game crashes you know exactly what you did instead of changing 50 things right off the bat and not knowing what you did wrong




Grig

I post therefor I am

50 XP

3rd July 2006

0 Uploads

660 Posts

0 Threads

#9 13 years ago

No worries guys, it was my computer not the mod, I've fixed it and I'm working on adding more stuff :D Thanks for all your advice