Any mods out there that shows efficiency stats? Such as:
-Pistol fired 100 times, pistol hit 80 times (80% efficiency)
(same with chaingun and plasmagun)
-100 shotgun traces fired, 60 traces hit (60% efficiency)
(same with supershotgun)
-100 rockets fired
50 direct hits (50% direct hit efficiency)
8000 HP rocket damage applied (combining direct and blast radius)
160 average damage per rocket
(this value will be higher if you save rockets for clumps of monsters)
Perhaps an advanced stat of overkill:
Say a monster has 10 HP left and you blast it with a rocket, you've just wasted around 100 potential damage. Whereas a pistol shot would waste very little damage potential if any at all.
A projectile dodge stat would be cool as well, but I admit that this would be difficult to program. Something like continuing on your current velocity vector would result in a projectile collision, but since you've altered the velocity vector you successfully dodged. In other cases it could be said because you've altered your velocity vector you've caused a projectile collision to occur.
Weapon effciency mod?
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: 1606
- Joined: Mon Jun 12, 2017 12:57 am
Re: Weapon effciency mod?
You can use world thing damaged for this. You need to check if player pawn inflict damage, from what weapon and and how much damage, and then store that damage to...well to weapon variable, to array, give to player some inventory item, to cvar.
But if you want draw it on player screen I cant help with this. This is still too complicated for me, at least now.
For dodge, it CAN be done, but, I think, it will require requiere MUCH work from modder, since, how you count kill, if monster walk to path of rocket, which firstly fly to one monster, but then miss it?
But if you want draw it on player screen I cant help with this. This is still too complicated for me, at least now.
For dodge, it CAN be done, but, I think, it will require requiere MUCH work from modder, since, how you count kill, if monster walk to path of rocket, which firstly fly to one monster, but then miss it?