Author Topic: Prohibit standing shooting...  (Read 1619 times)

Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Prohibit standing shooting...
« on: February 23, 2023, 09:14:27 pm »
Hello everyone...
I was convinced that there was a possibility to ban standing shooting!
Unfortunately I searched in the "Ruleset Reference Nightly" and I did not find anything.
Of course there are some things possible... but no prohibition to shoot in standing position!
    kneelBonus: 200
    twoHanded: true
    oneHandedPenalty: 25

Do I need to change my glasses?  :-[
Thank you!

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: Prohibit standing shooting...
« Reply #1 on: April 24, 2023, 01:24:29 pm »
I haven't come across the option you've mentioned yet in the Ruleset Reference, if it is there I've also missed it.

Completely stopping an item from being used may be difficult(Or impossible) via scripting but perhaps you could figure out something using "BattleUnit.isKneeled" and "BattleUnit.isStanding".


If these actions can be performed via scripting you may be able to make it look like the item was never used:
Code: [Select]
. Silence the sound FX. (Either prevent it or swap it to a sound effect that has no audio in it.)
. Refund the TU cost of using the equipment.
. Replace the Hit animation & projectile sprite with a blank image.
. Increase bulletSpeed, explosionSpeed to as close to instant as possible.
. Temporarily toggle followProjectiles: to FALSE.
. display a message with either "flashMessage" or "flashLongMessage" that says "Cannot be used while standing."

I'm not sure if all of the above can be done currently though.

Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Re: Prohibit standing shooting...
« Reply #2 on: April 24, 2023, 09:52:44 pm »
Thank you for responding.
I don't think it's possible... considering the incredible number of proposals to my request.  ;D   ;)
Too bad!  :'(