Space Layers -1 reply

  • 1
  • 2

Please wait...

T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#1 7 years ago

So. Its been a while, but I've started tweaking a custom mod I made a long while ago. I've been messing with the idea of the same unit appearing on different levels. Thanks to Sidious Invader I had a code that I figured would of worked. It should of worked like so: You buy the unit[frigate level] it is then replaced with a unit[fighter level] and so on for each level and then the last level would loop back to the first unit. That code looks like so: STORY_CONSTRUCTAcclamator_Assault_Ship1BUILDABLE_UNITAcclamator_Assault_Ship_2Acclamator_Assault_ShipTrueUniversal_Story_StartSTORY_CONSTRUCTAcclamator_Assault_Ship_21BUILDABLE_UNITAcclamator_Assault_Ship_3Acclamator_Assault_Ship_2TrueUniversal_Story_StartSTORY_CONSTRUCTAcclamator_Assault_Ship_31BUILDABLE_UNITAcclamator_Assault_Ship_4Acclamator_Assault_Ship_3TrueUniversal_Story_StartSTORY_CONSTRUCTAcclamator_Assault_Ship_41BUILDABLE_UNITAcclamator_Assault_ShipAcclamator_Assault_Ship_4TrueUniversal_Story_Start This didn't work. And all units were available for purchase at the same time. As well as them not being on different levels.

The Acclamator code looks like so: TEXT_UNIT_ACCLAMATOR Corellian_Corvette Marauder_Missile_Cruiser Crusader_Gunship Calamari_Cruiser Skipray_Blastboat Y-wing 1 EV_ACCLAMATOR.ALO350-300.99951.7460.22.20.5 Space Frigate -45.00.230 .04 .04 1.5Yes1.50.1 Armor_Acclamator Shield_Frigate3024006002000623000400Empire0002frigate3yesno0108125005025001Yes8DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDEDABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA YesLarge_Explosion_Space_EmpireDamage_Normal, Acclamator_Death_Clone1200.0Large_Damage_Space1400.0TIE_Fighter_Squadron, 1TIE_Bomber_Squadron, 15TIE_Fighter_Squadron, 2 HP_Acclamator_Weapon_FL, HP_Acclamator_Weapon_FR, HP_Acclamator_Weapon_FC, HP_Acclamator_Weapon_BL, HP_Acclamator_Weapon_BR, HP_Acclamator_Weapon_BC, HP_Acclamator_Engines, HP_Acclamator_Fighter_Bay Frigate | AntiCorvettei_button_acclimator_cruiser.tgaEV_Acclamator.ALO11000 0 045yesTrueEHD_Build_VehicleEHD_Unit_CanceledUnit_Complete_AcclamatorUnit_Acclamator_Moving_Engine_LoopUnit_Select_AcclamatorUnit_Move_AcclamatorUnit_Fleet_Move_AcclamatorUnit_Attack_AcclamatorUnit_Guard_AcclamatorUnit_Stop_AcclamatorUnit_Barrage_Acclamator Unit_Asteroids_Acclamator Unit_Nebula_Acclamator SFX_Asteroid_Detonation EHD_Bombard_Select_Target EHD_Bombard_Incoming HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Acclamator HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Acclamator HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Acclamator HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Acclamator HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Acclamator HARD_POINT_ENGINE, Unit_HP_ENGINES_Acclamator HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Acclamator HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Acclamator HARD_POINT_WEAPON_MISSILE, Unit_Lost_Missile_Acclamator HARD_POINT_WEAPON_TORPEDO, Unit_Lost_Torpedo_Acclamator HARD_POINT_WEAPON_ION_CANNON, HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Acclamator HARD_POINT_ENGINE, Unit_Lost_Engines_Acclamator HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Acclamator HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Acclamator_Idle_Engine_Loop Unit_Acclamator_Moving_Engine_Loop Unit_Acclamator_Cinematic_Engine_Loop Unit_Cruiser_Death_SFX Yes Yes1.01.01000.00.0400.05.0Frigate1500power_to_weapons20WEAPON_DELAY_MULTIPLIER, 0.5fSHIELD_REGEN_MULTIPLIER, -3fENERGY_REGEN_MULTIPLIER, 1.0fSPEED_MULTIPLIER, 0.5f60Unit_Barrage_Acclamator TEXT_TOOLTIP_ACCLAMATOR TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 180023501Tactical_Units3

And variants: Acclamator_Assault_Ship Fighter 32800Acclamator_Assault_Ship Capital 32800Acclamator_Assault_Ship Corvette 32800Acclamator_Assault_Ship SuperCapital 32800

Any reason why this wouldn't work? I'm thinking perhaps because the "Existing Type" is already on the Frigate level that they all just stay there. But the reason they aren't replaced in Galactic Conquest, is beyond me.

Any help would be nice.

And hello. Again.




Guest

I didn't make it!

0 XP

 
#2 7 years ago

1. All Acclamators are buildable, because you never disabled the build option for the variants. Put Yes into the code of the variants that aren't supposed to be buildable at the start.

2. The tag doesn't control the layer on which the ships move. It is controlled by




T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#3 7 years ago

SmallPox;55703891. All Acclamators are buildable, because you never disabled the build option for the variants. Put Yes into the code of the variants that aren't supposed to be buildable at the start.

2. The tag doesn't control the layer on which the ships move. It is controlled by

Well that solves my issues. Thanks SmallPox, greatly appreciated.

Actually, how do I get the ships to unlock?




Guest

I didn't make it!

0 XP

 
#4 7 years ago

That's done by the story events. The ship specified in the tag is the one that gets unlocked.




T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#5 7 years ago

Huh, weird. Perhaps I messed it up somehow. It didn't unlock when tested.

You didn't see anything wrong with the event code, correct?




Geroenimo

Dread thinks I'm a special person

50 XP

11th April 2010

0 Uploads

326 Posts

0 Threads

#6 7 years ago

T3h Piti;5570672Huh, weird. Perhaps I messed it up somehow. It didn't unlock when tested.

You didn't see anything wrong with the event code, correct?

This is the code I use for Old Republic at War. It works in GC. Ofc the first Hammerhead has all the coding from it.

Hammerhead_Frigate30.0YesHammerhead_Frigate_2130.0YesHammerhead_Frigate230.0YesHammerhead_Frigate_280.0Yes

STORY_CONSTRUCTHammerhead_Frigate1BUILDABLE_UNITHammerhead_Frigate_2Hammerhead_FrigateTrueUNIVERSAL_STORY_STARTSTORY_CONSTRUCTHammerhead_Frigate_21BUILDABLE_UNITHammerhead_Frigate_3Hammerhead_Frigate_2TrueUNIVERSAL_STORY_STARTSTORY_CONSTRUCTHammerhead_Frigate_31BUILDABLE_UNITHammerhead_Frigate_4Hammerhead_Frigate_3TrueUNIVERSAL_STORY_STARTSTORY_CONSTRUCTHammerhead_Frigate_41BUILDABLE_UNITHammerhead_FrigateHammerhead_Frigate_4TrueUNIVERSAL_STORY_START




T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#7 7 years ago

The man I was partially looking for. I remember I made a comment on a picture you posted of multiple level ships Geroenimo.

I appreciate the code, I'll compare it to mine and see where things went south. (:

EDIT:After looking at the code, mine are identical to yours and nothing needed changing. Although, the name for the event was just Build_Variant_x. I had 2 more units that i did this with and they had the same event name. I changed that so I'm hoping that was the issue.




Guest

I didn't make it!

0 XP

 
#8 7 years ago

Hm I can't find any mistakes.

Just in case I missed one, try this code:

STORY_CONSTRUCTAcclamator_Assault_Ship1FILTER_FRIENDLY_ONLYBUILDABLE_UNITAcclamator_Assault_Ship_2Acclamator_Assault_ShiptrueSTORY_CONSTRUCTAcclamator_Assault_Ship_21FILTER_FRIENDLY_ONLYBUILDABLE_UNITAcclamator_Assault_Ship_3Acclamator_Assault_Ship_2trueSTORY_CONSTRUCTAcclamator_Assault_Ship_31FILTER_FRIENDLY_ONLYBUILDABLE_UNITAcclamator_Assault_Ship_4Acclamator_Assault_Ship_3trueSTORY_CONSTRUCTAcclamator_Assault_Ship_41FILTER_FRIENDLY_ONLYBUILDABLE_UNITAcclamator_Assault_ShipAcclamator_Assault_Ship_4true

This one has been generated with the event tool I'm working on at the moment, so it should work.

EDIT: Oops, I guess the problem's been resolved while I was posting




T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#9 7 years ago

I will try the code as only the first acclamator is building instead of them switching out.

I appreciate the help!

EDIT: May I ask where you put your events? As in is there a certain event file for will any do?




Geroenimo

Dread thinks I'm a special person

50 XP

11th April 2010

0 Uploads

326 Posts

0 Threads

#10 7 years ago

To Smallpox: Event tool? That sounds interesting, when are would we be able to see such a thing? Would help out a lot, atleast for me it would, and I'm sure for others too.

And to T3h piti: You put them into a storyblablabla.xml The "Stories" link to a Galactic Conquest map, on which it will then happen. I have the code in "Story_sandbox_56_empire.xml" But that might be different on what you have. REMEMBER, the unit codes, the hammerhead (or Acclamator) code should be just below the code of the original acclamator, so it's Acclamator_I, with all the code and then below that the variants. This'll make sure the story connects to actuall units rather than uncontained code (which then wont show up)

Other than this I think smallpox will know more about it, I just added and edited it all from Sidious Invader untill it worked so...CAN'T say I understand it from A to Z but I CAN say I got it to work ;)




  • 1
  • 2