Hitmarkers help me to do it
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Hitmarkers help me to do it
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.
-
- Posts: 192
- Joined: Fri Jun 16, 2017 3:07 pm
- Location: Argentina
Re: Hitmarkers help me to do it
How can i do it?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.
-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Hitmarkers help me to do it
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.
So I can advise you leave it as it is.
-
- Posts: 192
- Joined: Fri Jun 16, 2017 3:07 pm
- Location: Argentina
Re: Hitmarkers help me to do it
Okay then i think that i have finished the hitmarkersramon.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.

-
- Posts: 192
- Joined: Fri Jun 16, 2017 3:07 pm
- Location: Argentina
Re: Hitmarkers help me to do it
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)
the code: XDeath:
TNT1 A 0
TNT1 A 0 A_GiveToTarget("HitIndicator",1)
-
- Posts: 192
- Joined: Fri Jun 16, 2017 3:07 pm
- Location: Argentina
Re: Hitmarkers help me to do it
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.pk3ramon.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.
-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Hitmarkers help me to do it
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.
viewtopic.php?f=105&t=59085
Modifying for your own purpose is easy.
-
- Posts: 192
- Joined: Fri Jun 16, 2017 3:07 pm
- Location: Argentina
Re: Hitmarkers help me to do it
Is it possible to put sprites when the player climb?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.