datsexyanon

Edward pls

Aug 12th, 2013
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. <TerminusEst13> Yo, quick question.
  2. <TerminusEst13> +NODAMAGE doesn't appear to be letting the player enter the Pain state. Is there a way to have the player enter the Pain state while still not losing health?
  3. <Edward850> I can't find any code related to such a condition.
  4. <Xangi> Couldn't you set the Damage scale to something insanely low?
  5. <Xangi> Or is that not changeable during gameplay?
  6. <Edward850> No, as in what he just said shouldn't happen.
  7. <Xangi> So they enter pain state even with NODAMAGE?
  8. <Xangi> That's good to know
  9. <Edward850> Yes.
  10. <Edward850> There is no condition that should exxlude the player from this.
  11. <XutaWoo> I think the player doesn't enter the pain state if no damage is done.
  12. <XutaWoo> For armor-related reasons.
  13. <XutaWoo> ...
  14. <TerminusEst13> Well, that's a shame.
  15. <XutaWoo> kids
  16. <Edward850> ... Now that you meantion it, yes.
  17. <TerminusEst13> I guess I'll have to do something other than +NODAMAGE.
  18. <XutaWoo> don't type two different ways at two different places
  19. <Edward850> I forgot that condition exists.
  20. <XutaWoo> it causes stuff like that
  21. <Xangi> If there's a way to set damage scale, just set it obscenely low maybe
  22. <Xangi> then give the player health if they get hurt at all
  23. <XutaWoo> i think
  24. <XutaWoo> FORCEPAIN
  25. <Xangi> functionally it's pretty much the same
  26. <XutaWoo> might override that condition
  27. <Edward850> Xangi: You didn't read what Xuta just said.
  28. <Xangi> Damage is still done, just hardly any
  29. <Edward850> If no damage is delt at all, there is no painstate.
  30. <Xangi> That's why you don't set it to 0, just, say 0.01
  31. <Edward850> ... I don't think you understand. If you multiply something to 0, it's 0.
  32. <Xangi> You're not multiplying it by 0
  33. <Edward850> Damage isn't floating. It's fixed.
  34. <Edward850> *int.
  35. <TerminusEst13> +FORCEPAIN might be a good idea. I was hoping to have this compatible with .wads that use custom monsters, but oh well.
  36. <TerminusEst13> Can't have everything, especially in Zandroland~
Advertisement
Add Comment
Please, Sign In to add comment