OpenXcom Forum

Modding => Released Mods => The X-Com Files => Topic started by: Nebhead on September 21, 2020, 12:54:16 pm

Title: Sniper Chickens?!
Post by: Nebhead 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
Title: Re: Sniper Chickens?!
Post by: Bananas_Akimbo on September 22, 2020, 07:22:53 am
This is priceless...
Part of me hopes this will never get fixed.
Title: Re: Sniper Chickens?!
Post by: tarkalak on September 23, 2020, 11:00:32 am
+1

This is an epic moment. :)
Title: Re: Sniper Chickens?!
Post by: Solarius Scorch 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...
Title: Re: Sniper Chickens?!
Post by: SupSuper 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.
Title: Re: Sniper Chickens?!
Post by: Meridian 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.
Title: Re: Sniper Chickens?!
Post by: The Martian 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?
Title: Re: Sniper Chickens?!
Post by: HT 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?  :)
Title: Re: Sniper Chickens?!
Post by: Solarius Scorch 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!)
Title: Re: Sniper Chickens?!
Post by: RolandVasko on September 23, 2020, 08:09:31 pm
lôl   ;D   funny bizard

well, and - did she hit, or miss ? D)
Title: Re: Sniper Chickens?!
Post by: tarkalak 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?
Title: Re: Sniper Chickens?!
Post by: Meridian 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.
Title: Re: Sniper Chickens?!
Post by: HT 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?
Title: Re: Sniper Chickens?!
Post by: Solarius Scorch 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).
Title: Re: Sniper Chickens?!
Post by: tarkalak 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.
Title: Re: Sniper Chickens?!
Post by: Solarius Scorch on September 26, 2020, 12:48:13 pm
Maybe as a dreamscape mission, for when I need to spread some insanity without completely ruining the experience...
Title: Re: Sniper Chickens?!
Post by: Bananas_Akimbo on September 26, 2020, 03:54:50 pm
It could be like the secret cow level in Diablo 2, requiring the player to complete some obscure task for it to spawn. Like finding some loot, that is only dropped by a certain civilian in a certain mission in a mapblock, that is inaccessible to enemies. Researching said loot gives the player a manufacturing project requiring all kinds of weird ingredients.
The resulting item, once researched, finally spawns the secret sniper chicken mission, where you have to save some Ayyys, who are stranded in the dreamscape and set upon by avian assassins.

Or something like that :P
Title: Re: Sniper Chickens?!
Post by: tarkalak on September 27, 2020, 11:15:56 am
If you are making a goofy submod, you can make it goofier!

It isn't the main experience.