As the titles says, I've got a problem with Tie Fighters and Bombers in the GC ships tab. I've got them set as buildable, thats no problem.. But they show up twice in the ships tab, taking valuable space. I'm just wondering if anyone would know why this is happening, and it how it can be fixed. Thanks.
Do you want me to take a wild guess at the error or can you post the code so i can take a look?
TEXT_TIE_FIGHTER_2_SQUADRON Y-Wing Z-95_Headhunter_Rebel Corellian_Corvette X-wing A-Wing 1 Yes1Yesno30025Empire015015Yes01DUMMY_SPACE_FIGHTER_SQUADRONTIE_Fighter, TIE_Fighter, TIE_Fighter, TIE_FighterTIE_Fighter, TIE_Fighter, TIE_Fighter60.0,0.0,0.00.0,30.0,0.00.0,-30.0,0.0-60.0,60.0,0.0-60.0,-60.0,0.0-120.0,90.0,0.0-120.0,-90.0,0.0i_button_tie_fighter.tgaEV_TieFighter.ALO1200 0 045EHD_Build_VehicleEHD_Unit_CanceledUnit_Complete_Tie_Fighter135.01000.0200.0300.0500.0noNo SmallShip 420 6 HUNTTEXT_TOOLTIP_TIE_FIGHTERTEXT_ENCYCLOPEDIA_CLASS_FIGHTER2753.5Tactical_Units0
TEXT_UNIT_TIE_FIGHTERTEXT_TOOLTIP_TIE_FIGHTER TEXT_ENCYCLOPEDIA_CLASS_FIGHTER Y-Wing Z-95_Headhunter_Rebel Corellian_Corvette X-wing A-Wing ev_TieFighter.ALO0.770-1 50.0 00.20.9854.53.54.041.05.050no0800.0no2040Empire080500500300fighter Armor_Fighter 1Yesno0083058HUNT, FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, POWERED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, NEBULA Yes3Damage_FighterProj_Ship_Small_Laser_Cannon_Green20.10.7 Fighter, 1.0 Bomber, 1.0 Transport, 1.0 Corvette, 30.0 Frigate, 30.0 Capital, 30.0 Super, 30.0 130.0500.0500.0Small_Explosion_Space_EmpireUnit_TIE_Fighter_Death_SFXSmall_Damage_Space Unit_TIE_Fighter_Fire Unit_Select_TIE_Fighter Unit_Move_TIE_Fighter Unit_Fleet_Move_TIE_Fighter Unit_Attack_TIE_Fighter Unit_Guard_TIE_Fighter Unit_Asteroids_TIE_Fighter Unit_Nebula_TIE_Fighter Unit_Health_Low_TIE_Fighter Unit_Health_Critical_TIE_Fighter Unit_Enemy_Health_Low_Tie_Fighter Unit_Enemy_Health_Critical_Tie_Fighter HARD_POINT_WEAPON_LASER, Unit_HP_LASER_TIE_Fighter HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_TIE_Fighter HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_TIE_Fighter HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_TIE_Fighter HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_TIE_Fighter HARD_POINT_ENGINE, Unit_HP_ENGINES_TIE_Fighter HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_TIE_Fighter Unit_TIE_Fighter_Fly_By 5 10 Unit_TIE_Fighter_Cinematic_Engine_Loop Fighter | AntiBomber SmallShip i_button_tie_fighter.tganoYes 15.0 Space 1-1.050.0Yes352.0Fighter5.0 75, 75, 75, 255 HUNTYes0.42.0fSmall_Explosion_Space_EmpireUnit_TIE_Fighter_Spinning_Bytrue500.00
If you can spot it in the Tie Fighters code, then i can just fix it in the Bombers code also. Thanks.
I'm not even sure why you can build it... 8
You don't have lvl 8 star bases... you shouldn't be able to build it...
Thats just in the fighters.xml. It was a test. I set it to 8 to see if having both the squadrons.xml Ties buildable, and the spaceunitsfighters.xml Ties buildable had created the double ship problem. Needless to say it didnt fix the problem.
K, Are you sure you dont have duplicated entries in your squadrons.xml file - this is the file which allows which ships are buildable. At least one of the TIE entries needs to be set to 'No' for not buildable.
Probably something to do with this: TIE_Fighter_SquadronTIE_Fighter_E3, TIE_Fighter_E3, TIE_Fighter_E3,TIE_Fighter_E3TIE_Fighter_E3, TIE_Fighter_E3, TIE_Fighter_E3TIE_Bomber_SquadronTIE_Bomber_E3, TIE_Bomber_E3TIE_Bomber_E3, TIE_Bomber_E3 Add the No line to both of those entries, it SHOULD solve the problem.
no its probley the problem in the fighters.xml
ViceManProbably something to do with this: TIE_Fighter_SquadronTIE_Fighter_E3, TIE_Fighter_E3, TIE_Fighter_E3,TIE_Fighter_E3TIE_Fighter_E3, TIE_Fighter_E3, TIE_Fighter_E3TIE_Bomber_SquadronTIE_Bomber_E3, TIE_Bomber_E3TIE_Bomber_E3, TIE_Bomber_E3 Add the No line to both of those entries, it SHOULD solve the problem.
That fixed it. Thanks alot:)