Coding issues... -1 reply

Please wait...

Wizardington

For the New Republic!!!!!

50 XP

8th June 2007

0 Uploads

455 Posts

0 Threads

#1 10 years ago

ok i added in a brand new unit, hard points and everything, right, and one hard point isn't working and it isn't buildable, yes i did the build intaily locked thing, it still isn't builable, so what od i do???




ShadowCrow

Good games r 1's I can't beat.

50 XP

6th November 2007

0 Uploads

167 Posts

0 Threads

#2 10 years ago

Um... You need to write that better, and perhaps explain a little more. Like what kind of unit it is, how are you trying to build it(GC, space/ground skirmish) and what kind of hardpoint?




Wizardington

For the New Republic!!!!!

50 XP

8th June 2007

0 Uploads

455 Posts

0 Threads

#3 10 years ago

ok i try py spawn or start battle get exception here is code: <?xml version="1.0" ?> - <CHC_Data> - <SpaceUnit Name="CHC"> <Text_ID>CHCText_ID> <Encyclopedia_Good_Against>Corellian_Corvette Interceptor4_Frigate Nebulon_B_FrigateEncyclopedia_Good_Against> <Encyclopedia_Vulnerable_To>Y-wing Skipray_Blastboat MC30_FrigateEncyclopedia_Vulnerable_To> <GUI_Row>1GUI_Row> <Space_Model_Name>cis_lucrehulk.ALOSpace_Model_Name> <Ranking_In_Category>5Ranking_In_Category> <GUI_Bracket_Height>500GUI_Bracket_Height> <Is_Named_Hero>YesIs_Named_Hero> <GUI_Bracket_Size>2GUI_Bracket_Size> <Select_Box_Scale>800Select_Box_Scale> <Select_Box_Z_Adjust>-50Select_Box_Z_Adjust> <Scale_Factor>.6Scale_Factor> <Mass>0.999Mass> <Dense_FOW_Reveal_Range_Multiplier>0.24Dense_FOW_Reveal_Range_Multiplier> <Multisample_FOW_Check>YesMultisample_FOW_Check> <Visible_On_Radar_When_Fogged>trueVisible_On_Radar_When_Fogged> <Armor_Type>Armor_Star_DestroyerArmor_Type> <Shield_Armor_Type>Shield_CapitalShield_Armor_Type> <Max_Speed>1.4Max_Speed> <Max_Rate_Of_Turn>0.3Max_Rate_Of_Turn> <MovementClass>SpaceMovementClass> <Space_Layer>CapitalSpace_Layer> <Layer_Z_Adjust>-330.0Layer_Z_Adjust> <Max_Rate_Of_Roll>0.1Max_Rate_Of_Roll> <Bank_Turn_Angle>5Bank_Turn_Angle> <OverrideAcceleration>.02OverrideAcceleration> <OverrideDeceleration>.02OverrideDeceleration> <Max_Thrust>0.1Max_Thrust> <Hyperspace>YesHyperspace> <Hyperspace_Speed>1Hyperspace_Speed> <Maintenance_Cost>0.3Maintenance_Cost> <Affiliation>UnderworldAffiliation> <Tech_Level>0Tech_Level> <Required_Timeline>0Required_Timeline> <Required_Ground_Base_Level>0Required_Ground_Base_Level> <Required_Star_Base_Level>0Required_Star_Base_Level> <Required_Special_Structures /> <Damage>70Damage> <Autoresolve_Health>7500Autoresolve_Health> <Shield_Points>3000Shield_Points> <Tactical_Health>8000Tactical_Health> <Shield_Refresh_Rate>50Shield_Refresh_Rate> <Energy_Capacity>8000Energy_Capacity> <Energy_Refresh_Rate>800Energy_Refresh_Rate> <Ship_Class>capitalShip_Class> <Surface_Bombardment_Capable>yesSurface_Bombardment_Capable> <Squadron_Capacity>40Squadron_Capacity> <Build_Cost_Credits>10000Build_Cost_Credits> <Piracy_Value_Credits>250Piracy_Value_Credits> <AI_Combat_Power>5900AI_Combat_Power> <Build_Initially_Locked>noBuild_Initially_Locked> <Build_Time_Seconds>40Build_Time_Seconds> <Build_Tab_Space_Units>YesBuild_Tab_Space_Units> <Size_Value>8Size_Value> -<Starting_Spawned_Units_Tech_0>Y-wing_squadron, 4Starting_Spawned_Units_Tech_0> <Starting_Spawned_Units_Tech_0>n1_squadron, 4Starting_Spawned_Units_Tech_0> <Starting_Spawned_Units_Tech_0>eta2_Fighter_Squadron, 4Starting_Spawned_Units_Tech_0> <Spawned_Squadron_Delay_Seconds>5Spawned_Squadron_Delay_Seconds> <Reserve_Spawned_Units_Tech_0>eta2_Fighter_Squadron, 15Reserve_Spawned_Units_Tech_0> <Reserve_Spawned_Units_Tech_0>n1_Squadron, 15Reserve_Spawned_Units_Tech_0> <Reserve_Spawned_Units_Tech_0>Y-wing_Squadron, 15Reserve_Spawned_Units_Tech_0> <Behavior>SELECTABLE, DUMMY_STARSHIPBehavior> <SpaceBehavior>ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, HIDE_WHEN_FOGGED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULASpaceBehavior> <Collidable_By_Projectile_Living>YesCollidable_By_Projectile_Living> <Death_Explosions>Large_Explosion_Space_EmpireDeath_Explosions> <Asteroid_Damage_Hit_Particles>Large_Damage_SpaceAsteroid_Damage_Hit_Particles> <Death_Clone>Damage_Normal, CHCDDeath_Clone> <Space_FOW_Reveal_Range>1200.0Space_FOW_Reveal_Range> <Targeting_Max_Attack_Distance>2000.0Targeting_Max_Attack_Distance> <HardPoints>CHC00, CHC01, CHC02, CHC03, CHC_Generator, CHC_Fighter_Bay, CHC_EnginesHardPoints> <SFXEvent_Select>Unit_Select_Star_DestroyerSFXEvent_Select> <SFXEvent_Move>Unit_Move_Star_DestroyerSFXEvent_Move> <SFXEvent_Fleet_Move>Unit_Fleet_Move_Star_DestroyerSFXEvent_Fleet_Move> <SFXEvent_Attack>Unit_Attack_Star_DestroyerSFXEvent_Attack> <SFXEvent_Guard>Unit_Guard_Star_DestroyerSFXEvent_Guard> <SFXEvent_Move_Opposite>Unit_Move_Opposite_Star_DestroyerSFXEvent_Move_Opposite> <SFXEvent_Barrage>Unit_Barrage_Star_DestroyerSFXEvent_Barrage> <SFXEvent_Stop>Unit_Stop_Star_DestroyerSFXEvent_Stop> <SFXEvent_Move_Into_Asteroid_Field>Unit_Asteroids_Star_DestroyerSFXEvent_Move_Into_Asteroid_Field> <SFXEvent_Move_Into_Nebula>Unit_Nebula_Star_DestroyerSFXEvent_Move_Into_Nebula> <SFXEvent_Damaged_By_Asteroid>SFX_Asteroid_DetonationSFXEvent_Damaged_By_Asteroid> <SFXEvent_Bombard_Select_Target>EHD_Bombard_Select_TargetSFXEvent_Bombard_Select_Target> <SFXEvent_Bombard_Incoming>EHD_Bombard_IncomingSFXEvent_Bombard_Incoming> <SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_Star_DestroyerSFXEvent_Attack_Hardpoint> <SFXEvent_Ambient_Loop>Unit_Star_Destroyer_Idle_Engine_LoopSFXEvent_Ambient_Loop> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Star_DestroyerSFXEvent_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, Unit_Lost_Ion_Star_DestroyerSFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Star_DestroyerSFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_ENGINE, Unit_Lost_Engines_Star_DestroyerSFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_GRAVITY_WELL,SFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Star_DestroyerSFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_TRACTOR_BEAM,SFXEvent_Hardpoint_Destroyed> <SFXEvent_Hardpoint_Destroyed>HARD_POINT_ENABLE_SPECIAL_ABILITY,SFXEvent_Hardpoint_Destroyed> <Death_SFXEvent_Start_Die>Unit_Star_Destroyer_Death_SFXDeath_SFXEvent_Start_Die> <SFXEvent_Build_Started>EHD_Build_VehicleSFXEvent_Build_Started> <SFXEvent_Build_Cancelled>EHD_Unit_CanceledSFXEvent_Build_Cancelled> <SFXEvent_Build_Complete>Unit_Complete_Star_DestroyerSFXEvent_Build_Complete> <SFXEvent_Engine_Idle_Loop>Unit_Star_Destroyer_Idle_Engine_LoopSFXEvent_Engine_Idle_Loop> <SFXEvent_Engine_Moving_Loop>Unit_Star_Destroyer_Moving_Engine_LoopSFXEvent_Engine_Moving_Loop> <SFXEvent_Engine_Cinematic_Focus_Loop>Unit_Star_Destroyer_Cinematic_Engine_LoopSFXEvent_Engine_Cinematic_Focus_Loop> <CategoryMask>SpaceHero | Capital | AntiFrigateCategoryMask> <Icon_Name>I_BUTTON_FLEET_COMMANDER_BUST.TGAIcon_Name> <GUI_Model_Name>cis_lucrehulk.aloGUI_Model_Name> <GUI_Distance>2300GUI_Distance> <GUI_Offset>0 0 0GUI_Offset> <GUI_Velocity>45GUI_Velocity> <Victory_Relevant>yesVictory_Relevant> <Space_Full_Stop_Command>YesSpace_Full_Stop_Command> <Has_Space_Evaluator>TrueHas_Space_Evaluator> <Guard_Chase_Range>1000.0Guard_Chase_Range> <Idle_Chase_Range>0.0Idle_Chase_Range> <Attack_Move_Response_Range>400.0Attack_Move_Response_Range> <Targeting_Stickiness_Time_Threshold>5.0Targeting_Stickiness_Time_Threshold> <Targeting_Priority_Set>CapitalTargeting_Priority_Set> <Is_Visible_On_Radar>YesIs_Visible_On_Radar> <Radar_Icon_Name>i_radar_capital_ship_empire.tgaRadar_Icon_Name> <Radar_Icon_Scale_Land>1.0Radar_Icon_Scale_Land> <Radar_Icon_Scale_Space>1.0Radar_Icon_Scale_Space> <Tactical_Bribe_Cost>4000Tactical_Bribe_Cost> - <Encyclopedia_Text>CHC2Encyclopedia_Text> <Score_Cost_Credits>45000Score_Cost_Credits> - <Tactical_Build_Cost_Multiplayer>10000Tactical_Build_Cost_Multiplayer> <Tactical_Build_Time_Seconds>75Tactical_Build_Time_Seconds> <Tactical_Build_Prerequisites /> <Tactical_Production_Queue>Tactical_UnitsTactical_Production_Queue> - <Build_Limit_Current_Per_Player>1Build_Limit_Current_Per_Player> - <Build_Limit_Lifetime_Per_Player>-1Build_Limit_Lifetime_Per_Player> - - f(clean); SpaceUnit>

CHC_Data>




Darth_Windu

RotC Creator

50 XP

3rd September 2007

0 Uploads

1,194 Posts

0 Threads

#4 10 years ago

Might have something to do with the fact you have it so the ship can be built without a starbase.




ShadowCrow

Good games r 1's I can't beat.

50 XP

6th November 2007

0 Uploads

167 Posts

0 Threads

#5 10 years ago

You need to remove that end quote.

Should be:

And what's with all the dash's? - You've got a dash -on several of the lines. -Why?




Wizardington

For the New Republic!!!!!

50 XP

8th June 2007

0 Uploads

455 Posts

0 Threads

#6 10 years ago

some ofthe codign isn't there character limit




jedi_consulor

Girl Gamers,were Awesome!

50 XP

13th July 2006

0 Uploads

1,246 Posts

0 Threads

#7 10 years ago

did you actually add the new spaceunit to the gameobjectfiles.xml - entry in that file is needed for the new unit in order for it to show as buildable in the game in conjunction with other space buildable code in its xml file. :)




Wizardington

For the New Republic!!!!!

50 XP

8th June 2007

0 Uploads

455 Posts

0 Threads

#8 10 years ago

i solved the issue, i made new hardpoints