vgstation13 icon indicating copy to clipboard operation
vgstation13 copied to clipboard

Space Hogs

Open Kurfursten opened this issue 2 years ago • 14 comments

initial progress for #32699 I won't say "closes" because it's not everything.

Includes

  • [x] 5 variants - normal, greased, overgreased, mama, piglet
  • [x] Skittishness behavior (flee entirely when full, hit and run when hungry, otherwise full on attack; piglets always flee)
  • [x] Mama can spawn piglets (10% chance per life tick if not hungry, costs 15 ticks of nutrition)
  • [x] Greased and overgreased hogs can move through airlocks
  • [x] Overgreased hogs leave 5 seconds of lube behind them
  • [x] All hogs can move through space
  • [x] Hogs can be trapped by beartraps
  • [x] Uses existing pig sprites
  • [ ] Different sprites for different pig types
  • [ ] How pigs GAIN nutrition (handle eating dead bodies, food on floor)
  • [ ] How pigs evolve between states
  • [ ] Hogs devolve into peaceful piglets on chance with eating cabbage
  • [x] Piglets nearby increases hostility even if full
  • [x] Increased hostility when caged, beartrapped, cannot reach target, wants to retreat at least to distance 2 but can't
  • [x] Special headbutt attack on cooldown for kidnapping (spell?)
  • [x] Pig scream on death
  • [x] Greased variants throw meat when butchered like lube

Not In Scope of this PR

  • Elaborate pathing / nesting / search and capture AI
  • How these things appear outside of adminbus

🆑

  • rscadd: Feral spacehogs have been spotted in this sector.

Kurfursten avatar Jun 07 '22 21:06 Kurfursten

Is this solely AI or could players perhaps play as the hogs (with a timer or something of course)

BomberBro avatar Jun 07 '22 22:06 BomberBro

This PR only includes some basic combat behaviors (which won't interfere with player control). Players can be safely be bussed into the hogs.

I told Kernikov I'm not signed on to implement elaborate AI for nesting and kidnapping, but I am willing to set up a midround gamemode that recruits players to be hogs, like how xenos work.

Kurfursten avatar Jun 07 '22 23:06 Kurfursten

I'd say it steps a bit too close into the Grue, Xenomorph and Spider territory but I guess it can't hurt to have more variety.

Eneocho avatar Jun 08 '22 00:06 Eneocho

Yeah I think it'd make for a decent midround ruleset (maybe) if players could join in, not sure how you'd balance it though as I'm not sure how fast hogs spawn or their strength.

BomberBro avatar Jun 08 '22 01:06 BomberBro

How can I kill 30-50 of them in 3-5 minutes.

Brotanics avatar Jun 09 '22 05:06 Brotanics

How can I kill 30-50 of them in 3-5 minutes.

High yield explosives.

Eneocho avatar Jun 09 '22 10:06 Eneocho

I haven't found a spriter yet who can breathe life into the hogkin

kernikov avatar Jun 14 '22 12:06 kernikov

The top ten greased up hogs and the top ten greased up sows

Theophrastus1 avatar Jun 14 '22 12:06 Theophrastus1

E7EOehfXoAAM-6T

kernikov avatar Jun 15 '22 08:06 kernikov

;HOG

TurboGay avatar Jun 22 '22 10:06 TurboGay

;HELP THE HOS'S MOTHER IS RAMPAGING IN MEDICAL

Eneocho avatar Jun 22 '22 16:06 Eneocho

perhaps have them turn people into skeletons when eating dead bodies, so it's not just gibbing them

pedr69 avatar Jul 05 '22 12:07 pedr69

I do like the idea that people will soon be yelling "HOS HELP HOG IN HOP HALL"

Blithering avatar Jul 09 '22 10:07 Blithering

tfw no hogs until pigs fly

kernikov avatar Aug 05 '22 09:08 kernikov

hogs will be soon brother, have faith

Theophrastus1 avatar Aug 18 '22 12:08 Theophrastus1

I'm pushing the content I have now. These are semi-functional but some of their features don't work.

  • The headbutt spell works fine when AI is using it, but I can't get it to work for players. The spellcode has been very uncooperative and I have no idea what is wrong with it. If someone can get an idea in code review what is wrong I would be happy to fix it.
  • The adults don't seem to follow any of their complex food hunting or retreat behaviors at all and just act like normal hostile mobs (they also don't understand they can move through closed doors when pathfinding). The piglets do always run away as intended though.

As for the rest, it all works. It's technically mergeable. I would like for it to be done feature-complete, but at this point it has been almost 6 months and it needs to be released in some form.

Kurfursten avatar Oct 15 '22 05:10 Kurfursten

HOGBROS

ExpulsionSnooper avatar Nov 18 '22 10:11 ExpulsionSnooper