DamageIn not working properly.
Posted: Sun Nov 19, 2006 1:32 am
DamageIn not working properly.
I have water in my game and the player takes damage while on the surface of the water. Each time I press any move button at all player health decreases by one even on the surface of the water. I cant get the AltDamage settings to effect the player at all. The settings for the Liquid entity are as follows:
alphamap= a_water.bmp
Bitmap= water
DamageAltAmount= 1
DamageAltAttribute= oxygen
DamageAltDelay= 1
DamageAmount= 1
DamageAttribute= health
DamageDelay= 1
DamageIn= False
GravityCoeff= 100
InLiquidSound=
Model= water
origin= -4 -8 -31
SpeedCoeff= 100
SurfaceSound=
SwimSound=
szEntityName=
TintColor= 0 0 64
Transparency= 64
player.ini has the following:
[health]
initial = 100
low = 0
high = 100
I have made water that has worked fine in RF 0.75, but in the newest version I cant seem to make it work right.
-------------------
--------------------
Also I cannot get the images that came with the new RF for the Oxygen to show in the hud in my game.
player.ini has the following:
[oxygen]
initial = 100
low = 0
high = 100
-----------
hud.ini has the following:
[oxygen]
type= horizontal
frame = hud\hud_health_oxygen.bmp
framealpha = hud\a_hud_oxygen.bmp
indicator = hud\hud_health_oxygeni.bmp
indicatoralpha = hud\a_hud_oxygeni.bmp
framex = 10
framey = 10
indicatoroffsetx = 25
indicatoroffsety = 0
indicatorwidth = 160
flipindicator = true
active = modify
modifydirection = both
displaytime = 5
As you can see it is as it came in the default install of RF.
Isnt this enough to get the images to show up on the hud?
I know that I have to have this right. Am I missing something?
Can someone please help me?
I have water in my game and the player takes damage while on the surface of the water. Each time I press any move button at all player health decreases by one even on the surface of the water. I cant get the AltDamage settings to effect the player at all. The settings for the Liquid entity are as follows:
alphamap= a_water.bmp
Bitmap= water
DamageAltAmount= 1
DamageAltAttribute= oxygen
DamageAltDelay= 1
DamageAmount= 1
DamageAttribute= health
DamageDelay= 1
DamageIn= False
GravityCoeff= 100
InLiquidSound=
Model= water
origin= -4 -8 -31
SpeedCoeff= 100
SurfaceSound=
SwimSound=
szEntityName=
TintColor= 0 0 64
Transparency= 64
player.ini has the following:
[health]
initial = 100
low = 0
high = 100
I have made water that has worked fine in RF 0.75, but in the newest version I cant seem to make it work right.
-------------------
--------------------
Also I cannot get the images that came with the new RF for the Oxygen to show in the hud in my game.
player.ini has the following:
[oxygen]
initial = 100
low = 0
high = 100
-----------
hud.ini has the following:
[oxygen]
type= horizontal
frame = hud\hud_health_oxygen.bmp
framealpha = hud\a_hud_oxygen.bmp
indicator = hud\hud_health_oxygeni.bmp
indicatoralpha = hud\a_hud_oxygeni.bmp
framex = 10
framey = 10
indicatoroffsetx = 25
indicatoroffsety = 0
indicatorwidth = 160
flipindicator = true
active = modify
modifydirection = both
displaytime = 5
As you can see it is as it came in the default install of RF.
Isnt this enough to get the images to show up on the hud?
I know that I have to have this right. Am I missing something?
Can someone please help me?