Author Topic: Sniper Chickens?!  (Read 6121 times)

Offline Nebhead

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Sniper Chickens?!
« on: September 21, 2020, 12:54:16 pm »
Something of a bug report maybe?

I was doing a Zombie Infestation mission on a farm map, where something hilarious happened.

A chicken made its way to my weapon pile at the car --- it then picked up a Black Ops Sniper rifle.
Screenshots are attached for proof lol

Never laughed so hard before!
My sides....  ;D
« Last Edit: September 21, 2020, 07:35:24 pm by Nebhead »

Offline Bananas_Akimbo

  • Colonel
  • ****
  • Posts: 103
    • View Profile
Re: Sniper Chickens?!
« Reply #1 on: September 22, 2020, 07:22:53 am »
This is priceless...
Part of me hopes this will never get fixed.

Offline tarkalak

  • Commander
  • *****
  • Posts: 1460
    • View Profile
Re: Sniper Chickens?!
« Reply #2 on: September 23, 2020, 11:00:32 am »
+1

This is an epic moment. :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11726
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Sniper Chickens?!
« Reply #3 on: September 23, 2020, 11:17:50 am »
Okay... This is awesome. And horrifying.

I thought "allowInv: false" would prevent units from picking up stuff, but apparently no...

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Sniper Chickens?!
« Reply #4 on: September 23, 2020, 11:36:03 am »
Okay... This is awesome. And horrifying.

I thought "allowInv: false" would prevent units from picking up stuff, but apparently no...
allowInv only affects the player. But STR_LIVE_TERRORIST rank units can't pick up items.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Sniper Chickens?!
« Reply #5 on: September 23, 2020, 02:12:17 pm »
Okay... This is awesome. And horrifying.

I thought "allowInv: false" would prevent units from picking up stuff, but apparently no...

Available options are documented here: https://openxcom.org/forum/index.php/topic,6882.0.html

allowInv only affects the player. But STR_LIVE_TERRORIST rank units can't pick up items.

In OXCE and with global settings used in XCF (link above), terrorists can pick up weapons too.
To disable it, the global settings need to be overridden per unit type.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: Sniper Chickens?!
« Reply #6 on: September 23, 2020, 03:35:21 pm »
Perhaps you could use something like livingWeapon: to cause the chicken to spawn with an invisible fixedWeapon: item in each hand to prevent it from picking up the equipment.

Or would it still pickup the item even if both hands were full and store it in the unit's inventory section instead of the hand slot?

Offline HT

  • Colonel
  • ****
  • Posts: 456
    • View Profile
Re: Sniper Chickens?!
« Reply #7 on: September 23, 2020, 04:18:22 pm »
Aaw, shame, it seems the github release already fixed this bug. Was the chicken a good shot?  :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11726
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Sniper Chickens?!
« Reply #8 on: September 23, 2020, 07:53:26 pm »
Yeah, I went with fixed items which block all slots.

Thanks for the help, guys. And for the laughs.

(if you still want sniping chickens, I can make a submod!)

Offline RolandVasko

  • Colonel
  • ****
  • Posts: 181
    • View Profile
Re: Sniper Chickens?!
« Reply #9 on: September 23, 2020, 08:09:31 pm »
lôl   ;D   funny bizard

well, and - did she hit, or miss ? D)

Offline tarkalak

  • Commander
  • *****
  • Posts: 1460
    • View Profile
Re: Sniper Chickens?!
« Reply #10 on: September 24, 2020, 01:40:43 pm »
Available options are documented here: https://openxcom.org/forum/index.php/topic,6882.0.html

In OXCE and with global settings used in XCF (link above), terrorists can pick up weapons too.
To disable it, the global settings need to be overridden per unit type.

Wait, are chicken considered terrorists?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Sniper Chickens?!
« Reply #11 on: September 24, 2020, 02:00:20 pm »
Wait, are chicken considered terrorists?

I don't know.
I just said if they would, it wouldn't make any difference.

Offline HT

  • Colonel
  • ****
  • Posts: 456
    • View Profile
Re: Sniper Chickens?!
« Reply #12 on: September 24, 2020, 03:02:57 pm »
(if you still want sniping chickens, I can make a submod!)

Yes please! That reminds me: Do the farm animals taken out by aliens count as civilians killed for scoring purposes?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11726
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Sniper Chickens?!
« Reply #13 on: September 24, 2020, 04:02:41 pm »
Yes please!

Sure:
Code: [Select]
units:
  - delete: STR_CHICKEN
  - type: STR_CHICKEN
    race: STR_LIVESTOCK
    rank: STR_LIVE_TERRORIST
    stats:
      tu: 40
      stamina: 60
      health: 8
      bravery: 10
      reactions: 45
      firing: 0
      throwing: 0
      strength: 2
      psiStrength: 20
      psiSkill: 0
      melee: 55
    armor: STR_CHICKEN_ARMOR
    standHeight: 11
    kneelHeight: 11
    value: 1
    aggroSound: 243
    deathSound: 243
    panicSound: 243
    berserkSound: 243
    intelligence: 0
    aggression: 1
    energyRecovery: 40

That reminds me: Do the farm animals taken out by aliens count as civilians killed for scoring purposes?

Yes, bur the values are very low (1 point per chicken, for example).

Offline tarkalak

  • Commander
  • *****
  • Posts: 1460
    • View Profile
Re: Sniper Chickens?!
« Reply #14 on: September 26, 2020, 12:01:37 pm »
Could you add an Easter Egg mission in that submod?

Something based on Orwell's Animal farm. Like a Crop Circles where the enemies are Farm Animals armed with Black Ops weapons.