Strike Cruiser -1 reply

Please wait...

JavaJawaUK

Wootikki!

50 XP

13th July 2006

0 Uploads

20 Posts

0 Threads

#1 12 years ago

Hi, I'm trying to code in the Strike Cruiser. I've taken the Hardpoint.xml data for the Victory Cruiser and screwed around with it, and the same goes for the spacefrigates.xml data - I've copied that and mucked about with it. I've changed some of the things on there (I know that I haven't mucked about with the text strings yet) but no matter what I do, I can't get it in-game. Hopefully, one of you guys could tell me where I'm going wrong with this stuff, and I am a newbie to coding. TY for any feedback :bows: HARDPOINTS f(clean); - <HardPoint Name="HP_Strike_Cruiser_Weapon_F-C"> <Type>HARD_POINT_WEAPON_LASERType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_WEAPON_LASERCANNONTooltip_Text>

<Health>140.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Laser_DeathDeath_Explosion_SFXEvent>

<Model_To_Attach>ev_strike_cruiser_HP_F-C.ALOModel_To_Attach>

<Attachment_Bone>HP_F-L_BoneAttachment_Bone>

<Collision_Mesh>HP_F-L_COLLCollision_Mesh>

<Damage_Decal>HP_F-L_BLASTDamage_Decal>

<Damage_Particles>HP_F-L_EMITDAMAGEDamage_Particles>

<Death_Breakoff_Prop>Hardpoint_Breakoff_Strike_Cruiser_Weapon_F-CDeath_Breakoff_Prop>

<Damage_Type>Damage_AcclamatorDamage_Type>

<Fire_Bone_A>FP_F-L_00Fire_Bone_A>

<Fire_Bone_B>FP_F-L_01Fire_Bone_B>

<Fire_Cone_Width>160Fire_Cone_Width>

<Fire_Cone_Height>90.0Fire_Cone_Height>

<Fire_Projectile_Type>Proj_Ship_Large_Laser_Cannon_GreenFire_Projectile_Type>

<Fire_Min_Recharge_Seconds>3.0Fire_Min_Recharge_Seconds>

<Fire_Max_Recharge_Seconds>4.0Fire_Max_Recharge_Seconds>

<Fire_Pulse_Count>8Fire_Pulse_Count>

<Fire_Pulse_Delay_Seconds>0.15Fire_Pulse_Delay_Seconds>

<Fire_Range_Distance>1400.0Fire_Range_Distance>

<Fire_SFXEvent>Unit_Empire_Ship_Laser_FireFire_SFXEvent>

<Fire_Inaccuracy_Distance>Fighter, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Bomber, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Transport, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Corvette, 10.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Frigate, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Capital, 30.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Super, 30.0Fire_Inaccuracy_Distance>

HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Weapon_B-C"> <Type>HARD_POINT_WEAPON_LASERType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_WEAPON_LASERCANNONTooltip_Text>

<Health>140.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Laser_DeathDeath_Explosion_SFXEvent>

<Model_To_Attach>ev_strike_cruiser_HP_B-C.ALOModel_To_Attach>

<Attachment_Bone>HP_F-R_BoneAttachment_Bone>

<Collision_Mesh>HP_F-R_COLLCollision_Mesh>

<Damage_Decal>HP_F-R_BLASTDamage_Decal>

<Damage_Particles>HP_F-R_EMITDAMAGEDamage_Particles>

<Death_Breakoff_Prop>Hardpoint_Breakoff_Strike_Cruiser_Weapon_B-CDeath_Breakoff_Prop>

<Damage_Type>Damage_AcclamatorDamage_Type>

<Fire_Bone_A>FP_F-R_00Fire_Bone_A>

<Fire_Bone_B>FP_F-R_01Fire_Bone_B>

<Fire_Cone_Width>160Fire_Cone_Width>

<Fire_Cone_Height>90.0Fire_Cone_Height>

<Fire_Projectile_Type>Proj_Ship_Large_Laser_Cannon_GreenFire_Projectile_Type>

<Fire_Min_Recharge_Seconds>3.0Fire_Min_Recharge_Seconds>

<Fire_Max_Recharge_Seconds>4.0Fire_Max_Recharge_Seconds>

<Fire_Pulse_Count>8Fire_Pulse_Count>

<Fire_Pulse_Delay_Seconds>0.15Fire_Pulse_Delay_Seconds>

<Fire_Range_Distance>1400.0Fire_Range_Distance>

<Fire_SFXEvent>Unit_Empire_Ship_Laser_FireFire_SFXEvent>

<Fire_Inaccuracy_Distance>Fighter, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Bomber, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Transport, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Corvette, 10.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Frigate, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Capital, 30.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Super, 30.0Fire_Inaccuracy_Distance>

HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Weapon_M-L"> <Fire_Category_Restrictions>Fighter, BomberFire_Category_Restrictions>

<Type>HARD_POINT_WEAPON_LASERType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_WEAPON_TURBOLASERTooltip_Text>

<Health>160.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Missile_DeathDeath_Explosion_SFXEvent>

<Model_To_Attach>ev_strike_cruiser_HP_M-L.ALOModel_To_Attach>

<Attachment_Bone>HP_F-C_BoneAttachment_Bone>

<Collision_Mesh>HP_F-C_COLLCollision_Mesh>

<Damage_Decal>HP_F-C_BLASTDamage_Decal>

<Damage_Particles>HP_F-C_EMITDAMAGEDamage_Particles>

<Death_Breakoff_Prop>Hardpoint_Breakoff_Strike_Cruiser_Weapon_M-LDeath_Breakoff_Prop>

<Fire_Bone_A>FP_F-C_00Fire_Bone_A>

<Fire_Bone_B>FP_F-C_01Fire_Bone_B>

<Fire_Cone_Width>130Fire_Cone_Width>

<Fire_Cone_Height>90.0Fire_Cone_Height>

<Fire_Projectile_Type>Proj_Ship_Concussion_MissileFire_Projectile_Type>

<Fire_Min_Recharge_Seconds>15.0Fire_Min_Recharge_Seconds>

<Fire_Max_Recharge_Seconds>15.0Fire_Max_Recharge_Seconds>

<Fire_Pulse_Count>3Fire_Pulse_Count>

<Fire_Pulse_Delay_Seconds>0.4Fire_Pulse_Delay_Seconds>

<Fire_Range_Distance>1400.0Fire_Range_Distance>

<Fire_SFXEvent>Unit_Missile_FireFire_SFXEvent>

HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Weapon_M-R"> <Fire_Category_Restrictions>Fighter, BomberFire_Category_Restrictions>

<Type>HARD_POINT_WEAPON_LASERType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_WEAPON_TURBOLASERTooltip_Text>

<Health>200.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Turbo_Laser_DeathDeath_Explosion_SFXEvent>

<Model_To_Attach>ev_strike_cruiser_HP_M-R.ALOModel_To_Attach>

<Attachment_Bone>HP_B-L_BoneAttachment_Bone>

<Collision_Mesh>HP_B-L_COLLCollision_Mesh>

<Damage_Decal>HP_B-L_BLASTDamage_Decal>

<Damage_Particles>HP_B-L_EMITDAMAGEDamage_Particles>

<Death_Breakoff_Prop>Hardpoint_Breakoff_Strike_Cruiser_Weapon_M-RDeath_Breakoff_Prop>

<Damage_Type>Damage_AcclamatorDamage_Type>

<Fire_Bone_A>FP_B-L_00Fire_Bone_A>

<Fire_Bone_B>FP_B-L_01Fire_Bone_B>

<Fire_Cone_Width>160Fire_Cone_Width>

<Fire_Cone_Height>90.0Fire_Cone_Height>

<Fire_Projectile_Type>Proj_Ship_Turbolaser_GreenFire_Projectile_Type>

<Fire_Min_Recharge_Seconds>3.0Fire_Min_Recharge_Seconds>

<Fire_Max_Recharge_Seconds>4.0Fire_Max_Recharge_Seconds>

<Fire_Pulse_Count>6Fire_Pulse_Count>

<Fire_Pulse_Delay_Seconds>0.2Fire_Pulse_Delay_Seconds>

<Fire_Range_Distance>1400.0Fire_Range_Distance>

<Fire_SFXEvent>Unit_Turbo_FireFire_SFXEvent>

<Fire_Inaccuracy_Distance>Fighter, 90.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Bomber, 90.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Transport, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Corvette, 10.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Frigate, 15.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Capital, 20.0Fire_Inaccuracy_Distance>

<Fire_Inaccuracy_Distance>Super, 10.0Fire_Inaccuracy_Distance>

HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Engines"> <Type>HARD_POINT_ENGINEType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_ENGINE_HARDPOINTTooltip_Text>

<Health>200.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Engines_DeathDeath_Explosion_SFXEvent>

<Model_To_Attach>ev_strike_cruiser_HP_E.ALOModel_To_Attach>

<Attachment_Bone>HP_E_BoneAttachment_Bone>

- f(clean); <Collision_Mesh>HP_E_COLLCollision_Mesh>

<Damage_Decal />

<Damage_Particles>HP_E_EMITDAMAGEDamage_Particles>

<Engine_Particles>HP_E_MAINENGINESEngine_Particles>

HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Fighter_Bay"> <Type>HARD_POINT_FIGHTER_BAYType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Model_To_Attach>ev_strike_cruiser_HP_HNGR.ALOModel_To_Attach>

<Attachment_Bone>SPAWN_00Attachment_Bone>

<Collision_Mesh>SPAWN_00Collision_Mesh>

<Tooltip_Text>TEXT_FIGHTER_BAY_HARDPOINTTooltip_Text>

<Health>150.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

- f(clean); <Death_Explosion_SFXEvent>Unit_Hardpoint_Gravity_Well_DeathDeath_Explosion_SFXEvent>

- f(clean); HardPoint>

- <HardPoint Name="HP_Strike_Cruiser_Shields"> <Type>HARD_POINT_SHIELD_GENERATORType>

<Is_Targetable>YesIs_Targetable>

<Is_Destroyable>YesIs_Destroyable>

<Tooltip_Text>TEXT_SHIELD_GENERATOR_HARDPOINTTooltip_Text>

<Health>400.0Health>

<Death_Explosion_Particles>Large_Explosion_Space_EmpireDeath_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Shields_DeathDeath_Explosion_SFXEvent>

<Death_Breakoff_Prop>Hardpoint_Breakoff_Victory_Shield_GenDeath_Breakoff_Prop>

<Model_To_Attach>ev_strike_cruiser_HP_SHD.ALOModel_To_Attach>

<Attachment_Bone>HP_C-B_BONEAttachment_Bone>

<Collision_Mesh>HP_C-B_COLLCollision_Mesh>

<Damage_Decal>HP_C-B_BLASTDamage_Decal>

<Damage_Particles>HP_C-B_EMITDAMAGEDamage_Particles>

HardPoint> SPACEFRIGATES - <SpaceUnit Name="Strike_Cruiser"> <Text_ID>TEXT_UNIT_STRIKE_CRUISERText_ID>

<Encyclopedia_Good_Against>Corellian_Corvette Corellian_Gunboat Alliance_Assault_FrigateEncyclopedia_Good_Against>

<Encyclopedia_Vulnerable_To>Y-wing B-wing K-wingEncyclopedia_Vulnerable_To>

<GUI_Row>1GUI_Row>

<Space_Model_Name>ev_strike_cruiser.ALOSpace_Model_Name>

<Select_Box_Scale>450Select_Box_Scale>

<Select_Box_Z_Adjust>-30Select_Box_Z_Adjust>

<Mass>0.9995Mass>

<Scale_Factor>1.8Scale_Factor>

<Ranking_In_Category>6Ranking_In_Category>

<Dense_FOW_Reveal_Range_Multiplier>0.2Dense_FOW_Reveal_Range_Multiplier>

<Max_Speed>1.8Max_Speed>

<Max_Rate_Of_Turn>0.5Max_Rate_Of_Turn>

<MovementClass>SpaceMovementClass>

<Space_Layer>FrigateSpace_Layer>

<Layer_Z_Adjust>-130.0Layer_Z_Adjust>

<Max_Rate_Of_Roll>0.2Max_Rate_Of_Roll>

<Bank_Turn_Angle>8Bank_Turn_Angle>

<OverrideAcceleration>.03OverrideAcceleration>

<OverrideDeceleration>.03OverrideDeceleration>

<Max_Thrust>1.5Max_Thrust>

<Hyperspace>YesHyperspace>

<Hyperspace_Speed>1.5Hyperspace_Speed>

<Maintenance_Cost>0.1Maintenance_Cost>

<Armor_Type>Armor_Victory_ClassArmor_Type>

<Shield_Armor_Type>Shield_FrigateShield_Armor_Type>

<Damage>40Damage>

<Autoresolve_Health>5100Autoresolve_Health>

<Shield_Points>1600Shield_Points>

<Tactical_Health>3500Tactical_Health>

- f(clean); <Shield_Refresh_Rate>80Shield_Refresh_Rate>

<Energy_Capacity>3000Energy_Capacity>

<Energy_Refresh_Rate>500Energy_Refresh_Rate>

<Affiliation>EmpireAffiliation>

<Tech_Level>99Tech_Level>

<Required_Timeline>0Required_Timeline>

<Required_Ground_Base_Level>0Required_Ground_Base_Level>

<Required_Star_Base_Level>4Required_Star_Base_Level>

<Required_Special_Structures />

<Required_Planets />

<Ship_Class>cruiserShip_Class>

<Formation_Priority>3Formation_Priority>

<Is_Escort>yesIs_Escort>

<Is_Bomber>noIs_Bomber>

<Political_Control>0Political_Control>

<Squadron_Capacity>15Squadron_Capacity>

<Transport_Capacity>12Transport_Capacity>

<Number_per_Squadron>1Number_per_Squadron>

<Build_Cost_Credits>4000Build_Cost_Credits>

<AI_Combat_Power>4000AI_Combat_Power>

<Build_Time_Seconds>40Build_Time_Seconds>

<Build_Tab_Space_Units>YesBuild_Tab_Space_Units>

<Size_Value>8Size_Value>

<Behavior>DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDEDBehavior>

<SpaceBehavior>ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULASpaceBehavior>

<Collidable_By_Projectile_Living>YesCollidable_By_Projectile_Living>

<Asteroid_Damage_Hit_Particles>Large_Damage_SpaceAsteroid_Damage_Hit_Particles>

<Space_FOW_Reveal_Range>1200.0Space_FOW_Reveal_Range>

<Targeting_Max_Attack_Distance>1800.0Targeting_Max_Attack_Distance>

<Death_Explosions>Large_Explosion_Space_EmpireDeath_Explosions>

<Death_Clone>Damage_Normal, Victory_Destroyer_Death_CloneDeath_Clone>

<HardPoints>HP_Strike_Cruiser_Weapon_F-C, HP_Strike_Cruiser_Weapon_B-C, HP_Strike_Cruiser_Weapon_M-L, HP_Strike_Cruiser_Weapon_M-R, HP_Strike_Cruiser_Engines, HP_Strike_Cruiser_Fighter_Bay, HP_Strike_Cruiser_ShieldsHardPoints>

<CategoryMask>Frigate | AntiCorvetteCategoryMask>

<Icon_Name>I_BUTTON_STRIKE_CRUISER.tgaIcon_Name>

<GUI_Model_Name>ev_strike_cruiser.ALOGUI_Model_Name>

<GUI_Distance>1100GUI_Distance>

<GUI_Offset>0 0 0GUI_Offset>

<GUI_Velocity>45GUI_Velocity>

<Victory_Relevant>yesVictory_Relevant>

<Has_Space_Evaluator>TrueHas_Space_Evaluator>

<SFXEvent_Build_Started>EHD_Build_VehicleSFXEvent_Build_Started>

<SFXEvent_Build_Cancelled>EHD_Unit_CanceledSFXEvent_Build_Cancelled>

<SFXEvent_Build_Complete>Unit_Complete_Victory_DestroyerSFXEvent_Build_Complete>

<SFXEvent_Ambient_Loop>Unit_Victory_Destroyer_Moving_Engine_LoopSFXEvent_Ambient_Loop>

<SFXEvent_Select>Unit_Select_Victory_DestroyerSFXEvent_Select>

<SFXEvent_Move[COLOR=




swfan654

IA2&DE Coder and Rigger

50 XP

9th June 2006

0 Uploads

1,027 Posts

0 Threads

#2 12 years ago

for skirmish? did you add the title into the Empire skirmish starbases in Starbases.XML??




JavaJawaUK

Wootikki!

50 XP

13th July 2006

0 Uploads

20 Posts

0 Threads

#3 12 years ago

oh, sorry, its for GC, not skirmish . . .




swfan654

IA2&DE Coder and Rigger

50 XP

9th June 2006

0 Uploads

1,027 Posts

0 Threads

#4 12 years ago

no wonder, you have the tech level set to 99 :P change it to whatever you want under 4.




JavaJawaUK

Wootikki!

50 XP

13th July 2006

0 Uploads

20 Posts

0 Threads

#5 12 years ago

doh! :O. TY, I'll give it a shot ;)




JavaJawaUK

Wootikki!

50 XP

13th July 2006

0 Uploads

20 Posts

0 Threads

#6 12 years ago

Hmmm. Still no . . .




Guest

I didn't make it!

0 XP

 
#7 12 years ago

When you get it to work, could you send a copy of it to me maybe? I would do it myself but I can't code very well.




ViceMan

Illmatic.™

50 XP

7th March 2006

0 Uploads

168 Posts

0 Threads

#8 12 years ago

The only thing I can see wrong, except the tech level is this: <Ship_Class>cruiserShip_Class> It should be set to frigate. And if you're trying to get it to work in skirmish you need to add it to the buildable units in Starbases.XML. Also on another note which won't affect the game, the death clone is set to the Victory death clone. That's more of a superficial thing though.




rockon_rrh

The Internet ends at GF

50 XP

24th October 2003

0 Uploads

111 Posts

0 Threads

#9 12 years ago

JavaJawaUK- <SpaceUnit Name="Strike_Cruiser"> <Variant_Of_Existing_Type>Strike_Cruiser_No_FightersVariant_Of_Existing_Type>

<Tech_Level>3Tech_Level>

- f(clean); <Starting_Spawned_Units_Tech_0>TIE_Fighter_Squadron, 2Starting_Spawned_Units_Tech_0>

<Starting_Spawned_Units_Tech_0>TIE_Bomber_Squadron, 1Starting_Spawned_Units_Tech_0>

<Reserve_Spawned_Units_Tech_0>TIE_Fighter_Squadron, 4Reserve_Spawned_Units_Tech_0>

<Reserve_Spawned_Units_Tech_0>TIE_Bomber_Squadron, 2Reserve_Spawned_Units_Tech_0>

<Spawned_Squadron_Delay_Seconds>5Spawned_Squadron_Delay_Seconds>

<SpaceBehavior>SPAWN_SQUADRON, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULASpaceBehavior>

<Population_Value>3Population_Value>

SpaceUnit>

Note that this section says it is a variant of the "Strike_Cruiser_No_Fighters" XML, but there is none since your first xml entry is titled as "Strike_Cruiser" as well. This will either cause an exception or keep the ship from showing up in game, which is the problem. I believe it will work if you remove the above section and add the starfighter info into the first entry. Does that make sense because I am confusing myself?




Kalo Shin

AoSW Joint Leader

50 XP

25th August 2006

0 Uploads

2,053 Posts

0 Threads

#10 12 years ago

WHY did you quote all that.