Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Deliberate Fisticuffs  (Read 4431 times)

fortunawhisk

  • Bay Watcher
    • View Profile
Deliberate Fisticuffs
« on: March 24, 2015, 01:11:50 am »

A gui driven script that can create StartingFistFight or BeatCriminal jobs for civilians. The aggressor hunts the target and attacks.
Only works in Fort Mode. GUI mode only allows non-military civilians as aggressors, but the command line will allow you to use any unit id.

Spoiler (click to show/hide)

Notes:
- Fistfights generate a Disorderly Conduct crime.
- Beatings will generally continue until target dies.
- The victim can dodge but doesn't counterattack
- The number of FistFight attacks seem to be random
- It is possible to specify the same dwarf as aggressor and victim.
- Beating job stops when the aggressor gets tired, scared, or hurt.
- Beatings will be shortened if the victim has an active justice sentence

Enjoy!

Edit: Updated script to 1.3
1.3
Some style changes, now works with 44.10.

1.2
Can now choose between lethal and less lethal options.
Improved help text

1.1
Now generates new jobs each time (seems less crashy)
Possible targets list now includes all civilians, not just non-military.
Allows multiple aggressors
Improved gui options
Fancy command line options
« Last Edit: July 09, 2018, 06:40:01 pm by fortunawhisk »
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Deliberate Fisticuffs
« Reply #1 on: March 24, 2015, 04:05:28 am »

so does this work in adventure mode or is this a fort mode script?
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Deliberate Fisticuffs
« Reply #2 on: March 24, 2015, 08:15:06 am »

Sounds interesting for "confuse" spells... hit the enemy siege with it. :) Or simulate gambling/drinking in a tavern, with the chance of a barfight, without causing a loyality cascade.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Deliberate Fisticuffs
« Reply #3 on: March 24, 2015, 03:27:22 pm »

so does this work in adventure mode or is this a fort mode script?
Oh god I see glorious things coming from this.
Logged

fortunawhisk

  • Bay Watcher
    • View Profile
Re: Deliberate Fisticuffs
« Reply #4 on: March 24, 2015, 07:22:28 pm »

so does this work in adventure mode or is this a fort mode script?

Sorry, only works in Fort Mode. In Adventure mode, it dies gracefully after failing to find any civilians.

Sounds interesting for "confuse" spells... hit the enemy siege with it. :) Or simulate gambling/drinking in a tavern, with the chance of a barfight, without causing a loyality cascade.

Well, it seems to work best with non active military civilians. Active military seems to cause the script to crash DF, so they're excluded. Also, they're pretty hard to hit.

Oh god I see glorious things coming from this.
I think I can get the script to use multiple attackers, so 'dogpile' will be an option. Based off the siren script, it looks like you could do some kind of 'Thunderdome' burrow thing. Make a burrow, check for dorfs, start fights if count > 1.

Also, if anyone has any ideas on how to reduce the lethality of fights, I'd love to hear them.
Logged

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Deliberate Fisticuffs
« Reply #5 on: March 25, 2015, 03:05:13 am »

Would like to see this target dwarves based on their facets. Highly violent dwarves or even a combination of different facets.

Is it possible to have it make dwarves attack those they have a grudge against?
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: Deliberate Fisticuffs
« Reply #6 on: March 25, 2015, 03:55:33 am »

Nice, I may add random fisticuffs at some point.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Deliberate Fisticuffs
« Reply #7 on: March 25, 2015, 03:02:26 pm »

Nice, I may add random fisticuffs at some point.
A grizzled old miner spends his days striking the earth, swinging his pick with speed and skill far below the surface.  Some small sound catches his ear, something the novices around him miss.  Without a word, he slings his pick on his back and marches back toward the fortress with a scowl on his face.  Up ramps and stairs, no one dares get in his way or even ask where he's going.  Emerging from the main gate, his cheeks bulge trying hold down his lunch.  Before long, the miner has stormed behind Urist McFisherdwarf.  He is not in the least bit surprised that the fisherdwarf didn't hear the approach.

Now the miner lets loose his lunch then bellows, "Of course there is nothing to catch in the eastern swamps!  There hasn't been anything to catch in the eastern swamps the last eighteen times you came out here!"  The miner's arm, strengthened from countless swings of his pick, cocks to deliver a well-deserved punch....
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Deliberate Fisticuffs
« Reply #8 on: March 25, 2015, 03:10:39 pm »

It's killing me darling, all this an-tici...

...

Spoiler (click to show/hide)
Logged

fortunawhisk

  • Bay Watcher
    • View Profile
Re: Deliberate Fisticuffs
« Reply #9 on: March 25, 2015, 07:02:14 pm »

Would like to see this target dwarves based on their facets. Highly violent dwarves or even a combination of different facets.

Is it possible to have it make dwarves attack those they have a grudge against?

It seems like it's possible to make any non-military dwarf rumble with any other dwarf (military or not). I haven't dug into the historical stuff, so grudges are still a maybe.
Logged

fortunawhisk

  • Bay Watcher
    • View Profile
Re: Deliberate Fisticuffs
« Reply #10 on: March 25, 2015, 07:19:05 pm »

Well, it seems to work best with non active military civilians. Active military seems to cause the script to crash DF, so they're excluded. Also, they're pretty hard to hit.

In hindsight, I've changed this a bit. You can now target any citizen (including military), but only non-military are assigned the StartingFistFight jobs.
Logged

fortunawhisk

  • Bay Watcher
    • View Profile
Re: Deliberate Fisticuffs
« Reply #11 on: December 03, 2016, 07:02:38 pm »

Apologies for the necropost.
Updating with a revised version of the script that I never got around to posting. Script now offers a choice of FistFight or BeatCriminal. BeatCriminal allows attackers to keep attacking until target is dead.
Logged

Warmist

  • Bay Watcher
  • Master of unfinished jobs
    • View Profile
Re: Deliberate Fisticuffs
« Reply #12 on: December 04, 2016, 10:17:03 am »

Arena building for 1v1 fights anyone? :D

fortunawhisk

  • Bay Watcher
    • View Profile
Re: Deliberate Fisticuffs
« Reply #13 on: July 09, 2018, 06:51:08 pm »

Another necropost. Script updated to v1.3, should now work with 44.10.
Logged