allow particle type names in md2emit and md3emit

md[2|3]emit <tag name> <particle type> <attrib1> <attrib2>

  particle type may now be numeric 0..19 or one of SPARK, SMOKE, ECLOSEST,
  BLOOD, DEMOTRACK, FIREBALL, SHOTLINE, BULLETHOLE, BLOODSTAIN, SCORCH,
  HUDMUZZLEFLASH, MUZZLEFLASH, ELIGHT, ESPAWN, EAMMO, EPICKUP, EMODEL,
  ECARROT, ELADDER, EFLAG

also: cleanup

DOCREF md2emit md3emit
This commit is contained in:
ac-stef
2017-05-16 17:50:00 +02:00
parent 6f03d1819b
commit 6bafdb0037
18 changed files with 42 additions and 38 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 8
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 75
md3emit tag_muzzle HUDMUZZLEFLASH 50 75
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 75
md2emit tag_muzzle MUZZLEFLASH 50 75
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 50
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 50
md3emit tag_muzzle HUDMUZZLEFLASH 50 50
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 50
md2emit tag_muzzle MUZZLEFLASH 50 50
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 8
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 25
md3emit tag_muzzle HUDMUZZLEFLASH 50 25
+1 -1
View File
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 25
md2emit tag_muzzle MUZZLEFLASH 50 25
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 25
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 75
md3emit tag_muzzle HUDMUZZLEFLASH 50 75
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 75
md2emit tag_muzzle MUZZLEFLASH 50 75
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 50
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 100
md3emit tag_muzzle HUDMUZZLEFLASH 50 100
+1 -1
View File
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 100
md2emit tag_muzzle MUZZLEFLASH 50 100
+1 -1
View File
@@ -4,4 +4,4 @@ md3skin hands ../knife/skin_hands.jpg
md3anim "gun idle" 0 1
md3anim "gun shoot" 8 8
md3anim "gun reload" 0 1
md3emit tag_muzzle 10 50 55
md3emit tag_muzzle HUDMUZZLEFLASH 50 55
+1 -1
View File
@@ -3,5 +3,5 @@ mdltrans 2 2 24
mdlshadowdist 32
md2tag tag_muzzle X
md2emit tag_muzzle 11 50 55
md2emit tag_muzzle MUZZLEFLASH 50 55