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 → These statics never work even when I dont make myself :(
These statics never work even when I dont make myself :(
2001-06-15, 12:15 PM #1
The bottom tpls worked fine. I then wanted to make a flash grenade, so I added the flash theings, and when I tested the thing, only the flashes worked, and the others didnt.
Oh, and I HAVE TO KNOW how to get sound working in the sattics, coz all of my projectiles dont make sounds :

#********** World file D:\jedi\Products\JK\Release\Jkl\static.jkl ***** Created 10/30/1996 6:32pm **********

#### Copyright information #####
SECTION: COPYRIGHT
................................
................@...@...@...@...
.............@...@..@..@...@....
................@.@.@.@.@.@.....
@@@@@@@@......@...........@.....
@@@@@@@@....@@......@@@....@....
@@.....@.....@......@@@.....@@..
@@.@@@@@......@.....@@@......@@.
@@@@@@@@.......@....@@.....@@...
@@@@@@@@.........@@@@@@@@@@.....
@@@@@@@@..........@@@@@@........
@@.....@..........@@@@@.........
@@.@@@@@.........@@@@@@.........
@@.....@.........@@@@@@.........
@@@@@@@@.........@@@@@@.........
@@@@@@@@.........@@@@@@@........
@@@...@@.........@@@@@@@........
@@.@@@.@.........@.....@........
@@..@..@........@.......@.......
@@@@@@@@........@.......@.......
@@@@@@@@.......@........@.......
@@..@@@@.......@........@.......
@@@@..@@......@.........@.......
@@@@.@.@......@.........@.......
@@....@@........................
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@.@@@@@@@@@@@@@@@@@@
@@.@@..@@@@@..@@@@@@@@@@.@@@@@@@
@@.@.@.@@@@.@.@@@.@..@@...@@@..@
@@..@@@@@@....@@@..@@@@@.@@@@.@@
@@@@@@@@...@@.@@@.@@@@@..@@...@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@.copyright.(c).1997.lucasarts.@
@@@@@@..entertainment.co..@@@@@@
################################


###### Header information ######
SECTION: HEADER
# version and global constant settings
Version 1
World Gravity 4.00
Ceiling Sky Z 3.000000
Horizon Distance 100.000000
Horizon Pixels per Rev 768.000000
Horizon Sky Offset 0.000000 0.000000
Ceiling Sky Offset 0.000000 0.000000
MipMap Distances 1.000000 2.000000 3.000000 4.000000
LOD Distances 0.300000 0.600000 0.900000 1.200000
Perspective distance 2.00
Gouraud distance 2.00
################################


###### Sound information ######
SECTION: SOUNDS
World sounds 62
0: glove.wav
1: staff.wav
end
################################


##### Material information #####
SECTION: MATERIALS
World materials 160
end
################################


Section: Soundclass
World soundclasses 3
0: ky.snd
1: det2.snd
2: exp_det.snd
end

###### Models information ######
Section: MODELS

World models 32

0: bryv.3do
1: bryg.3do
2: sabv.3do
3: sabg.3do
4: rldv.3do
5; rldg.3do
6: conv.3do
7: cong.3do
8: strv.3do
9: strg.3do
10: rptv.3do
11: rptg.3do
12: detv.3do
13: detg.3do
14: seqv.3do
15: seqg.3do
16: fistv.3do
17: fistg.3do
18: bowv.3do
19: bowg.3do
20: ky.3do
21: bry0.3do
22: con0.3do
23: dflt.3do
24: rep0.3do
25: det0.3do
26: seqp.3do
27: rld0.3do
end
################################


###### Sprite information ######
Section: SPRITES

World sprites 20
0: bryx.spr
1: detx.spr
2: bowx2.spr
3: bowx.spr
4: rptx.spr
5: seqx2.spr
6: debrisx.spr
7: rldx.spr
8: conx.spr
end
################################


##### Keyframe information #####
Section: KEYFRAMES

World keyframes 128
end
################################


###### Animation Classes #######
Section: ANIMCLASS

World puppets 16
0: ky.pup
end
################################


########## COG scripts #########
Section: cogscripts
World scripts 50
end
################################


######### COG placement ########
Section: cogs
World cogs 50
#Num Script Symbol values
end
################################

###### Template information ####
Section: templates
World templates 10

_weapon none orient=(0/0/0) type=weapon collide=1 move=physics thingflags=0x20000000 timer=10 mass=5 physflags=0x200 maxrotvel=90 damageclass=0x2 typeflags=0x1

_explosion none orient=(0.000000/0.000000/0.000000) type=explosion typeflags=0x1 damageclass=0x4

_weaponb none orient=(0/0/0) type=weapon collide=1 move=physics thingflags=0x20000000 mass=5 physflags=0x200 maxrotvel=90 damageclass=0x2 typeflags=0x1

_explosionb none orient=(0/0/0) type=explosion typeflags=0x1 damageclass=0x4

+flash_exp _explosionb thingflags=0x400 timer=2.5 typeflags=0x6 cog=else_flash.cog physflags=0 blasttime=2.5 range=0.5

+flashbomb2 _weaponb timer=3 model3d=det0.3do size=0.014895 movesize=0.014895 soundclass=det2.snd surfdrag=3 airdrag=0.8 mass=1 physflags=0x225 vel=(0/2/1.5) angvel=(90/45/90) buoyancy=0.25 explode=+flash_exp fleshhit=+flash_exp damageclass=0x4 typeflags=0x40309

+flashbomb +flashbomb2 timer=10 typeflags=0x4030d

+laser_trail _weapon collide=0 timer=0.02 thingflags=0 model3d=laser.3do

+aim _explosion thingflags=0x1 light=0.200000 timer=0.02 sprite=aim.spr soundclass=exp_laserhit.snd typeflags=0x33 blasttime=0.100000 maxlight=0.400000

+laser _weapon collide=0 trailthing=+laser_trail elementsize=0.3 typeflags=0xa40d range=10 timer=0.02 thingflags=0 creatething=+aim

+muzzleflash _explosion thingflags=0x1 light=0.200000 timer=0.100000 sprite=muzzle.spr soundclass=exp_laserhit.snd typeflags=0x33 blasttime=0.100000 maxlight=0.400000

+pla**** _explosion thingflags=0x1 light=0.200000 timer=0.500000 sprite=conx.spr soundclass=exp_laserhit.snd typeflags=0x33 blasttime=0.200000 maxlight=0.400000

+smflash _explosion thingflags=0x1 light=0.400000 timer=0.100000 typeflags=0x0

+plasfleshhit +pla**** soundclass=exp_fleshy.snd creatething=+plasmasmoke

+plasmasmoke none orient=(0.000000/0.000000/0.000000) type=particle move=physics timer=0.800000 physflags=0x20000 vel=(0.000000/0.000000/0.080000) angvel=(0.000000/90.000000/0.000000) typeflags=0x3e material=00gsmoke.mat range=0.030000 elementsize=0.005000 count=16

+plasmabolt _weapon thingflags=0x20000001 light=0.400000 model3d=con0.3do size=0.001000 movesize=0.001000 soundclass=bry.snd creatething=+smflash maxrotvel=0.000000 vel=(0.000000/12.000000/0.000000) explode=+pla**** fleshhit=+plasfleshhit damage=80.000000 mindamage=60.000000 typeflags=0x20440d rate=15.000000
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-06-16, 5:26 AM #2
I'm not gonna take the time to search for why your flash grenades arnt working but to get your sounds back on... delete the soundclass section in the static. That's what I did and it workis like a dream.
Ohh Crap! - Darien Fawkes (The Invisible Man)

↑ Up to the top!