Grid Sage Forums

Grid Sage Forums

  • November 22, 2024, 08:18:19 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: Require confirmation for meleeing non-hostile bots  (Read 3380 times)

allison

  • Unaware
  • *
  • Posts: 2
    • View Profile
Require confirmation for meleeing non-hostile bots
« on: June 01, 2017, 06:15:31 AM »

Just accidentally slew the Data Miner. I feel guilty

Would it be possible to warn before swording a neutral robot? Something like the current ramming confirmation would be nice.

Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #1 on: June 01, 2017, 07:16:48 AM »

Hehe, some people do that on purpose all the time, though! :)

Consider it done for the next version. I've heard this potential feature occasionally mentioned from time to time, not necessarily for this scenario, but even for just accidentally attacking random bots blocking hallways who then alert something nearby. (We seem to get some new confirmation every release or two :P)

I'll make it optional in case some players don't want/need it.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

zxc

  • Cogmind
  • *****
  • 1st place in the High Scores category during Alpha Challenge 2015 1st place in the Best Escapes category during Alpha Challenge 2015 Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Kyzrati Patron Bug Hunter Achievement leader in at least one category during Alpha Challenge 2015 Participated in the Alpha Challenge 2015 Wiki Contributor Weekly Seed Participant
  • Posts: 726
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #2 on: June 01, 2017, 07:28:24 AM »

I gotta say that swording neutral bots is something I do all the time, and I wouldn't want a confirmation on that. To prevent what you said, I suggest leaving melee weapons off (weapons can be toggled with the ' key) while you're exploring, and only turning them on when you're intending on swinging that thing.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #3 on: June 01, 2017, 07:34:30 AM »

Right, that's what I always suggested players do in the past, and why confirmation there hasn't become a feature earlier, though perhaps it makes sense to have it on as the default? It'd be an option, as I mentioned, though the toggle would be in the cfg. Or perhaps the default should be off? Argh, defaults are hard sometimes xD
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

DDarkray

  • Cyborg
  • ***
  • Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Wiki Contributor Bug Hunter Weekly Seed Participant
  • Posts: 206
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #4 on: June 01, 2017, 08:48:16 AM »

It's swording major NPC, allies, and unpowered robots that are a big problem for me. I would like a confirmation for them, but all other robots I wouldn't really mind.
Logged

zxc

  • Cogmind
  • *****
  • 1st place in the High Scores category during Alpha Challenge 2015 1st place in the Best Escapes category during Alpha Challenge 2015 Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Kyzrati Patron Bug Hunter Achievement leader in at least one category during Alpha Challenge 2015 Participated in the Alpha Challenge 2015 Wiki Contributor Weekly Seed Participant
  • Posts: 726
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #5 on: June 01, 2017, 11:57:59 AM »

It's swording major NPC, allies, and unpowered robots that are a big problem for me. I would like a confirmation for them, but all other robots I wouldn't really mind.

Ah, this I can understand. It would be nice to have.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #6 on: June 27, 2017, 01:18:04 AM »

Okay, added an optional melee confirmation/delay for attacking neutral or inactive robots! (...coming to a Beta 1.3 near you :D)

Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

DDarkray

  • Cyborg
  • ***
  • Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Wiki Contributor Bug Hunter Weekly Seed Participant
  • Posts: 206
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #7 on: June 27, 2017, 04:59:46 AM »

Yes! You're da bomb! :D
Now I also need to somehow convince my allies to not kill those unpowered robots...
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #8 on: June 27, 2017, 05:24:25 AM »

Ah, a not-so-veiled attempt at trying to stack on an additional request, I see? :P

Not completely sure what you're referring to in this case, though, since allies don't attack unpowered bots. I think maybe you're talking about temporarily disabled bots? In the case of disabled bots, in some cases you would want your allies to attack them, such as mid-battle where they'll eventually reawaken to attack again--may as well take them out first.

Or maybe you're referring to dormant bots? (There are a number of different statuses, each with their own term as shown on the robot info page.)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

DDarkray

  • Cyborg
  • ***
  • Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Wiki Contributor Bug Hunter Weekly Seed Participant
  • Posts: 206
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #9 on: June 27, 2017, 11:43:38 AM »

Ah, my plan has been foiled!

Sometimes, I see some random robots being pushed by serfs, and I want to be able to rewire them. However, when I have my allies with me, they still attack even though the disabled robots pose no threat. (I felt so sad to lose a potential programmer ally)  :'(
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #10 on: June 27, 2017, 07:42:43 PM »

Okay there you go, those in particular are definitely a good candidate... I'll see what I can do.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #11 on: June 27, 2017, 09:34:14 PM »

Hm, actually, are we sure they still do this? I made a change a while back to their behavior in terms of attacking disabled bots in general, and on testing multiple different scenarios now I don't see them doing it. So either there are some even more specific circumstances required, or this is no longer an issue at all.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

DDarkray

  • Cyborg
  • ***
  • Shared a Confirmed Combat Win Shared a Confirmed Stealth Win Wiki Contributor Bug Hunter Weekly Seed Participant
  • Posts: 206
    • View Profile
Re: Require confirmation for meleeing non-hostile bots
« Reply #12 on: June 28, 2017, 09:42:37 AM »

The specific robot that attacks disabled robots (being pushed by serfs) is the enh. grunt ally that is provided when coming out of DM branch. See if this is still a problem.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Require confirmation for meleeing non-hostile bots
« Reply #13 on: June 28, 2017, 08:45:19 PM »

It would take a while to set up that particular situation since I don't have a way to manually create one of those conditions, and from what I see in the code that shouldn't really be the case--the AI doesn't initiate attacks on any new hostiles that are disabled.

There are other more complicated situations though, so if anyone sees something related to this (AIs attacking a bot of a status they probably shouldn't attack) drop a screenshot and description here and I'll explore it further.

Most of them have been corrected by now, though I do believe there might be at least one case left (not yet sure if it's something that would be adjusted or not, but we'll see).
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon