Is it possible to have a missile spawn particles on fragment

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

I'm trying to find a way to have a missile hit a target, and spawn a spherical effect using the "particles" type of fragment, rather than the "missile" type of fragment. But I'm not sure if this is possible, or if so how I would do such a thing. Has anyone else tried this out?
Mischievous local moderator. She/Her pronouns.
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

So I'm guessing from the thunderous response, either it's not possible or no one knows how to get it working. Pity.
Mischievous local moderator. She/Her pronouns.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

The plasma explosions used by exploding Ringer/Teraton stations and Iocrym ships are particles (based on Iocrym Fracture Cannon).

Otherwise, a combination of the <OnFragment> event and a loop containing (sysCreateWeaponFire ...) should do the trick.
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
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

I'll probably have to do the latter. The problem is that the iocrym explosions are (like all of the games ship/station explosions) virtual weapons: they're not actually fragmentation events. It may or may not be possible to port the code over.
Mischievous local moderator. She/Her pronouns.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

sorry, just saw this.
Actually you can create particle clouds using <ParticleExplosion> effect in a <HitEffect>:

Code: Select all

<HitEffect 
							sound=	"&snArmorHit1;"
							>
						<ParticleExplosion
								particleCount=		"20d4"
								particleSpeed=		"30"
								particleLifetime=	"40"
								>
							<Image imageID="&rsDebris1;" imageX="0" imageY="0" imageWidth="4" imageHeight="4" imageFrameCount="8" imageTicksPerFrame="3"/>
						</ParticleExplosion>
					</HitEffect>
This is used to add clouds of particles for some missiles like the NAMI heavy, I think.

Of course, in the <Image> you can use any loaded image you want (or custom made) and create clouds of them. The vanilla one uses animated debris particles but I'm pretty sure that it can accept other stuff too.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

You could use a 30 degree particles weapon type with a fragment count of 6 if it's damage you want.
Literally is the new Figuratively
Post Reply