First of all, I'd like to know what the following does exactly :
This is taken from a variant of the Zark weapon mutator btw. I was wondering if these were existing meshes and if these instructions are simply redefining the way a normal Sniper Rifle would work.
More importantly, though, I would also like to know if these instructions would pose an obstacle to rewriting the mutator. In this case, I'd like to add an arena option as Zark mutators seem to only replace Sniper and Shock Rifles by convention.
Also, if I ever have to remake a weapon mutator that uses custom meshes, I'm wondering if there's a method or tool for exporting these meshes. I imagine that these meshes would be necessary at compilation time.
Code:
#exec MESH ORIGIN MESH=Rifle2m X=0 Y=0 Z=0 YAW=64 PITCH=0 ROLL=0
#exec MESH SEQUENCE MESH=Rifle2m SEQ=All STARTFRAME=0 NUMFRAMES=75
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Select STARTFRAME=0 NUMFRAMES=17 RATE=28 GROUP=Select
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Still STARTFRAME=17 NUMFRAMES=1
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Fire STARTFRAME=17 NUMFRAMES=10 RATE=15
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Fire2 STARTFRAME=27 NUMFRAMES=10 RATE=15
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Fire3 STARTFRAME=37 NUMFRAMES=10 RATE=15
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Fire4 STARTFRAME=47 NUMFRAMES=10 RATE=15
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Fire5 STARTFRAME=57 NUMFRAMES=10 RATE=15
#exec MESH SEQUENCE MESH=Rifle2m SEQ=Down STARTFRAME=67 NUMFRAMES=7
#exec MESHMAP SCALE MESHMAP=Rifle2m X=0.008 Y=0.004 Z=0.016
#exec MESHMAP SETTEXTURE MESHMAP=Rifle2m NUM=0 TEXTURE=Rifle2a
#exec MESHMAP SETTEXTURE MESHMAP=Rifle2m NUM=1 TEXTURE=Rifle2b
#exec MESHMAP SETTEXTURE MESHMAP=Rifle2m NUM=2 TEXTURE=Rifle2c
#exec MESHMAP SETTEXTURE MESHMAP=Rifle2m NUM=3 TEXTURE=Rifle2d
This is taken from a variant of the Zark weapon mutator btw. I was wondering if these were existing meshes and if these instructions are simply redefining the way a normal Sniper Rifle would work.
More importantly, though, I would also like to know if these instructions would pose an obstacle to rewriting the mutator. In this case, I'd like to add an arena option as Zark mutators seem to only replace Sniper and Shock Rifles by convention.
Also, if I ever have to remake a weapon mutator that uses custom meshes, I'm wondering if there's a method or tool for exporting these meshes. I imagine that these meshes would be necessary at compilation time.