New to the forum? Say hello in this topic! Make sure to read the rules.

Wrong Damage Script

All reported bugs that's actually by design.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
Presentionus
Fighter
Fighter
Posts: 56
Joined: Fri Jan 13, 2017 6:40 pm
Title: Break, Make, Smash, Bash
SFD Account: Presentionus
SFD Alias: Present
Started SFD: PreAlpha 1.7.3b
Location: In a Present
Gender:
Contact:

Wrong Damage Script

Post by Presentionus » Wed Apr 19, 2017 11:06 pm

So, if you shoot a metal hatch with 1 bullet with an UZI it will turn grey and if you shoot it again it breaks. But! If you kick a metal hatch it immideatly breaks. SFD = MIND BLOWN :shock:
0 x
░░░░░░███████ ]▄▄▄▄▄▄▄▄▃
▂▄▅█████████▅▄▃▂
I███████████████████].
◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤...

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 313
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 19

Post by JakSparro98 » Wed Apr 19, 2017 11:55 pm

I think not, this is not a bug for a simple reason.

The supply crate (and not only) behave according to the same concept, you can shoot multiple times but it needs only one kick to break.
This is a hard coded feature, it means that, first its not changable by scripts and second it doesn't not really need to respect game rules, so a weak melee hit can break something that actually have more life than how much the hit takes away.
0 x

User avatar
Lunatic
Moderator
Moderator
Posts: 582
Joined: Tue Mar 15, 2016 10:03 pm
Title: I hope Klipeh bans himself
SFD Alias: (LM) Lunatic
Started SFD: 1.0.5 Pre-Alpha
Gender:
Age: 21

Post by Lunatic » Thu Apr 20, 2017 12:41 am

Uzi only deals 4.5 damage. Kicks deal 5 damage to objects. Otherwise though yeah the kick is hardcoded to break certain things in one hit.
0 x
Originally posted by Gurt
SFD BADASS! 8-)

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1004
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 28

Post by Gurt » Thu Apr 20, 2017 9:55 pm

A typical "game-rule" and it's all by design.
0 x
Gurt

Locked

Who is online

Users browsing this forum: No registered users and 1 guest