Disintegration effect?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 Is there a way to destroy an object using the disintegration effect via tLISP without getting into virtual weapons and sysCreateWeaponFire?
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

You mean when the ship splits into pixels and stuff :?
You can use ObjDestroy with the objSource argument enabled to do that.
try:
(objDestroy [spaceobject reference here] gPlayership)
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 No, I can do that, I mean the effect caused by the quantumsphere disintegrator.
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

You probably want to call (objDamage obj weaponType objSource [pos]) within an event, where weaponType is a custom weapon that does generic damage and disintegration.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 Yes and no. On the one hand, assuming it works as planned, it will be perfect for one thing I had been wanting to do, but disintegration via weapon effect only works on ships. I need something I can cause a weapon effect on a station with. …Actually, wait. Wait, I think have an idea for that. Throw an objDestroy on the station to just outright get rid of it, create a dummy ship using the station’s graphic at that location, give it something in <OnCreate>… It’s an ugly workaround, but it is a workaround that just might… well… work.
 Also, thank you for pointing me at that function. I was needing it for something else completely unrelated and knew I had seen it before, but I could not for the life of me figure out which function it was.
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

so, you want a station that can explode with disintegration effect when destroyed ?

- Make a ship like the CSC, which is basically a hybrid station/ship.
- In OnDestroy, call for a disintegration explosion using a sysCreateWeaponFire that destroys the wreck.
Post Reply