missile with 0 damage but force to pain
missile with 0 damage but force to pain
well i am searching something like forcepain flag, zandronum/skulltag cant support this flag yet, so...how i cant force to a monster enter to a special pain after of reciving the missile attack (by the player), but whithout damage him ?
RE: missile with 0 damage but force to pain
You could make it only do 1 damage and then in that actor's custom pain state, give that health back to them.
But there's a chance of killing them if they have exactly 1hp when you attack them.
But there's a chance of killing them if they have exactly 1hp when you attack them.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

RE: missile with 0 damage but force to pain
your last point is the problem...but i founded another way to simulate that using xdeath state of the missile, thanks anyway =)Ænima wrote: You could make it only do 1 damage and then in that actor's custom pain state, give that health back to them.
But there's a chance of killing them if they have exactly 1hp when you attack them.
RE: missile with 0 damage but force to pain
well, its fine that you have found a way, but you couldnt you share it with us other people? -.-
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there
-
TerminusEst13
- Retired Staff / Community Team Member
- Posts: 865
- Joined: Tue Jun 05, 2012 11:06 pm
RE: missile with 0 damage but force to pain
The chances of this happening are pretty low, mind.Ænima wrote:But there's a chance of killing them if they have exactly 1hp when you attack them.
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~
RE: missile with 0 damage but force to pain
Well if it's a hitscan, you can make the calling actor call an ACS script instead of a hitscan attack, get the calling actor's target, and set the actor's state to the pain state.
-
Watermelon
- Zandrone
- Posts: 1244
- Joined: Thu Jun 28, 2012 9:07 pm
- Location: Rwanda
RE: missile with 0 damage but force to pain
I always wondered if you could do collision detection and say "well he must've hit on this game tic, so therefore use SetActorState or something", but I've never used this in practice though
RE: missile with 0 damage but force to pain
IIRC projectiles on death have their target set to what they hit... probably.Watermelon wrote: I always wondered if you could do collision detection and say "well he must've hit on this game tic, so therefore use SetActorState or something", but I've never used this in practice though
Last edited by Llewellyn on Thu Dec 20, 2012 9:52 am, edited 1 time in total.
-
Ijon Tichy
- Frequent Poster Miles card holder
- Posts: 901
- Joined: Mon Jun 04, 2012 5:07 am
RE: missile with 0 damage but force to pain
Nope, it's their firer. They gotta keep track of who to give points to, right?Llewellyn wrote:IIRC projectiles on death have their target set to what they hit... probably.Watermelon wrote: I always wondered if you could do collision detection and say "well he must've hit on this game tic, so therefore use SetActorState or something", but I've never used this in practice though
RE: missile with 0 damage but force to pain
well my point was if the monster enter to a state (forced by a invisible projectile by the player with 0 damage) this give the player a inventory, and this force the player enter to a special state, on zdoom i used +forcepain flag and no problem, but on zandronum is different, this code is not supported yet so i changed:
the invisible projectile, the state xdeath (only monsters can force this) have the a_givetotarget this give the player the inventory, so is not needed force to pain state the monster for give that inventory.
the invisible projectile, the state xdeath (only monsters can force this) have the a_givetotarget this give the player the inventory, so is not needed force to pain state the monster for give that inventory.