Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Status update 2018-02-23
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
Status update 2018-02-23
I forgot to post a status update last week but here's one to cover the past two weeks I guess.
Progress is being made for the bots shooting and their line-of-sight check, aiming and weapon behavior. This is an iterative process as we swap back and forth between different features to make the bots work as we want in the campaigns. I'm not going to dive into details as that would be too technical for a status update post so I will keep it short this time.
We're working on the bots and campaigns and will keep working on it for some time to come!
Progress is being made for the bots shooting and their line-of-sight check, aiming and weapon behavior. This is an iterative process as we swap back and forth between different features to make the bots work as we want in the campaigns. I'm not going to dive into details as that would be too technical for a status update post so I will keep it short this time.
We're working on the bots and campaigns and will keep working on it for some time to come!
10 x
Gurt
- Alexbra25
- Superfighter
- Posts: 89
- Joined: Sat Mar 19, 2016 2:35 pm
- Title: lucky boy
- SFD Account: Alexbra25
- SFD Alias: |LPH| Just me
- Started SFD: PreAlpha 1.0.6
- Location: Brazil/São Paulo
- Gender:
- Age: 23
Cool,will this line-of-sight check work automatically in any custom map ?
1 x
Love will tear us apart
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
Without explaining it in a too technical way the bots' line-of-sight is based on checking for solid tiles collision by means of a raycast.
It is completely independent to what map are you using, the code only checks if a straight line that starts from the bot to the target isn't interrupted by an object that will absorb bullets, and if it's the case the bot will shoot.
You can notice that I've also added a glass panel, this is to demonstrate that the system can ignore tiles that aren't actually blocking bullets.
9 x
- Alexbra25
- Superfighter
- Posts: 89
- Joined: Sat Mar 19, 2016 2:35 pm
- Title: lucky boy
- SFD Account: Alexbra25
- SFD Alias: |LPH| Just me
- Started SFD: PreAlpha 1.0.6
- Location: Brazil/São Paulo
- Gender:
- Age: 23
Oh... your explanation was really good, I imagine they will be able to ignore crates when they have sniper or magnum as well, like they can ignore glass.JakSparro98 wrote: ↑Fri Feb 23, 2018 10:53 pmWithout explaining it in a too technical way the bots' line-of-sight is based on checking for solid tiles collision by means of a raycast.
It is completely independent to what map are you using, the code only checks if a straight line that starts from the bot to the target isn't interrupted by an object that will absorb bullets, and if it's the case the bot will shoot.
You can notice that I've also added a glass panel, this is to demonstrate that the system can ignore tiles that aren't actually blocking bullets.
0 x
Love will tear us apart
- Del Poncho
- Superfighter
- Posts: 262
- Joined: Sat Mar 19, 2016 8:57 pm
- Started SFD: July 2012 (1.0.5)
- Location: Poncholand
- Gender:
- Age: 28
Will they try to use "tactics" that consist in breaking the covers?
For example,if I have an m60,I can shoot people even if they're behind a crate,since it'll last just a few shots before breaking.
Will the bots have this kind of reasoning?
For example,if I have an m60,I can shoot people even if they're behind a crate,since it'll last just a few shots before breaking.
Will the bots have this kind of reasoning?
0 x
The risk I took was caluclated, but man.....am I bad at math.
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
There's technically no limit since they can read how much health every object in the map has.Del Poncho wrote: ↑Sat Feb 24, 2018 11:34 pmWill they try to use "tactics" that consist in breaking the covers?
For example,if I have an m60,I can shoot people even if they're behind a crate,since it'll last just a few shots before breaking.
Will the bots have this kind of reasoning?
I don't know how Gurt will structure his bots, but even in a ScriptAPI version (mine, for example) this could be possible.
0 x
- TheOriginalCj
- Moderator
- Posts: 177
- Joined: Tue Mar 15, 2016 10:28 pm
- Title: Lifetime Sentence to SF Wiki
- SFD Alias: RedneckJed
- Started SFD: PreAlpha 1.1.0
- Location: USA
- Gender:
- Contact:
To keep it effectively simple, a run of the mill goon type AI might not shoot unless a player is in view, essentially the AI will ignore any player that is out of the bot's sight line.
Even if the crate a player is in cover with has 1HP left, the bot will only attack if the player is in sight. Perhaps on higher difficulties, the AI would need to distinguish if it's worth it or not to destroy player cover.
Even if the crate a player is in cover with has 1HP left, the bot will only attack if the player is in sight. Perhaps on higher difficulties, the AI would need to distinguish if it's worth it or not to destroy player cover.
1 x
Superfighters Wiki Founder
The Superfighters Wiki
Join the Wiki!
The Superfighters Wiki
Join the Wiki!
Danger Ross wrote: What are you doing here wiki-slave?! GET BACK TO WORK!
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
I was, in fact, talking in terms of feasibility, the possibility that hard-level bots could break covers is up only to how the devs are imagined their behaviour, there aren't technical limitations and I was trying to say that also a script-made bot can also handle weak covers in order to shoot, let alone a native AI behaviour.TheOriginalCj wrote: ↑Sun Feb 25, 2018 1:17 amEven if the crate a player is in cover with has 1HP left, the bot will only attack if the player is in sight. Perhaps on higher difficulties, the AI would need to distinguish if it's worth it or not to destroy player cover.
0 x
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
That all boils down to game design. The typical "thug" in a campaign will probably keep moving towards you and only shoot you when they see you (if they carry a weapon) or stay still guarding a specific spot.JakSparro98 wrote: ↑Sun Feb 25, 2018 2:05 amI was, in fact, talking in terms of feasibility, the possibility that hard-level bots could break covers is up only to how the devs are imagined their behaviour, there aren't technical limitations and I was trying to say that also a script-made bot can also handle weak covers in order to shoot, let alone a native AI behaviour.TheOriginalCj wrote: ↑Sun Feb 25, 2018 1:17 amEven if the crate a player is in cover with has 1HP left, the bot will only attack if the player is in sight. Perhaps on higher difficulties, the AI would need to distinguish if it's worth it or not to destroy player cover.
We have a system that scores a weapon based on a bunch of parameters, like obstructing objects, ammo, distance to target, target's health etc... This allows the bot to choose a magnum or sniper to shoot through weaker objects like crates. We will continue to add parameters to this system so the bot might consider a spray-and-pray tactic if the enemy is nearly dead.
6 x
Gurt