Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → Templates
Templates
2006-01-03, 10:20 AM #1
I'm making a gun that shoots both gun bullets and missiles. I'm having trouble making a missile template though. I want it based on +raildet2 but it doesn't want to work. The 3d model of the missile is fine, and I've found the closest way to shoot it is to rename it as rld0.3do (the raildetonator missile) and use the raildet template. This unfortunantly affects the rail gun as well. Anyone care to write me one template that isn't based on anything but _weapon??
2006-01-03, 12:16 PM #2
We'd need to know the other specifics you'd want of the projectile.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2006-01-03, 6:42 PM #3
i would base it on the original, but change each parameter [like, mass, speed, model, explosion] one by one and test it each time. you'll get it working in the end.
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2006-01-04, 12:26 PM #4
All i want it to be is an exact copy of the raildetonator missile without overwriting the raildet. Same speed, same mass, same everything, but my computer's having trouble using raildet as its based on raildet2 which is based on grenade which is based on grenade2....... it goes on and on. I even took every template in original JK and put it in my jkl so I would have every template to base mine on. Still nothing.
2006-01-04, 2:25 PM #5
Code:
_weaponn          none               orient=(0.000000/0.000000/0.000000) type=weapon collide=1 move=physics thingflags=0x20000000 timer=10.000000 mass=5.000000 physflags=0x200 maxrotvel=90.000000 damageclass=0x2 typeflags=0x1
_explosionn       none               orient=(0.000000/0.000000/0.000000) type=explosion typeflags=0x1 damageclass=0x4
+lgflashh         _explosionn        thingflags=0x1 light=0.300000 timer=0.400000 typeflags=0x12 blasttime=0.200000 maxlight=1.000000
_debriss          none               orient=(0.000000/0.000000/0.000000) type=weapon collide=1 move=physics timer=1.100000 airdrag=3.000000 physflags=0x201 vel=(0.000000/4.000000/0.000000) angvel=(5.000000/10.000000/0.000000) explode=+debris_exp damage=5.000000 damageclass=0x1 typeflags=0xc
shrapnell_1       _debriss           model3d=shrp_1.3do size=0.045000 movesize=0.045000
shrapnell_2       _debriss           model3d=shrp_2.3do size=0.040000 movesize=0.040000
shrapnell_3       _debriss           model3d=shrp_3.3do size=0.028000 movesize=0.028000
shrapnell_4       _debriss           model3d=shrp_4.3do size=0.026000 movesize=0.026000
+rocket_exp       _explosionn        thingflags=0x1 light=0.200000 timer=0.500000 sprite=rldx.spr soundclass=exp_raildet.snd typeflags=0x17 damage=110.000000 blasttime=0.700000 force=300.000000 maxlight=0.800000 range=0.500000 debris=shrapnell_1 debris=shrapnell_2 debris=shrapnell_3 debris=shrapnell_4
+rocket           _weaponn           thingflags=0x20000400 timer=10.000000 model3d=rld0.3do size=0.003000 movesize=0.003000 puppet=ra.pup soundclass=rail.snd creatething=+lgflashh cog=00_smoketrail.cog surfdrag=3.000000 airdrag=0.000000 height=0.003000 mass=1.000000 physflags=0x200 vel=(0.000000/2.500000/0.000000) angvel=(0.000000/0.000000/90.000000) buoyancy=0.250000 explode=+rocket_exp fleshhit=+rocket_exp damage=20.000000 damageclass=0x4 typeflags=0x24020d


Just 'cuz I was bored. Hope I did it right... :)
Note that I renamed all the templates, so none of these will override JK's templates now.
May the mass times acceleration be with you.
2006-01-06, 2:26 AM #6
weaponn...hehe...
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

↑ Up to the top!