Max Health Bonus...

Do you have a question about making weapon mods, or do you just need some tutorials and resources? Ask about all of that here.

Moderator: wildweasel

User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Max Health Bonus...

Post by Betanol »

What I want to do is simply add to my wad a thing that permanently increases the marine's health by a certain amount. Like the max health bonus of the skulltag, F.E.A.R (health inplants of some kind) does. I found the decorate of the skulltag's but there is a little problem. I can't find the "MaxHealth" thingy anywhere. Can somebody tell me whats this "MaxHealth" or what thing i need to add to the Doom's helath bonus to make the bonus permanent?

Skulltag's code

Code: Select all

//Healthbonus by SKULLTAG
//so, credits to them!!

ACTOR MaxHealthBonus : MaxHealth 5090
{
	Game Doom
	SpawnID 166
	+COUNTITEM
	+INVENTORY.ALWAYSPICKUP
	Inventory.Amount 1
	Inventory.MaxAmount 50
	Health 200
	Inventory.PickupMessage "You got a MaxHealth implant!"
	States
	{
	Spawn:
		BON3 ABCDCB 6
		Loop
	}
}
Doom's helath bonus code

Code: Select all

actor HealthBonus : Health 2014
{
  spawnid 152
  radius 20
  height 16
  inventory.pickupmessage "Picked up a health bonus."
  inventory.amount 1
  inventory.maxamount 200
  +COUNTITEM
  +INVENTORY.ALWAYSPICKUP
  states
  {
  Spawn:
    BON1 ABCDCB 6
    loop
  }
}
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

Post by wildweasel »

I think MaxHealth may be a Skulltag-specific property. I'm not sure though - maybe a ZDoom guru might be able to provide more info?
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

That's a bad sign :(

I was REALLY couting on this one :/
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

Well, guess nobody knows

:(
:(
User avatar
hitmanx
Posts: 215
Joined: Sat Dec 24, 2005 13:07

Post by hitmanx »

nope, sorry
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

=(

Return to “Weapon Modding Help & Resources”