Self Destruct -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

I'm currently trying to make a variant of a Gallofree transport drop a backup space station then self destruct. it drops the station fine but it won't off itself. what should i be doing to make it blow up?




DarthArbiter

-_-_-

50 XP

21st June 2006

0 Uploads

323 Posts

0 Threads

#2 10 years ago

The way I'd do it is make the actual ability self-destruct, then make it spawn a Space Station on death, which should work... The problem with that being it'd spawn the station even if it was killed by something else.




Kalo Shin

AoSW Joint Leader

50 XP

25th August 2006

0 Uploads

2,053 Posts

0 Threads

#3 10 years ago

If I recall, there's a way to give an ability Health Subtraction as well as a limit to its range...So you could give him Antilles Ability, tell it to spawn a Station and make the health subtraction VERY high. This is just theory though. I'd like to see this come to fruition though...




Guest

I didn't make it!

0 XP

 
#4 10 years ago

ok let me try re-phrasing this I'm trying to give it the self destruct ability but when i click the button to make it blow up it won't blow up. it deploys the space station useing the deploy ability already but it won't activate the self destruct ability heres the Xml i'm useing;

Gallofree_TransportTEXT_UNIT_REBEL_RESETi_button_rebel_station.tga SIMPLE_SPACE_LOCOMOTOR, SELECTABLE, TARGETING, POWERED, SHIELDED, REVEAL, UNIT_AI, HIDE_WHEN_FOGGED, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, SELF_DESTRUCT Large_Explosion_SpaceSkirmish_Rebel_Star_Base_1, 1Skirmish_Rebel_Star_Base_1, 010RHD_Build_StructureRHD_Building_CanceledRHD_Construction_Complete600010Tactical_Units1 Gallofree_Fighter_Bay, HP_Gallofree_01 yesSELF_DESTRUCTTEXT_TOOLTIP_KRAYT_DESTRUCT_DESCRIPTION3.510 Krayt_Self_Destruct_Blast Krayt_Self_DestructNoUnit_Self_Destruct_Krayt_Class_DestroyerNoTrueDEPLOY_SQUAD0.1

so is their something i'm doing wrong here?




DarthArbiter

-_-_-

50 XP

21st June 2006

0 Uploads

323 Posts

0 Threads

#5 10 years ago

I know exactly what you meant. What I'm saying is just make the self destruct ability its ONLY ability, and then make it spawn the space station on death using the code that makes ground structures spawn extra squads of infantry when they're destroyed.

Those two abilities you have aren't even linked at all, so one won't cause the other.




Guest

I didn't make it!

0 XP

 
#6 10 years ago

oh. ok. i'll give that a shot. thx