Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

"Throw Sparks" - How Does It Work?

General discussion for players of Oolite.

Moderators: another_commander, winston

Post Reply
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

"Throw Sparks" - How Does It Work?

Post by Killer Wolf »

Set a subent to do this, and nothing's happening.

TIA
User avatar
Cholmondely
Archivist
Archivist
Posts: 5026
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: "Throw Sparks" - How Does It Work?

Post by Cholmondely »

Did Smivs or CSOTB not produce an OXP which should do this? I've not tried either of them, but

1) Smivs: Battle Damage OXP

2) CSOTB: Custom Shields OXP
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: "Throw Sparks" - How Does It Work?

Post by Griff »

I think it may only trigger when the main entity gets close to death, I'm not sure its sub-entites health levels counts
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Re: "Throw Sparks" - How Does It Work?

Post by Killer Wolf »

tch :-(

ta for the replies, thought i could add a nice little effect to something but that's torpedoed the plan.
bugger.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2646
Joined: Thu Jun 20, 2013 10:22 pm

Re: "Throw Sparks" - How Does It Work?

Post by Redspear »

Could you not get whatever it is close to death an then keep it there?

energyRechargeRate for example is read/write for scripting if it were made very high once energy got low enough to throw sparks then you could induce the effect. There are probably a few ways to create the initial 'damage' to bring it to such a state.

As for the object becoming too tough, you could add a counter for damage received. Once that gets to whatever value you choose then Kaboom...

If it can't work with subents then this wouldn't fix that but it could test it.
Post Reply