QDT Sprite Scripting by Syl^cs.

QDT sprite scripting:
First heres an example script, saved as test.qdt:
// Add SFX to gun
$sfx_load pistol

$sfx_define
101 // type (fire)
0 // flags
0 // VEL_TYPE_UP (will move upwards)
3 // vel_speed
0 // gravity
2 // spawn interval, 2 = 0.1 seconds
0.5 // random spawn interval (sprite will be spawned 80% of the time)
0.9 // start alpha
0.0 // end alpha
0.2 // fadein time
4.0 // lifetime
0.2 // random time scale (fadein and lifetime will be multiplied by (x * 0.5), where x is a random number between -1 and 1
4.25 // start width
4.25 // end width
4.25 // start height
4.25 // end height
0.5 // random size scale (same as random time scale, but effects onle sizes)

$sfx_add
2 // INDEX (assigned to the first vertex)
0 // uses the first sfx_define (above)
0 // tells the engine to use the above INDEX is a vertex index
8 - 8 // frame ranges to enable the effect for

$sfx_save pistol

// done

Place this file in the same folder as the pistol.mdx
Create a batch file called test.bat (example) and place this line inside:

kpdata test.qdt

ps. kpdata is the program that comes with the kpsdk downloadable you can download it here.

Run the batch file. Now that sprite chosen at the top of the script 101 (fire sprite) will be shown at vertices 2 on the gun during frames 8-8 (one frame) as defined in this script.

Now heres my master list of sprites you can use, there may be more but it took me long enough to make this list....

=================================================================
Kingpin QDT Sprites List
by Syl^cs with help from TiCaL

1. Bullet Hole
2. Water Circle
5. Blood Pool (fades away)
6. Blood Splat (veins)
7. Blood splat (round)
8. Little Smoke
9. Fire (Good for Moltov...etc)
10. Lens Flare
16. Fire (Like 9)
17. Lens Flare
18. Dim Lens Flare
19. Lens Flare (dimmer than first, but not as dim as 1)
20. Lens Flare (white/bluish)
21. Rain (hmm usless looking)
22. Smoke with dim black background (wheres the alpha on this one?)
25. Water Circles (Very Active)
100. Explosion (for HMG/Pistol)
101. Explosion
102. Explosion
103. Large Explosion
104. Blue Flame
106. Explosion (Very Nice)
107. Small Explosion
108. Small Explosion
110. Animated Rising Fire (large)
111. Animated Rising Fire (small)
116. Smoke (Dark Clouds)
120. Rising Fire (small)
122. FThrow_blue in sprites folder (looks funny)
124. Smoke (small puffs)
125. Smoke (more small puffs)
126. Smoke (wierd sideways puffs)
127. Smoke (Vieny Puffs)
128. Fire (very wide)
=================================================================

This could easily be used to add a bubble trail or some other trippy effect to the hook, or any model.

Enjoy!~