Just wondering- kamikaze weapon

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Has anyone managed to get a working one? I have one- if fired manually it works, but the AI ships it's meant for won't fire it. So I was wondering if anyone has successfully made on that can be used by the AI.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

perhaps the chargebot autons have what you need.

i can't say much for digdug's, but mine are simply autons with self-destroying weapons, they blow up trying to hit enemy ships, but stations interfere with detonation. it has been a long time since i have used them, i think they should still work.

if i remember right it's a really strong micronuke cannon with a very short lifetime, they shoot thinking it will hit, but it blows up a couple ticks away and takes them out in the blast.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

simply put
canHitSource= "true"
in a Fragment and every weapon can hit the ship generating it.
The nuke used in the chargebots autons is simply an area weapon with speed 0 and that will detonate immediately, resembling an explosion of the auton itself.

Mine autons simply explode a second time <OnDestroy>, so that they can resonate.
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

A third way to do it would be to have a recurring timer event check if the ship is sufficiently near the target and if so, destroy the kamikaze ship and create the explosion at its former location.

It really shouldn't be that difficult (although I've said that of projects which have taken me months to complete).
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

yep, the timer event is fine, however it consumes a lot of resources (how much btw?).

the trick that i use (discovered by Bobby) is that Fragments explodes only against enemy sovereigns, against friendly sovereigns only he base damage is done.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

I know how to make the WEAPON, but what I was referring to was getting the ship to use the weapon. What are the AI settings? my ships just fly around in circles and elliptical orbits around their target...
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

Elliptical orbits around their target


It appears that you need to increase their maneuverability. If the kamikaze weapon is implemented as a regular weapon with a low or zero range, then the AI will use it as long as it has the maneuverability to reach the target.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

F50 wrote:
Elliptical orbits around their target


It appears that you need to increase their maneuverability. If the kamikaze weapon is implemented as a regular weapon with a low or zero range, then the AI will use it as long as it has the maneuverability to reach the target.
:)
Ah... ok! thanks! I'll try that sometime this week...
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Post Reply