Posted by Red on January 15, 1998 at 16:31:27:
Hola.. I just made my 1st COG a flame thrower (it replaces the ST Rifle). It works ok but I have to add the following to my level templates for it to load (And it only works on that level:
+force_fipeice none orient=(0.000000/0.000000/0.000000) type=weapon move=physics timer=0.100000 model3d=fire1.3do size=0.005000 movesize=0.005000 physflags=0x200 maxrotvel=360.000000 angvel=(0.000000/0.000000/360.000000)
+force_fire _weapon thingflags=0x1 light=0.100000 timer=0.100000 size=0.005000 movesize=0.005000 vel=(0.000000/1.000000/0.000000) angvel=(0.000000/0.000000/360.000000) explode=+ssparks_wall fleshhit=+ssparks_wall trailthing=+force_fipeice elementsize=0.075000 trailcylradius=0.050000 trailrandangle=30.000000 damage=60.000000 damageclass=0x8 typeflags=0x1840d range=.300000
Also I have to edit (I could change this easy by renaming my 3do):
strifle _powerup thingflags=0x400 model3d=flamep.3do cog=pow_strifle.cog
Ok.. then I get an E-Mail by a pal Trail he said I can edit the static.jkl. so I added this:
##### Templates information ####
# Attention COG programmers; Please add on to the templates below, DO NOT ERASE THEM unless
# they interfer or duplicate the function of your patch. It will make using different patches
# much easier on the end user. (Morpy - mnelson@mnsi.net)
Section: TEMPLATES
World templates 3
#Name: Based On: Params:
+force_fipeice none orient=(0.000000/0.000000/0.000000) type=weapon move=physics timer=0.100000 model3d=fire1.3do size=0.005000 movesize=0.005000 physflags=0x200 maxrotvel=360.000000 angvel=(0.000000/0.000000/360.000000)
+force_fire _weapon thingflags=0x1 light=0.100000 timer=0.100000 size=0.005000 movesize=0.005000 vel=(0.000000/1.000000/0.000000) angvel=(0.000000/0.000000/360.000000) explode=+ssparks_wall fleshhit=+ssparks_wall trailthing=+force_fipeice elementsize=0.075000 trailcylradius=0.050000 trailrandangle=30.000000 damage=60.000000 damageclass=0x8 typeflags=0x1840d range=.300000
strifle _powerup thingflags=0x400 model3d=flamep.3do cog=pow_strifle.cog
After doing this the weapon cog works fine (i.e. sounds, 3dos) but nothing leaves the barrel of the gun when it works fine on my level with the added templates. What am I doing wrong?
Thanks for NE help
~Red