vgstation13
vgstation13 copied to clipboard
Space Hogs
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.
Is this solely AI or could players perhaps play as the hogs (with a timer or something of course)
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.
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.
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.
How can I kill 30-50 of them in 3-5 minutes.
How can I kill 30-50 of them in 3-5 minutes.
High yield explosives.
I haven't found a spriter yet who can breathe life into the hogkin
The top ten greased up hogs and the top ten greased up sows
;HOG
;HELP THE HOS'S MOTHER IS RAMPAGING IN MEDICAL
perhaps have them turn people into skeletons when eating dead bodies, so it's not just gibbing them
I do like the idea that people will soon be yelling "HOS HELP HOG IN HOP HALL"
tfw no hogs until pigs fly
hogs will be soon brother, have faith
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.
HOGBROS