How to use New Spring shit?

How to use New Spring shit?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

How to use New Spring shit?

Post by REVENGE »

Code: Select all

//-------------New Spring shit-------------------------------

//	MissileProjectile (standar rockets and guided missiles):
//		texture1 = flare
//		texture2 = smoke
//	LaserProjectile:
//		texture1 = laserbeam
//		texture2 = Start and end of the beam (half of the texture used at either end.)
//	BeamLaserProjectile:
//		texture1 = laserbeam
//		texture2 = Start and end of the beam (half of the texture used at either end.)
//		texture3 = muzzle flare
//	LargeBeamLaserProjectile:
//		texture1 = laserbeam
//		texture2 = Start and end of the beam (half of the texture used at either end.)
//		texture3 = Extra graphical effect at the start of the beam.
//		texture4 = muzzle flare
//	StarBurstProjectile (starburst weaponry, like nukes):
//		texture1 = flare
//		texture2 = smoke
//		texture3 = flame
//	EmgProjectile
//		texture1 = texture for the projectile
//	LightningProjectile
//		texture1 = texture for the lightning
//	ExplosiveProjectile (used in most plasma cannons)
//		texture1 = texture of the projectile, will be blended multiple times.
Question...How do I invoke that a weapon is an EmgProjectile, or ExplosiveProjectile, or whatnot?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Weapons like the ta "PLASMA" weapons or the EMG types:
//There are 8 rendertypes. Each render type uses a different effect. Starting with 0.
//(rendertype: type, discription)
//0: laser, a rendered laser beam.
//1: 3do shell, the shell is a 3do model rotated 90 degrees counter-clockwise.
//2: mindgun, a shell that just distorts the ground a little. rather dull.
//3: dgun/3do shell, used on the dgun but the shell is just a 3do model rotated 45 degrees counter-clockwise.
//4: emg/cannon, uses one of the gaf shells in the fx.gaf file. the color command is supposed to select which of the animations to use. default is the basic plasma cannon.
//5: flame, uses the flame animation in the fx.gaf file.
//6: bomb/3do shell, used on the bombs but the shell is just a 3do model rotated 0 degrees counter-clockwise.
//7: Lightning, a rendered electric/lightning beam.
I cannot remember what designates a weapon as plasma though you'd have to look at one of the TA-based mods.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Yah, I'm running through weapons files trying to find examples of the other non laser weapontypes with textures in use. No luck yet. I'm hoping that they'll be a better way of getting my weapons to look shiny without having to hack around with beamweapon stuff.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

largebeamlaser is also cool
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

http://spring.clan-sy.com/phpbb/viewtopic.php?t=11922

ExplosiveProjectile is fired by an AircraftBomb and a Cannon, the rest is selfexplanatory.
Post Reply

Return to “Game Development”