Page 2 of 2

Re: Hitmarkers help me to do it

Posted: Thu Jan 18, 2018 12:38 am
by ramon.dexter
Well, looks like you make it work with hitscan weapons. The plasmagun, rocket launcher and bfg are projectile weapons, so you have to use different method.

Re: Hitmarkers help me to do it

Posted: Thu Jan 18, 2018 2:49 pm
by Niphura
ramon.dexter wrote:Well, looks like you make it work with hitscan weapons. The plasmagun, rocket launcher and bfg are projectile weapons, so you have to use different method.
How can i do it?

Re: Hitmarkers help me to do it

Posted: Fri Jan 19, 2018 1:02 am
by ramon.dexter
To be honest, I dont think its a good idea. Like, the hitscan has a reason - the bullet impact in hitscan is nearly instant, so it has a reason for the hitmarker. But the projectiles in plasma rifle, rocket launcher and bfg travels too slow. So, imagine this: you'll shoot, then you turn around and then the hitmarker appears, when you are not shooting, but looking at the wall.
So I can advise you leave it as it is.

Re: Hitmarkers help me to do it

Posted: Fri Jan 19, 2018 6:14 am
by Niphura
ramon.dexter wrote:To be honest, I dont think its a good idea. Like, the hitscan has a reason - the bullet impact in hitscan is nearly instant, so it has a reason for the hitmarker. But the projectiles in plasma rifle, rocket launcher and bfg travels too slow. So, imagine this: you'll shoot, then you turn around and then the hitmarker appears, when you are not shooting, but looking at the wall.
So I can advise you leave it as it is.
Okay then i think that i have finished the hitmarkers :)

Re: Hitmarkers help me to do it

Posted: Wed Jan 24, 2018 9:45 am
by Niphura
Just a quick Update, i managed to make the hitmarkers work on projectiles weapons like the rocketlauncher, BFG, Plasmagun, etc. you just have to add this code on the missile or projectile of your weapon on the line spawn.

the code: XDeath:
TNT1 A 0
TNT1 A 0 A_GiveToTarget("HitIndicator",1)

Re: Hitmarkers help me to do it

Posted: Fri Jan 26, 2018 1:02 pm
by Niphura
ramon.dexter wrote:To be honest, I dont think its a good idea. Like, the hitscan has a reason - the bullet impact in hitscan is nearly instant, so it has a reason for the hitmarker. But the projectiles in plasma rifle, rocket launcher and bfg travels too slow. So, imagine this: you'll shoot, then you turn around and then the hitmarker appears, when you are not shooting, but looking at the wall.
So I can advise you leave it as it is.
A quick question does not have to do with hitmarkers. I'm trying to make the player be able to climb the edges of surfaces, I've seen this in project brutality or brutal doom. I have put together a .pk3 file but something is wrong with the ACS could you tell me what is wrong? http://www.mediafire.com/file/6bw1aky2threl9e/Grab.pk3

Re: Hitmarkers help me to do it

Posted: Sat Jan 27, 2018 3:01 am
by ramon.dexter
Forget ACS for this thing. Here is what you want - its zscript, ofcourse.

viewtopic.php?f=105&t=59085

Modifying for your own purpose is easy.

Re: Hitmarkers help me to do it

Posted: Sat Jan 27, 2018 7:04 am
by Niphura
ramon.dexter wrote:Forget ACS for this thing. Here is what you want - its zscript, ofcourse.

viewtopic.php?f=105&t=59085

Modifying for your own purpose is easy.
Is it possible to put sprites when the player climb?