Left 4 Dead 2
Оценок: 243
Friendly fire on Incap
   
Наградить
В избранное
В избранном
Удалить
Survivors: Survivors
Game Content: Weapons, Scripts, Miscellaneous
Weapons: Pistol
Размер файла
Добавлен
14.353 KB
12 сен. 2024 г. в 9:12
Обновлений: 1 (просмотреть)

Подпишитесь, чтобы загрузить
Friendly fire on Incap

В 1 коллекции, созданной Withgreen1
Realistic Global Difficulty Enhancements
Предметов: 8
Описание
-- English --

You all probably screaming right now beholding this script.
Let me introduce you this new add-on I was working on... totally not forgot about the other ones I need to fix hehe


The main difference between Left 4 Dead and Left 4 Dead 2 is where the gameplay is focused on.
Left 4 Dead had a much more terrifying and gloomy atmosphere, giving the player the sense of insecurity all the time to keep it focused on your team, decitions, and sorroundings leading to a slow phased progress sometimes. Some of his golden mechanics were the punishment for doing things wrong, dealing with a much hardcore type of gameplay, which I think it fits perfectly with the terror theme.
Left 4 Dead 2 however, bringed us a fast phased and really fun and frenetic gameplay, leaving the hardcore and the terror sense almost in the shadows, which is not bad, they are just gameplay decisions for it's sequel.

What I indeed find a little sad is the decision to not implement some original mechanics from the original game, or even lacking someones due to forgeting they exist. Thanks Hex for your fix for reload animations, now back to the description.

And sadly, one of those mechanics who got buried beneath a huge pile of zombies to never come back was indeed the friendly fire while you were still incapacitated. I thought it was a very cool mechanic which make all the sense of the world.


So, because of this, I thought... why don't just unbury it and bring it back to life as close as possible to the original?
Well, you know me, you are already seeing it, so that's exactly what I did >:)


Features:
- Brings back the friendly fire when survivors are incapacitated by simulating it.
- Uses difficulty friendly fire damage factor to scale the damage appropriately.
- Keep track of difficulty and cvar changes to change the damage scale as gamaplay goes.


How this script works?
This script does not "enable" friendly fire, it just silumates it. How? Let me get right to it.
The script generates ray traced lines which mimic the bullet path from the players view to it's impact location. Then, if a survivor hitbox is detected in the path, damage is applied based on damage factors each difficulty has.

Yep, it's that simple :3
On thing I HAD in consideration this time is the fact that this could be really annoying if bots could do friendly fire damage. The reason is because they don't seem to care about ff avoidance when incapacitated, so yeah, only real players can trigger friendly fire simulation system.
Maybe I'll do a ems to have an option to turn it on, who knows hehe

Another thing to note is that the friendly fire simulation system only gets trigger by the pistols or the Deagle(Magnum). If you have other add-ons to be able to use other weapons while incap their damage will not be simulated.



In rare occasions, some entities may not generate an impact as far as I saw, I'm not sure which ones but mostly the 3D skybox. Not having an impact will result on friendly fire not being applied because there is not a bullet path to mimic.
So keep that in mind when shooting strange entities through a survivor (?

Side note: This uses game factors to scale damage, therefore, if you have friendly fire scaled to 0 or turned off completely, this addon won't apply any friendly fire damage too.


Thank for all the love, support and help you guys gave me last weeks and days. It's been awesome for me seeing that people love my stuff and I hope to be able of being here making more crazy stuff for you. Have a lovely day, a lovely night and I'll see you in my next add-on or in my comments tab haha <3



Compatibility:
➤ Works on/with:
ˑ ➥ Singleplayer or Solo.
ˑ ➥ Multiplayer but only on your own hosted local servers.
➤ Won't/May not work if:
ˑ ➥ You don't let your game finish loading your workshop add-ons.
ˑ ➥ You have other scripts which affect survivor incap state or turn off friendly fire factors.
ˑ ➥ You are using another weapon aside from the pistol or the deagle when you are incapacitated.
ˑ ➥ You have another script with the same file names.



Credits:
➤ Withgreen1
ˑ ➥ Idea and concept.
ˑ ➥ Script creation and development.
ˑ ➥ Implementation.
➤ ChimiChamo
ˑ ➥ Inspiration and script structure for TraceLines.
Комментариев: 101
Withgreen1  [создатель] 17 дек. 2024 г. в 9:43 
@DEATHSCALATOR What do you mean?
DEATHSCALATOR 16 дек. 2024 г. в 23:46 
Ok, it's already hard enough for them when I'm playing versus alone as the infected.
Withgreen1  [создатель] 16 дек. 2024 г. в 11:33 
So only human players deal friendly fire damage with this.
Withgreen1  [создатель] 16 дек. 2024 г. в 11:32 
@DEATHSCALATOR That information is in the description but, nop, they can't.
Only human players are affected by the script.
DEATHSCALATOR 15 дек. 2024 г. в 18:48 
can bots friendly fire each other with this?
Withgreen1  [создатель] 22 окт. 2024 г. в 11:40 
@Zadkiel Now I get what were you saying a time ago.
Last day I had a teammate who joined the game and downed me for no reason.
Then I downed him with the Deagle using 3 shots xD (It was on low health haha)
Withgreen1  [создатель] 22 окт. 2024 г. в 11:30 
@不能修復的痛 Thank you :3
不能修復的痛 22 окт. 2024 г. в 10:11 
I like your idea
Withgreen1  [создатель] 30 сен. 2024 г. в 17:03 
@TuMaravilla Hehe, I really appreciate it ^^
TuMaravilla 30 сен. 2024 г. в 16:57 
@Withgreen1 Im just a player who like this game and the modders who make good stuff like you x)