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.

ForumsCog Forum → weapon damage on slashable grates
weapon damage on slashable grates
2001-04-26, 8:04 AM #1
Hi. I need to modify the slashable grate cog to split open when hit by anything except fists. Does anyone know where I can find a list of what number is assigned to each type of damage? I know from the cog that lightsaber and grenades are 16 and 4 (not sure which ones which). I need the number for laser bolts at least. If anyone can help me that'd be great! Thanks.
"Flash like daybreak to the fray"
Raccoonking: Deeznuts are tasty!http://www.geocities.com/joshroxby/
2001-04-26, 12:36 PM #2
From JK-Specs:

Damage flags

0x1 Impact
0x2 Energy
0x4 Explosion
0x8 Force
0x10 Saber
0x20 Drowning


Raynar



------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-04-26, 2:19 PM #3
Thanks. I looked in the specs but couldnt find em. I wonder what that 16 is...hmmm...oh well thanks again!
"Flash like daybreak to the fray"
Raccoonking: Deeznuts are tasty!http://www.geocities.com/joshroxby/
2001-04-26, 2:45 PM #4
You need to use a hex-decimal converter. Windows comes with a calculator program that does this.

16 decimal is 0x10 hex

Raynar


------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-04-27, 10:00 AM #5
sorry to use your post, but where do you intergrate that information to make the weapon have different damage, is it in the tpl file?
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-04-27, 7:04 PM #6
I believe so, yes. I need the info to modify a particular .cog...a slashable grate .cog, but I th9ink the master template file is where that stuff is stored.
"Flash like daybreak to the fray"
Raccoonking: Deeznuts are tasty!http://www.geocities.com/joshroxby/

↑ Up to the top!