Giving a Marauder Cluster Bombs -1 reply

  • 1
  • 2

Please wait...

Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#1 9 years ago

That's what I'm trying to do. However, it's not working so well. Here's my code, can anyone assist?

TEXT_UNIT_MARAUDER_CRUISER Empire_Star_Base_1 TIE_Fighter Starviper_Fighter Vengeance_Frigate Victory_Destroyer Acclamator_Assault_Ship 1 rv_missile_ship.alo i_button_marauder.tga 250 -30 0.995 1 0.2

7 1.8 1.5 Space Corvette -20.0 0.2 15 .05 .05

0 Armor_Missile_Cruiser Shield_Corvette 0.5 Yes 1.5 0.05 2.0 0.0

Damage_Normal, Marauder_Missile_Cruiser_Death_Clone 1200.0 2000.0

Rebel Yes Yes 640 1 0 0 2 600 20 300 650 12 1500 300 corvette 3 Yes no 0 0 4 1 1800 50 1400 15 Yes 120 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

1200.0 3000.0 Proj_Vengeance_Mass_Driver 30 40 8 0.5 1.0

220 100

Corvette | AntiFrigate | AntiCapital Yes Large_Explosion_Space

yes True

Unit_Anti_Air_Fire

UHD_Build_Vehicle UHD_Unit_Canceled Unit_Complete_Marauder_Cruiser Unit_Corvette_Moving_Engine_Loop Unit_Select_Marauder_Cruiser Unit_Move_Marauder_Cruiser Unit_Fleet_Move_Marauder_Cruiser Unit_Attack_Marauder_Cruiser Unit_Guard_Marauder_Cruiser Unit_Nebula_Marauder_Cruiser

HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Marauder_Cruiser HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Marauder_Cruiser HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Marauder_Cruiser HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Marauder_Cruiser HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Marauder_Cruiser HARD_POINT_ENGINE, Unit_HP_ENGINES_Marauder_Cruiser HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Marauder_Cruiser

Unit_Gunboat_Idle_Engine_Loop Unit_Gunboat_Moving_Engine_Loop Unit_Gunboat_Cinematic_Engine_Loop Unit_Corvette_Death_SFX

Yes Space 1000.0 400.0 400.0 5.0 SpaceArtillery 200.0

900

ObjectScript_MC30

CLUSTER_BOMB 50.0 MC30_Cluster_Bomb 500.0 Unit_Cluster_Bombs_MC30_Frigate True

User_Input 1.5 Proj_Cluster_Bomb 12 Unit_MC30_Launch_Cluster_Bomb

TEXT_TOOLTIP_MARAUDER_BLACKSUN TEXT_ENCYCLOPEDIA_CLASS_CORVETTE 1400

3200 22 Tactical_Units 2




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#2 9 years ago

I don't see any missing things... Have you compared your code with the original MC30 code?




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#3 9 years ago

Yeah, I've placed it side-by-side with the MC30 code. I haven't seen any significant discrepancies. What's odd is that the bombs will launch, but won't explode.




_237th_SC_Com_Bly

huh!!..oh sorry was sleeping

50 XP

28th December 2008

0 Uploads

403 Posts

0 Threads

#4 9 years ago

maybe remove the scirpt line of the mc30 in the code of the maurader? (dunno)




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#5 9 years ago

The MC30 script is just a script to enable the AI to use the Cluster Bombs in combat. I've tried this both with and without the script enabled.




jedi86

There is not enough.....

50 XP

12th September 2009

0 Uploads

52 Posts

0 Threads

#6 9 years ago

okay i had same problem before i solve it and i share you, but different model i had work. I hope it works:)

TEXT_UNIT_BROADSIDE_CRUISER Empire_Star_Base_1 TIE_Fighter TIE_Bomber Star_Destroyer Victory_Destroyer Acclamator_Assault_Ship 1 CIS_Missile_Frigate.alo I_BUTTON_MISSILE_FRIGATE.TGA 250 -30 0.995 0.4 0.2

7 1.8 1.5 Space Corvette -20.0 0.2 15 .05 .05

0 Armor_Missile_Cruiser Shield_Corvette 0.5 Yes 1.5 0.05 2.0 0.0

Damage_Normal, Marauder_Missile_Cruiser_Death_Clone 1200.0 2000.0

Rebel Yes Yes 640 1 0 0 2 600 20 300 650 12 1500 300 corvette 3 Yes no 0 0 4 1 1800 1400 15 Yes 120 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED BARRAGE,ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

1200.0 3000.0 HP_CIS_Missile_Frigate_01, HP_CIS_Missile_Frigate_02, HP_CIS_Missile_Frigate_03, HP_CIS_Missile_Frigate_04, HP_CIS_Missile_Frigate_05, HP_CIS_Missile_Frigate_06

220 100

Frigate | AntiCorvette Yes Large_Explosion_Space

yes True

Unit_Boron_Missile_Fire

UHD_Build_Vehicle UHD_Unit_Canceled Unit_Complete_Broadside_Cruiser Unit_Select_Broadside_Cruiser Unit_Move_Broadside_Cruiser Unit_Fleet_Move_Broadside_Cruiser Unit_Attack_Broadside_Cruiser Unit_Guard_Broadside_Cruiser Unit_Nebula_Broadside_Cruiser

Unit_Barrage_Broadside_Cruiser

HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Broadside_Cruiser HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Broadside_Cruiser HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Broadside_Cruiser HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Broadside_Cruiser HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Broadside_Cruiser HARD_POINT_ENGINE, Unit_HP_ENGINES_Broadside_Cruiser HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Broadside_Cruiser

Unit_ATAT_Barge_Idle_Engine_Loop Unit_ATAT_Barge_Moving_Engine_Loop Unit_ATAT_Barge_Cinematic_Engine_Loop Unit_Corvette_Death_SFX

Yes Space 1000.0 400.0 400.0 5.0 SpaceArtillery 200.0 ObjectScript_MC30 BARRAGE Proj_Ship_Diamond_Boron_Missile_Barrage 10 40 FIRE_RATE_MULTIPLIER, 3.0f

Unit_Barrage_Corvette Unit_Barrage_Corvette

320.0 320.0 -150

CLUSTER_BOMB 50.0 CMF_Cluster_Bomb 100.0 Unit_Cluster_Bombs_MC30_Frigate True

User_Input 1.0 Proj_Cluster_Bomb 12 Unit_MC30_Launch_Cluster_Bomb

TEXT_TOOLTIP_BROADSIDE TEXT_ENCYCLOPEDIA_CLASS_CORVETTE 1400

3200 22 Tactical_Units 2

TEXT_UNIT_BROADSIDE_CRUISER CIS_Missile_Frigate.ALO CIS_Missile_Frigate.ALO Unit_Corvette_Death_SFX Large_Explosion_Space 0.9 -330.0 0.25 0.4 0.05 0.02 5 Rebel corvette true




jedi86

There is not enough.....

50 XP

12th September 2009

0 Uploads

52 Posts

0 Threads

#7 9 years ago

I think the problem will be the space behavior, not capable for the cluster bomb and i don't think but the "GUI_Activated_Ability_Name" is count.

I hope it help a lot:)

sorry english good coding:)




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#8 9 years ago

Hmm...space behaviors match up exactly. I'm almost thinking that it's a matter of hardpoints...all ships I've seen with working cluster bombs tend to have hardpoints. Hardpoints would be difficult to code for a Marauder though (already tried).




jedi86

There is not enough.....

50 XP

12th September 2009

0 Uploads

52 Posts

0 Threads

#9 9 years ago

Ok, where is Walley?

Yours:

ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

My code:

BARRAGE, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

Not match maaan!

Try to copy all the code and rename the model ALO file to yours.....




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#10 9 years ago

The only difference is BARRAGE, which is necessary only for the Barrage ability. The MC30 doesn't have that behavior tag, so it's not necessary for cluster bombs.

And I can't just copy your code and try to use it: your code utilizes hardpoints. However, I'll try your differences in detonation range and time and see how they work.

And hey, it looks like they do, I honestly wasn't expecting that to be critical. Thanks!




  • 1
  • 2