Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
RazTK

MBF Dogs

Recommended Posts

I wanted the MBF Dogs to look like the doom player.
I switched the sprites of the MBFHelperDog in the file 'Things.edf' to the sprites of DoomPlayer.
Everything seems to be fine, but the problem is that the dog doesn't move after all.
Here is what it looks like now:

thingtype MBFHelperDog {
  doomednum = 888
  spawnstate = S_PLAY
  spawnhealth = 500
  seestate = S_PLAY_RUN1
  seesound = dgsit
  attacksound = dgatk
  painstate = S_PLAY_PAIN
  painchance = 180
  painsound = plpain
  meleestate = S_DOGS_ATK1
  deathstate = S_PLAY_DIE1
  deathsound = pldeth
  speed = 10
  radius = 16.0
  height = 56.0
  activesound = dgact
  cflags = SOLID|SHOOTABLE|COUNTKILL|JUMPDOWN|FOOTCLIP|SPACMONSTER
  raisestate = S_DOGS_RAISE1
  obituary_melee = "was chased down by a rabid puppy"
  dehackednum = 140
}
Can you guys tell me what is the problem?
Thanks in advance.

Share this post


Link to post

The player's states are not meant for use by a monster. They don't contain the necessary code pointers to make it move.

Share this post


Link to post
Graf Zahl said:

The player's states are not meant for use by a monster. They don't contain the necessary code pointers to make it move.

Ok, I think I understand.
Thank you for explaining me.

Share this post


Link to post

The easier way to do this is to make an entirely new object and frameset that looks like a player, and then in a BEX patch, use the following:

[HELPER]
type = <DeHackEd Number>

Where DeHackEd number is some unique number which you assign to the thing (use a number >= 10000 for forward compatibility purposes). Actually I'm not sure the name of the field is "type", but you can find documentation of the helper type specification in the DeHackEd/BEX reference to be sure.

Share this post


Link to post

RazTK...make a file called blastbud.deh and copy and paste this information:

Patch File for DeHackEd v3.0

# Note: Use the pound sign ('#') to start comment lines.

Doom version = 21
Patch format = 6


Thing 1 (Player)
Bits2 = slide

Thing 24 (SS Nazi)
Alert sound = 36
Death sound = 59
Close attack frame = 736
Far attack frame = 0
Bits = 71303174

Thing 140 (Doggies)
Initial frame = 726
First moving frame = 728
Alert sound = 36
Reaction time = 1
Attack sound = 0
Injury frame = 742
Pain chance = 170
Pain sound = 27
Close attack frame = 738
Far attack frame = 738
Death frame = 744
Exploding frame = 749
Death sound = 59
Action sound = 75
Respawn frame = 758
Width = 1048576
Height = 3670016
Speed = 14
Bits = DROPOFF|SOLID|SHOOTABLE|COUNTKILL|TELEPORT
Mass = 100
Hit points = 1000

Frame 726
Sprite number = 28

Frame 727
Sprite number = 28

Frame 728
Sprite number = 28

Frame 729
Sprite number = 28

Frame 730
Sprite number = 28

Frame 731
Sprite number = 28

Frame 732
Sprite number = 28

Frame 733
Sprite number = 28

Frame 734
Sprite number = 28

Frame 735
Sprite number = 28

Frame 736
Sprite number = 28

Frame 737
Sprite number = 28
Sprite subnumber = 4

Frame 738
Sprite number = 28
Sprite subnumber = 32773

Frame 739
Sprite number = 28
Sprite subnumber = 4

Frame 740
Sprite number = 28
Sprite subnumber = 32773

Frame 741
Sprite number = 28
Sprite subnumber = 4

Frame 742
Sprite number = 28
Sprite subnumber = 6

Frame 743
Sprite number = 28
Sprite subnumber = 6

Frame 744
Sprite number = 28
Sprite subnumber = 7

Frame 745
Sprite number = 28
Sprite subnumber = 8

Frame 746
Sprite number = 28
Sprite subnumber = 9

Frame 747
Sprite number = 28
Sprite subnumber = 10

Frame 748
Sprite number = 28
Sprite subnumber = 13

Frame 749
Sprite number = 28
Sprite subnumber = 14

Frame 750
Sprite number = 28
Sprite subnumber = 15

Frame 751
Sprite number = 28
Sprite subnumber = 16

Frame 752
Sprite number = 28
Sprite subnumber = 17

Frame 753
Sprite number = 28
Sprite subnumber = 18

Frame 754
Sprite number = 28
Sprite subnumber = 19

Frame 755
Sprite number = 28
Sprite subnumber = 20

Frame 756
Sprite number = 28
Sprite subnumber = 21

Frame 757
Sprite number = 28
Sprite subnumber = 22

Frame 758
Sprite number = 28
Sprite subnumber = 11

Frame 759
Sprite number = 28
Sprite subnumber = 10

Frame 760
Sprite number = 28
Sprite subnumber = 9

Frame 761
Sprite number = 28
Sprite subnumber = 8

Frame 762
Sprite number = 28
Sprite subnumber = 7

[CODEPTR]
Frame 738 = Vileattack
Frame 740 = Vileattack

Misc 0
Initial Health = 200

# This is a helper bot that i upgraded from the MBF playbud hack.

Share this post


Link to post
Entropy said:

RazTK...make a file called blastbud.deh and copy and paste this information:

Thank you!

Share this post


Link to post
Guest
This topic is now closed to further replies.
×