About Daniel's weapon mod
About Daniel's weapon mod
With weapon 666, the one that brings monsters back, is there a way to make those ghosts disappear? It pisses me off when I try to shoot monsters down and I accidentally select weapon 666 and then those ghosts are following me forever.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
It has to do with the way both ACTOR's 666SeekerShot and 666HealingShot are coded, most notably the GOTO's in their States. Take a look:
Now the way I see it the GOTO's should be like this:
I could be wrong on the fix, but I'm almost sure thats the problem.
Code: Select all
ACTOR 666SeekerShot
{
Health 300
Radius 13
Height 8
Speed 16
Damage 3
MeleeDamage 8
DONTHURTSHOOTER
+FRIENDLY
+CANPASS
+NOGRAVITY
+FLOAT
+FLOATBOB
+NOTARGET
+NORADIUSDMG
HitObituary "%o was killed by a Bloody Ghost."
MeleeSound "weapons/skullshot"
DeathSound "weapons/skullexplode"
RenderStyle Add
Alpha 0.8
States
{
Spawn:
666S AB 4 Bright
666S AAAA 1 Bright A_Look
666S BBBB 1 Bright A_Look
666E A 3 Bright
666E BCDE 4 Bright
Stop
See:
666S A 1 Bright A_SkullAttack
666S AAAA 1 Bright A_Chase
666S A 0 A_CustomMissile("666ShotTrail",0,0,0)
666S BBBB 1 Bright A_Chase
666S B 0 A_CustomMissile("666ShotTrail",0,0,0)
Goto See+1
Melee:
666S AB 4 Bright A_MeleeAttack
666S A 0 Bright A_Jump(16,1)
Goto See+1
666E A 3 Bright
666E BCDE 4 Bright
Stop
Death:
666E A 3 Bright
666E BCDE 4 Bright
Stop
}
}
ACTOR 666HealingShot
{
Health 300
Radius 13
Height 8
Speed 10
Damage 3
MeleeDamage 8
DONTHURTSHOOTER
+FRIENDLY
+CANPASS
+NOGRAVITY
+FLOAT
+FLOATBOB
+NOTARGET
+NORADIUSDMG
MeleeSound "weapons/skullshot"
DeathSound "weapons/skullexplode"
RenderStyle Fuzzy
Alpha 0.8
States
{
Spawn:
666S AB 4 Bright
666S AAAA 1 Bright A_Look
666S BBBB 1 Bright A_Look
666E A 3 Bright
666E BCDE 4 Bright
Stop
See:
666S A 1 Bright A_SkullAttack
666S AAAA 1 Bright A_VileChase
666S A 0 A_CustomMissile("666ShotTrail",0,0,0)
666S BBBB 1 Bright A_VileChase
666S B 0 A_CustomMissile("666ShotTrail",0,0,0)
Goto See+1
Heal:
666S AB 4 Bright
666S A 0 Bright A_Jump(32,1)
Goto See+1
666E A 3 Bright
666E BCDE 4 Bright
Stop
Death:
666E A 3 Bright
666E BCDE 4 Bright
Stop
}
}
Code: Select all
ACTOR 666SeekerShot
{
Health 300
Radius 13
Height 8
Speed 16
Damage 3
MeleeDamage 8
DONTHURTSHOOTER
+FRIENDLY
+CANPASS
+NOGRAVITY
+FLOAT
+FLOATBOB
+NOTARGET
+NORADIUSDMG
HitObituary "%o was killed by a Bloody Ghost."
MeleeSound "weapons/skullshot"
DeathSound "weapons/skullexplode"
RenderStyle Add
Alpha 0.8
States
{
Spawn:
666S AB 4 Bright
666S AAAA 1 Bright A_Look
666S BBBB 1 Bright A_Look
666E A 3 Bright
666E BCDE 4 Bright
Stop
See:
666S A 1 Bright A_SkullAttack
666S AAAA 1 Bright A_Chase
666S A 0 A_CustomMissile("666ShotTrail",0,0,0)
666S BBBB 1 Bright A_Chase
666S B 0 A_CustomMissile("666ShotTrail",0,0,0)
Goto Death
Melee:
666S AB 4 Bright A_MeleeAttack
666S A 0 Bright A_Jump(16,1)
Goto See+1
666E A 3 Bright
666E BCDE 4 Bright
Stop
Death:
666E A 3 Bright
666E BCDE 4 Bright
Stop
}
}
ACTOR 666HealingShot
{
Health 300
Radius 13
Height 8
Speed 10
Damage 3
MeleeDamage 8
DONTHURTSHOOTER
+FRIENDLY
+CANPASS
+NOGRAVITY
+FLOAT
+FLOATBOB
+NOTARGET
+NORADIUSDMG
MeleeSound "weapons/skullshot"
DeathSound "weapons/skullexplode"
RenderStyle Fuzzy
Alpha 0.8
States
{
Spawn:
666S AB 4 Bright
666S AAAA 1 Bright A_Look
666S BBBB 1 Bright A_Look
666E A 3 Bright
666E BCDE 4 Bright
Stop
See:
666S A 1 Bright A_SkullAttack
666S AAAA 1 Bright A_VileChase
666S A 0 A_CustomMissile("666ShotTrail",0,0,0)
666S BBBB 1 Bright A_VileChase
666S B 0 A_CustomMissile("666ShotTrail",0,0,0)
Goto Death
Heal:
666S AB 4 Bright
666S A 0 Bright A_Jump(32,1)
Goto See+1
666E A 3 Bright
666E BCDE 4 Bright
Stop
Death:
666E A 3 Bright
666E BCDE 4 Bright
Stop
}
}
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- chronoteeth
- Posts: 2664
- Joined: Wed Sep 08, 2004 1:29 pm
- Preferred Pronouns: It/Its
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
If I had heart I'd clean up the crap in ZDGuns.wad known as the DECORATE lump, which, although it wouldn't make the mod any more origional, it certainly would make it more functional. But I'm heartless. Anyway, if you wan't you can try applying my fix to Weapon 666 by editing the lump yourself. Be aware that I haven't tested this, though, and cannot guaruntee it works.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
Thats even easier. Here are the steps, check the spoiler tags for a code check.
1. Edit out 666 in the KEYCONF
Then you're done. Seeing as how this doesn't affect any other weapons, it shouldn't break the wad. DISCLAIMER: I do not condone the use of any methods that will alter a wad beyond the authors wishes, if you choose to use this, or my tutorial above, you do so with full knowledge of what the text file says you may/may not do, the authors permissions, and the knowledge of what I have stated above. This is to cover my ass.
1. Edit out 666 in the KEYCONF
Spoiler:2. Delete all references of Weapon666 from the DECORATE lump
Spoiler:3. Delete all sprites beginning with 666.
Then you're done. Seeing as how this doesn't affect any other weapons, it shouldn't break the wad. DISCLAIMER: I do not condone the use of any methods that will alter a wad beyond the authors wishes, if you choose to use this, or my tutorial above, you do so with full knowledge of what the text file says you may/may not do, the authors permissions, and the knowledge of what I have stated above. This is to cover my ass.
- chronoteeth
- Posts: 2664
- Joined: Wed Sep 08, 2004 1:29 pm
- Preferred Pronouns: It/Its
I noticed that bug, but after all the tests, what I noticed is that when a friendly monster is spawned and any monsters are on its sight, it attacks the player, so the Friendly flag becomes unusable. I don't know if it's an engine bug, but the way to avoid it is to make the ghosts dissappear, as HobbyTiger1 said. I'll see what I can do, but I don't think I'll keep working on this mod.
1 - I'm not a graphic maker, the maximum thing I do is change some details from original graphics. Every graphic I made from scratch sucked;
2 - I like to keep working and improving the same stuff until it looks good;
3 - If some weapons such as PoisonGun, Freezing gun, Weapon 666 and the Nuclear weapon aren't improves, I really don't know what is going to be a improvement.
It's not true, I listen to all your bug notifications. I think you chronoteeth started to take your time to blame me, like some people in the community a long time ago. I'll tell why I don't make new graphics:chronoteeth wrote:Daniel has been ignoring us greatly, he never improves, every weapon mod he makes, it is awlays the same.
1 - I'm not a graphic maker, the maximum thing I do is change some details from original graphics. Every graphic I made from scratch sucked;
2 - I like to keep working and improving the same stuff until it looks good;
3 - If some weapons such as PoisonGun, Freezing gun, Weapon 666 and the Nuclear weapon aren't improves, I really don't know what is going to be a improvement.