-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New effect: Bumper Peds #276
base: 3.0
Are you sure you want to change the base?
Conversation
If the car is being pushed away from the ped, shouldn't it much rather be called something else? |
I thought about it. While coding I decided to make car push away but didn't change the name. |
Hmm... "Pinball Peds" or "Bumper Peds" might be an idea, or maybe even "Rubber Peds"... |
a2c48b2
to
5719159
Compare
I think "Bumper Peds" is more accurate |
I wonder if using the Example here: https://github.com/gta-chaos-mod/Trilogy-ASI-Script/blob/3.0/src/gtasa/effects/custom/hud/ScreensaverHUDEffect.cpp#L123 You gotta make a copy of the instance (or reference rather) in the |
I've tested random Z value but that didn't turn out to be much fun. So I've decided to use fixed Z value. 0.3f value is enough to "jump over" most of fences in the game. |
I don't think it needs to be higher, but I feel it can sometimes be lower to be honest - maybe 0.01 as well. So somewhere inbetween 0.01 and 0.3 maybe Having the car just slide away is annoying as well, especially when you hit multiple peds after one another |
Do you want to have an internal cooldown for pushing? Like 500-1000ms |
Nono, what I meant is that I think it's annoying in a funny way if the car is just sliding at times as well, compared to it bouncing on every hit |
5719159
to
9943265
Compare
Ok, I changed to random value between 0.01f and 0.2f |
This effect disable run over a ped by a vehicle. Instead of it, the vehicle will push away from the ped.
However, the player can still be run over by vehicle.