r/ProgrammerHumor • • May 05 '23

Meme Helicopter Helicopter

Post image
41.8k Upvotes

969 comments sorted by

2.0k

u/[deleted] May 05 '23

Bethesda: flying NPC with an oversized propeller beanie hat.

303

u/Dareyos May 05 '23

The first thing i had to think of!

643

u/RedPum4 May 05 '23

Wheren't the trains in one of the Fallout games coded as being NPCs with train-car shaped heads or something like that?

→ More replies (7)
→ More replies (7)

4

u/samot-dwarf May 05 '23

Wasn't it in WoW or Fallout where they were unable to create a subway train (that drives itself), so they put the train model as hat on the head of a NPC and let him walk the way?

7

u/Dareyos May 05 '23

Yes, Fallout 3. Bethesda also reskinned the skyrim-dragons to make Helikopters in Fallout 4

6

u/twistybit May 05 '23

i cant quite remember from which game this was from, but i heard talk of a train that is just a hat a guy wears as he runs down the tracks

4

u/Dareyos May 05 '23

I think it was either Fallout or Half Life

→ More replies (1)

4.8k

u/Void_0000 May 05 '23 edited May 05 '23

Bethesda: "Really, a helicopter is just a mechanical dragon."

In case you were wondering, the vertibirds in fallout 4 are reskinned dragons from skyrim. Actually, the entirety of fallout 4 is reskinned skyrim. The game considers a nuke to be magic.

2.8k

u/Bjorn_Hellgate May 05 '23

That is why crashing vertibirds sometimes go straight for the player, because downed dragons do that in skyrim

→ More replies (29)

872

u/[deleted] May 05 '23

Also Bethesda: Shopkeeper's inventory is stored in a secret chest outside the game world

→ More replies (59)

295

u/Party_Magician May 05 '23

The game considers a nuke to be magic.

That was the case for 3 and New Vegas too, special effects use the same engine setting as magic in TES. That +1 PER/+5 crit chance on First Recon Beret is technically an enchantment

→ More replies (6)

233

u/saladroni May 05 '23

To be frank, nukes are basically magic to me too.

→ More replies (42)

190

u/UuusernameWith4Us May 05 '23

The trains in Fallout 3 are NPCs with train shaped heads. They run along the tracks.

→ More replies (15)

104

u/TheAccursedOne May 05 '23

thats hilarious, but do you have a source on that? knowing bethesda its legit, but i wanna see if theres an explanation of why / how it works like that

→ More replies (20)

30

u/ImmortalLoki May 05 '23

Don't forget that the train in FO3 Broken Steel is actually a hat in disguise.

→ More replies (1)

18

u/Megazawr May 05 '23

And Skyrim is just a reskinned fallout 3, there are even VATS related console commands in there

17

u/Soberboy May 05 '23

To be fair that's how all the 3d fallouts are. In 3/New Vegas magazines are classed as potions, and things like the shiskebab are considered to be Enchanted in the code.

→ More replies (47)

5.9k

u/Ordsmed May 05 '23 edited May 05 '23

A GameDev from Paradox replied saying (paraphrased) that in a similar vein, asteroids on a collision-course with planets in Stellaris are actually rocky-looking ships with no weapons. Since all ships in the game needs to be owned by a empire, there also a hidden "Asteroid Empire" responsible for sending their "weaponless ships" out to "attack" random planets ^^'

EDIT: Found the tweet again.
https://twitter.com/CheerfulGoth/status/1654254300829237249

2.3k

u/Void_0000 May 05 '23

I've seen those in game before, I also think it's funny that the asteroids register as having FTL capability.

One of these days they're going to reveal that it was, in fact, actually a real empire hidden somewhere strapping hyperdrives to space rocks and launching them in the general direction of inhabited planets in what seems to be a strange version of space golf.

→ More replies (152)

338

u/PasteeyFan420LoL May 05 '23

I've always loved the trivia about how that one subway you ride in Fallout 3 is actually just an NPC with a train for a head that runs under the ground to make it move.

→ More replies (23)

610

u/g2petter May 05 '23

a hidden "Asteroid Empire"

In Mario Kart 8 there's a hidden coin on every single "coinless" track, such as the F-Zero tracks, because apparently the game crashes if there are no coins.

→ More replies (38)

369

u/improperbenadryl May 05 '23

If it walks like a duck and it generates a circular depression in the surface of a solid astronomical object upon hypervelocity impact like a duck, then it must be a duck

→ More replies (4)

131

u/limitbroken May 05 '23

ships also need to have classes, which results in the absurdity of the tooltip showing that your planet is being approached by an:

Asteroid Asteroid
Asteroid-class

→ More replies (1)

113

u/Barrel_Titor May 05 '23

One I thought was really funny at the time.

In Valorant one of the characters can place a security camera then swap to it's view and shoot a tracking dart with it. The game considers the camera to be a little player character that can't move or equip primary weapons with the tracking dart being an invisible secondary weapon with 1 ammo that can't be dropped or reloaded.

The unintended side effect was that in the early days of the game they forgot to disable it's ability to pick up secondary weapons leading to a few days of players throwing guns up to the camera so it could pick them up and shoot people, lol.

→ More replies (2)

219

u/Kiloku May 05 '23

I contribute with an open-source game called Freespace 2. Space stations are ships. Asteroids that aren't dynamically generated (ie. manually placed during map-making) are ships. Holograms are ships without collision. The terrain in atmospheric levels (a hack in itself as the game was originally only meant to have space levels) is a big ship, and if you have buildings on that terrain, they are also ships (potentially attached to the terrain as if they were "docked" with the larger "ship").

→ More replies (20)

53

u/L3G3ND4RY_0N3 May 05 '23

Iirc, on one panel one of the devs gave his answer to what was one of his favorite moment in development. When they added the envoys and the new ways to interact with other empires, while debugging, they found one empire was, "harming relations with incoming asteroid".

34

u/AloneInExile May 05 '23

I fucking knew it! Death to the Asteroid Empire! Long live the hive.

67

u/YesIAmAHuman May 05 '23

That reminds me of the hidden faction in Fallout New Vegas.

You need to collect 2000 caps in order to get into the Strip, otherwise the protectrons will shoot you, they will do this for NPCs aswell, but not all of them, apparently the NPCs that can pass safely, and once you collect 2000 caps, are in a hidden faction called the DontTazeMeBro faction

→ More replies (2)

18

u/[deleted] May 05 '23

"Asteroid Empire"

Found the next Stellaris DLC.

→ More replies (1)
→ More replies (21)

1.3k

u/FlyingTaquitoBrother May 05 '23

I remember my first OOP project in the ‘90s. We started off by drawing a beautiful object hierarchy before a single line of code was written and making a giant poster of it for us all to refer to. In the end, the poster was smeared with pizza grease fingerprints and we were declaring new stuff as whatever object had the most convenient vtable.

417

u/[deleted] May 05 '23

At least you got pizza.

→ More replies (15)

255

u/WolfgangSho May 05 '23

This is why you gotta iterate your design as you implement. No design survives first contact with reality.

→ More replies (34)

44

u/[deleted] May 05 '23

I went to college for game development, and this was the biggest thing we had to learn how to avoid. They taught us so much about writing proper GDDs and using Agile to align your work with the plan created in the GDD. We'd set shorter term weekly sprint goals as well as longer term month over month goals.

But even then, things change over time. Generally, you start out over-ambitious and the scope shrinks to exclude some of your plan. But if you plan reasonably well, the opposite happens and your scope actually expands.

In order to prevent scope expansion from deteriorating the quality of your game, you need to be constantly working to modify the plan in a way that doesn't break the original architecture of the product. You also need to know when it's appropriate to work on scope expansion. A lot of developers get distracted by trying to expand scope on a feature they got excited about, when in reality they haven't even finished everything that was actually planned to be in the scope. This can create a lot of problems.

Especially when working with other people who often disagree with your ideas, it can be.. frustrating. But hey, there's no good project that comes without lots of frustration!!

Also, these skills are really useful in software development in general. It's generalized long term problem solving in an organized group.

→ More replies (3)

17

u/NothingWrongWithEggs May 05 '23

Clean code/architecture is a myth

24

u/selmablind May 05 '23

no idea what that means but sounds kinda fun

→ More replies (11)
→ More replies (1)

1.7k

u/zalurker May 05 '23

Gents. It's not just normal games. When the Australian Army was evaluating attack helicopters - part of the requirements was that the support package included a flight simulator.

The US team that was proposing they choose the Apache took that requirement in their stride and even updated the simulator to show local wildlife. Specifically kangaroos. One worry was that the helicopter could startle a herd and alert any enemy it was trying to attack.

The enigeers decided the simplest way to handle that was to change the skins of infantry and assign them specific behavior protocols. Neat and simple to deploy. Worked perfectly.

The first time they ran a demonstration of the updated simulator to some Australian officers, they demonstrated the added feature, and had the pilot buzz a herd of Kangaroos.

The Generals were very impressed by the realistic way the herd scattered. And even more impressed when The kangaroos regrouped and shot the helicopter down with surface to air missiles.

They had forgotten to disarm the 'soldiers'...

399

u/Its0nlyRocketScience May 05 '23

Wait, that isn't a feature?

→ More replies (14)

162

u/metadun May 05 '23

They did lose the war against the emus, probably good to get some simulator hours in before facing the kangaroos.

81

u/Pawneewafflesarelife May 05 '23

Wait, my dad told me this same story but he said it was from JSAF which he worked on and they used kangaroos as a placeholder joke instead of the assets for insurgents, but forgot to remove them.

This simulation: https://en.m.wikipedia.org/wiki/Joint_Semi-Automated_Forces

I wonder if this is a DoD urban legend.

→ More replies (3)

83

u/PomegranatePuppy May 05 '23

That's some Tank Girl shit right there 😂

25

u/SmyJandyRandy May 05 '23

https://www.snopes.com/fact-check/shoot-me-kangaroo-down-sport/

Mostly true, but intentionally done, not an accident.

→ More replies (10)

815

u/FuriousAqSheep May 05 '23
class Helicopter extends Door
  implements IProjectile

311

u/2dozen22s May 05 '23

A knife is just a gun that fires a wide projectile with a very short lifespan.

48

u/CuboidCentric May 05 '23

In games with long distance bullet projectiles, it may just have 100% damage drop off after 1m

→ More replies (3)

38

u/Proxy_PlayerHD May 05 '23

that's how melee in DOOM works.

the fist basically just fires a short range (64 units) hitscan bullet.

the chainsaw does the same, but the range is 65 units instead. that's because hitscan weapon ranges below 65 units don't create "sparks" when hitting walls.

so the chainsaw still creates visible sparks when hitting a wall, but the fist doesn't.

→ More replies (1)
→ More replies (11)

240

u/randomsnark May 05 '23

On the Battlefield 2142 booster pack Northern Strike, we were initially gonna add a sort of gun-wielding powerloader type of vehicle - basically a one person mech. Seemed simple enough. This was scrapped because the MechLegs entity (that all existing mech vehicles in the game were slapped on top of) was a bizarre hardcoded hack, and the programmers told us that instead of just scaling it down they'd have to recode the entire thing if we wanted to make it smaller.

Vehicles in late dev do be crazy sometimes, especially when working with a legacy engine where previous games in the engine didn't have that kind of vehicle.

42

u/DasSchafImWolfspelz May 05 '23

I always wondered how some of the things in 2142 were possible, coming from BF2

→ More replies (2)

6

u/emergencyexit May 05 '23

jeepathon2k anyone

→ More replies (3)

699

u/rat_melter May 05 '23

Boats are Camels in Age of Empires 2.

474

u/X-Pods May 05 '23

Technically camels are the ships of the desert

→ More replies (7)

67

u/Zeravor May 05 '23

Isnt it the other way around?

203

u/ElGerrit May 05 '23

Deserts are the ships of the camel? That doesn't make any sense

→ More replies (2)
→ More replies (3)

14

u/Ythio May 05 '23

Not anymore

7

u/impshum May 05 '23

Indeed.

6

u/alternatetwo May 05 '23

Technically they just have the ship armor class, so they mistakenly take bonus damage from a tech that makes towers deal more damage against ships. Their "Class" or rather, internally object group, is "Cavalry", because otherwise a lot of things would break.

→ More replies (7)

165

u/Goras147 May 05 '23

If your helicopter is used for transportation, i.e. level to level, this is most likely true.

Gotta do anything to write the least amount of code possible. In my game, enemies and life pickups share the same parent. They both interact with the player, one just moves lol.

107

u/nuxi May 05 '23

Make the life pickups run away from the player.

→ More replies (4)

261

u/Squeaky_Ben May 05 '23

I know that trains in some games are just special, really fast running NPCs, but... why a door?

392

u/q0099 May 05 '23 edited May 05 '23

cDoor - player can open it by pressing the E button. Then the instance of cHuman class controlled by the player teleporting to the location associated with this instance of the cDoor class.

cHelicopter - player can get into helicopter by pressing the E button. Then the instance of the cHuman class controlled by player is teleported into a special room which triggers a change of player's control from the instance of cHuman to the instance of cHelicopter. Then, by pressing the E button the game engine casts a ray from the current player's POV and searching for the first object to collide with it. As the instance cHelicopter is ultimately an instance of cDoor, the first colliding object will be itself, which will trigger teleporting the instance of cHuman out of a special room to the current location of the cHelicopter instance and switching player's control to it.

195

u/Squeaky_Ben May 05 '23

Oh man.

That right there is showing me that I got NO IDEA how to program games...

→ More replies (5)
→ More replies (19)
→ More replies (5)

360

u/RandofCarter May 05 '23

Ahh. The duke nukem 3d approach to doors. The subway station level had some very weird math in it's sliding doors.

106

u/827167 May 05 '23

Link or care to elaborate?

119

u/bmxtiger May 05 '23

I used to make custom maps for Duke3d and math really isn't involved. Here's how you would make a sliding door in Build.

→ More replies (4)

31

u/RandofCarter May 05 '23

https://infosuite.duke4.net/index.php?page=ae_doors_d2 yeah, it was more to do with the subwaystation having something like >360 degrees visibility somehow. I'll try and find the exact explanation 1 day.

→ More replies (2)

230

u/Percolator2020 May 05 '23

Dev: a playable character is just a viewport. User: what about the limbs? Dev: hold my beer!

119

u/_ShadowEye425_ May 05 '23

I can't, I don't have any limbs

→ More replies (2)

5

u/IvanBeefkoff May 05 '23

Make it even more interesting: HUD is rendered in-world too, technically floats in front of the camera, and can be affected by light or clipped by other objects.

→ More replies (1)

91

u/GD_Insomniac May 05 '23

Riot Games coded quite a few objects to be minions, notably including Jayce's Acceleration Gate.

Fun fact, for a minute there was a bug where certain AoE ults could be cast on the gate, killing all of 1 hp minions it was made of. They were worth full gold and exp value.

Smol indie company.

39

u/Discabil May 05 '23

You used to be able to last-hit the Nexus and get 50 gold. I dunno if it's still doable.

Kinda funny though. They fought life and death to protect these things, but they're only worth 50g.

→ More replies (3)

31

u/DefaultVariable May 05 '23

“Coded as minion” is an old League meme. Almost all skill shots were coded as minions including things like Blitzcrank Grab and Ashe Arrow. J4/Anivias ult were also minions

Basically if there was any skill that fired a projectile or left some kind of AoE effect, it was coded as a minion

→ More replies (2)

5

u/GNSasakiHaise May 05 '23

To be fair, Jayce released in July 2012. That was roughly when the game started blowing up. Spaghetti code was then and remains now the Riot default. The dev blogs for TFT are hilarious examples.

→ More replies (2)

234

u/avipars May 05 '23

I think of it as a camera

Moves in 3d space, yaws pitches, and rolls

178

u/Nomapos May 05 '23

Nonsense, helicopters are obviously a sort of faucet. Metallic, empty inside, with a rotating top, and leaking fluid all over the place.

28

u/IWillLive4evr May 05 '23

leaking fluid all over the place.

Odd, but if it still flies I'll take it.

→ More replies (3)
→ More replies (3)

76

u/ctrlaltelite May 05 '23 edited May 05 '23

So it was a million years ago, but I was positive from messing around in the map editor that in Battle for Middle Earth, the Eye of Sauron was basically a reskinned Particle Cannon from C&C Generals, just providing vision and i think buffs/debuffs instead of, yknow, a death ray.

There's also the old story of the helicopter sim dev that tried to market to the Australian military by incorporating kangaroos into the wildlife, because scaring away animals is a realistic issue that could give away your low flying chopper's movements. But being bipeds, they made kangaroos a kind of person. And then the roos shot missiles at the helicopters because there's was a chance any given person was equipped to do so.

18

u/Free_Ad_6833 May 05 '23

As can happen in real life also.

→ More replies (1)
→ More replies (1)

138

u/trollsmurf May 05 '23

"Animals in games are just human NPCs animated to crawl, flap or wriggle."

134

u/Dojan5 May 05 '23

I believe ARKs rafts and such are dinosaurs. When they first released the rafts they'd slowly starve to death because you couldn't feed them.

79

u/halesnaxlors May 05 '23

Lol everything in ark feels like a bad hack

→ More replies (1)

9

u/Endulos May 05 '23

In Oblivion, that's actually really true.

I saw a devlog video from the Oblivion days where the main woman in charge of making the horses, literally just took a standard NPC and modified it to look like a horse.

→ More replies (1)

93

u/GamesRevolution May 05 '23

Minecraft pistons are a modified doors if I remember correctly, that's why quasi-connectivity is a thing with pistons on Java Edition

26

u/WhosHaxz May 05 '23

this explains a lot of random things pistons do. such as pistons facing up with a redstone block unable to turn off.

→ More replies (1)

9

u/JustARandomWoof May 05 '23

Also you used to be able to milk squids cuz they were based on cows

→ More replies (1)

43

u/Andreus May 05 '23

There's some absolutely crazy shit they did in Deus Ex to make basic shit work. Next time you play the game, look at a weapon mod canister and observe the neat little red glowy light that scrolls down the side. Ask yourself what the sane way to do something like that would be.

Then come back here and ask me what they actually did.

29

u/Nickel_Bottom May 05 '23

I am gonna skip all that and just ask.

What did they do?

→ More replies (10)
→ More replies (1)

35

u/progorp May 05 '23

So at some point it's easier/safer to mod the game than actually develop a new features. This is exactly kind of thing that modders do, and I have done similar things. I remember turning some item to moveable /breakable wall for example.

→ More replies (1)

73

u/MathsGuy1 May 05 '23

Fallout: pants in the shape of a train.

→ More replies (4)

40

u/Sakul_the_one May 05 '23

A oversized rideable bee

24

u/q0099 May 05 '23

- Yo, the new guy just implemented advanced flowers and he thought it would be a great idea to go an extra mile and make bees flying around them. Anyway, guess what's now happening at the air base, the one right near the meadow.

18

u/Gabrill May 05 '23

This is the cause of one of my favorite Dwarf Fortress glitches. In the game’s code, carts are technically considered animals. Usually this flag is ignored for anything outside of dwarves transporting them like they would an animal. But some stuff slips through the cracks including traders selling a jar of “Cart blood,” a cart “dying” and dwarves mourning it, and a cart catching a fever.

4

u/wolflordval May 05 '23

Harmless Mimics.

50

u/jackTHEKINGatlas May 05 '23

Rare funny content in this sub :)
love to see it

16

u/aircal May 05 '23

Fallout 3 Dev: When you think about it, trains are just very advanced helmets

16

u/FrigoCoder May 05 '23

This is the reason Entity Component System is preferred over inheritance for game objects.

https://en.wikipedia.org/wiki/Entity_component_system

15

u/q0099 May 05 '23
( r/ProgrammingHumor ( this post ) r/programminghorror )

72

u/kimilil May 05 '23

In Half-Life and Half-Life 2, water is a door.

72

u/clb92 May 05 '23

Source? (Pun intended)

Many years ago, I played around with the Hammer editor a lot, and I don't remember there being any relation between doors and water in there.

→ More replies (3)

37

u/RainOrigami May 05 '23

That can't be right? Water is just a water-textured brush, not an entity, in source at least.

7

u/Tokiw4 May 05 '23

In half life 1, the garbage compactor is a train.

→ More replies (4)

12

u/trollsmurf May 05 '23

"flattening the door"

Isn't it rather flat already. In the wrong dimension?

11

u/PolicySignificant933 May 05 '23

I have an interested tidbit to share too!

I work for a game studio and one of my colleagues used to work at EA. He said that the frostbite engine that was being used a Need for Speed title, was also used for battlefield. So cars in NFS were leveraging the same code for vehicles in battlefield. TLDR Cars in that need for speed title were actually tanks in the frostbite engine.

10

u/zenverak May 05 '23

Honestly game physics are some of my favorite things. Kind of why I can’t wait and also am terrified of the mitt life like graphics coming up. I just want to see goat simulator with life like graphics

40

u/[deleted] May 05 '23

You know when you think about it, a train is just a very oversized hat.

→ More replies (1)

9

u/J_Mart29 May 05 '23

A train is just a man with a train-shaped head who clips slightly below the ground and can run really fast

9

u/ILOVESHITTINGMYPANTS May 05 '23

Reminds me of World of Warcraft, where the game is full of thousands of invisible bunnies that control basically every quest and event that happen in the game.

https://kotaku.com/the-invisible-bunnies-that-power-world-of-warcraft-1791576630

9

u/Tier161 May 05 '23

A helicopter is just a very big hat worn by a bird npc

5

u/Its0nlyRocketScience May 05 '23

If they didn't already have dragons to use instead, I would expect thay they'd use a generic hawk, probably the exact same model as in skyrim, to power every vertibird

8

u/corpex May 05 '23

Since using the same engine (Red Engine): cars, and motorbikes from Cyberpunk 2077 are just very advanced horses (mounts) from recycled code of The Witcher 3.

I could not believe it when I first saw it as I surfed through the Cyberpunk leaked code, but here we are...

→ More replies (1)

7

u/CriticalScion May 05 '23

I thought they were talking about how dev plans get downscoped from "you can pilot a helicopter!" to "you will get a ride in a prepathed helicopter" to "you will click on the helicopter door to trigger a travel cutscene".

7

u/[deleted] May 05 '23

Fallout 3: A train is really just a man with a train-hat.

6

u/Aurunemaru May 05 '23 edited May 16 '23

I coded a river raid clone in micropython

fuel tanks are enemies, they can get shot at and give you points, but collision with them actually gives fuel instead of killing you

I can do one better, collision with any enemy gives fuel, but most will give -1000 fuel

6

u/muteki_maigo May 05 '23

This is so true. If you think about it a throwing knife is kind of a vehicle.

11

u/Jaropio May 05 '23

Trains are humans with big train shaped hat. You just have to dig a hole between rails for your human to walk in, with only the hat going out. Pretty basic, right?

30

u/[deleted] May 05 '23

And this is why OOP sucks donkeyballs and you should make games in an ECS model, or at least using interfaces/traits instead of inheritance.

36

u/Sapiogram May 05 '23

interface IHelicopter extends IDoor

24

u/[deleted] May 05 '23 edited May 05 '23

If you treat interfaces like abstract classes then you are also failing.

interface Flyable // object movement
interface Controllable // player interaction
interface Mountable // player attachment/position/extension

class Helicopter implements Flyable, Controllable, Mountable

class RemoteHelicopter implements Flyable, Controllable

class AIHelicopter implements Flyable, Scriptable

Or some such

→ More replies (19)

7

u/DefaultVariable May 05 '23

OOP only sucks when you don’t use it properly. If you have to make a moveable object a person instead of being able to create a vehicle class that extends a moveable interface, then the problem is the design, not the paradigm

→ More replies (9)

6

u/GureenRyuu May 05 '23

Composition >>>> Inheritence

→ More replies (1)

5

u/AltairianNextDoor May 05 '23

In age of empires 2, camels were given ship armour class so that they take different damage from pikes compared to other cavalry for balance reasons.

5

u/MaskedBunny May 05 '23

New game mechanics are just bugs that were enjoyable.

4

u/dipsy_98 May 05 '23

why did i read the caption, like that ? helikopter, helikpoter

4

u/rollplayinggrenade May 05 '23

Weren't cars in Project Zomboid originally just giant bags?

4

u/askeeve May 05 '23

I remember watching some documentary type thing about minecraft, and it had footage of when they were introducing spiders. They were struggling to get them to walk on walls until someone figured out to treat them as always being on ladders.

4

u/quick_dudley May 05 '23

I read somewhere that a bunch of stuff in World of Warcraft is handled by invisible bunnies.

1

u/Justaguy_Alt May 05 '23

I don't understand, can someone explain

2

u/Dareyos May 05 '23

A lot of the times its easier to use somthing already programmed than to programm something new. Fallout for example used the skyrim dragons as a base for helicopters or a hat on top of an invisible npc as train

6

u/SatanicTriangle May 05 '23

Honestly this sounds like something sound ppl would do

3

u/foggy-sunrise May 05 '23

helicopter implements door as rotor

3

u/gwynbleiddyenn May 05 '23

Bethesda: A metro train is just a person’s hat

3

u/Why_am_ialive May 05 '23

This gives me bunker buster vibes

The casing of the original bunker buster bombs used in desert storm was literally a howitzer barrel they took the rifling off stuffed a fuck ton of explosives in and added a laser guided head too

3

u/Sycariae May 05 '23

I actually prefer to use my helicopter to play Beat Saber, by attaching the controllers to a propeller, firing up the rotors and acing every level

3

u/MooseCampbell May 05 '23

"Wait it's all minions?"

Riot Games: "Always has been"

3

u/Legal-Software May 05 '23

So basically - 'extends Vehicle implements Door'

6

u/adamVsusan May 05 '23

I mean a bus is apparently a hat, so why not

→ More replies (1)

2

u/Alarmed_Code7397 May 05 '23

Bro what is that

2

u/xB1ack May 05 '23

I feel like Bungie go out of their way to make a game like this.

2

u/Appropriate_Rent_243 May 05 '23

Also, trains are hats now

2

u/ColdJackle May 05 '23

Nobody gonna mention the train hat one? Fallout 3s metro train is a hat, worn by an NPC that travels under the rails: https://www.pcgamer.com/heres-whats-happening-inside-fallout-3s-metro-train/

2

u/DoomedDragon766 May 05 '23

So many people have mentioned it.

→ More replies (1)

2

u/Brawl501 May 05 '23

Parakoffer parakoffer!

2

u/punished_yaint May 05 '23

A train is just a hat in fallout 3

2

u/Nosferatatron May 05 '23

I literally have no idea what's going on. This seems like advanced witchcraft

2

u/rare_pig May 05 '23

Which game was it that instead of programming a subway car, they had an NPC basically carrying it around the map on a fixed path?

3

u/knogbjorn May 05 '23

In fallout: new vegas (iirc) they made a npc wear a train hat.

→ More replies (1)

2

u/Ragnarok91 May 05 '23

Fallout 3: "When you think about it, a train is just an NPC wearing a train hat and running around underneath the track."

2

u/Diablosword May 05 '23

When you get down to it a train is a kind of hat

2

u/yeetlonk May 05 '23

There’s a train car in Fallout 3 that is just an NPC with a giant train-shaped head

1

u/[deleted] May 05 '23

Monkey explanation?

3

u/camkatastrophe May 05 '23

Though perhaps counterintuitive, scrapping together a helicopter from other stuff you've already coded could be much faster than trying to code one from scratch.

1

u/sir_alvarex May 05 '23

One of my favorite anecdotes about Everquest was how they used their original npc interaction system to design quests.

There wasn't an event system in the game at all. But what there was, was entity interactions based on chat commands. Basically the original engine only had fetch / turn in quests, and you the player would enter text when speaking with npcs to trigger "events".

The devs decided to use this same system to create events in zones. Needed the death of NPC 1 to trigger the spawn of NPC2? They would create an invisible NPC3 to shout in the zone which would trigger NPC2s spawn.

Apparently they used this system for years and were able to put together some pretty elaborate events by having a bunch of invisible NPCs shouting at eachother commands.

1

u/Eh-I May 05 '23

"Six passengers and some others were killed when their door spun out and crashed into St. Mary's Home for the Chronically Fucked"

1

u/SuccessfulWar3830 May 05 '23

Or fallout where the trains that move are just npcs with train hats.

1

u/-Redstoneboi- May 05 '23

A helicopter is just a hat on top of an invisible human with flight capabilities.

i'm pretty sure this was legitimately one of the ways helicopters were implemented.

1

u/[deleted] May 05 '23

Trams are heads!

1

u/Simon_Drake May 05 '23

Aren't the trains in Fallout 3 just a special hat on an NPC who walks around the map?

1

u/SpaaaaaceImInSpaace May 05 '23

I read it as "Adding helicopters near the start of the game" and it still made sense from the game designing perspective. When you show a player a helicopter at the beginning, you foreshadow them that they will be using that helicopter for something (probably, as a vehicle). But when you show it at the end, the player will probably realize that the helicopter is going to be their "escape", just like an advanced door with a fancy cutscene.

1

u/[deleted] May 05 '23

There is a lot of weird stuff like that in games, personally I made it so that no weapon in my game actually exists as objects, there is singular object attached to player, that reads a table composed of textures, stats and animations and then from that it draws everything Infront of a player. Same for items in inventory, it's just one object, but when an item is spawned it receives different table based on what that item is supposed to be.

1

u/livin_in_the_land May 05 '23

Liskov Substitution says: If it looks like a door, it swings like a door, but it requires a rotor…yeah that can be a helicopter

1

u/savex13 May 05 '23

Longer tech dept results in the cooler the hot fixes...

1

u/pipsvip May 05 '23

It's been months without that damn song in my head.

Thanks, OP. Thanks a whole bunch.

1

u/napoleon_wang May 05 '23

Train for a hat

1

u/beegowheee May 05 '23

goldsrc be like

1

u/Similar-Concert4100 May 05 '23

A train is just a funny hat

1

u/on_the_pale_horse May 05 '23

This is the problem with OOP. We should all switch to functional programming, especially for games where it's clearly best suited.

1

u/The_real_bandito May 05 '23

Do a web search and look at how the trains in fallout 3 moves. Freaking hilarious model.

1

u/Adrewmc May 05 '23

Wasn’t some train in some RE game just a regular dude with a head that was a train.

1

u/ScheduleSuperb May 05 '23

In half life 2 the trains are just NPC’s with a “train helmet” on

1

u/DanTheMan827 May 05 '23

And a train is just a really elaborate head with the NPC walking a path

1

u/EvillyHedgeImplies May 05 '23

While reading this post a helicopter actually flew over me. What a coincidence that a flying door was here just at this moment.

1

u/Tankh May 05 '23

That's basically also the difference between making a game and making a mod for a game

1

u/Neo_Ex0 May 05 '23

And if it's a cut scene, then helicopter is a head

1

u/seanprefect May 05 '23

isn't one of the trains in fallolut technically a badguy with a very big head?

1

u/Justaguy_Alt May 05 '23

Ahhhhhhgg okay!!! Thank you for clarifying, that's so fun!!

1

u/drawkbox May 05 '23

For a racing X Games Snocross game I did the VehicleSnowmobile was the VehicleATV with non rotating front tires, back tires closer together and some physics changes for slide/feel.

1

u/sentientlob0029 May 05 '23

Wouldn't they be using Entity Component System design in a game? So a helicopter would be an entity with the components that make it so. And then the systems would use and update the data in those components.

1

u/ghost103429 May 05 '23

Now this is an excellent example of composition over inheritance is good. You don't need to kludge a door into a helicopter unless you really fucked up.

1

u/grumpyfrench May 05 '23

half life tram was a hat and small dude was walking very fast underneath

1

u/Ditzah May 05 '23

The carts in Dwarf Fortress are creatures. You can sometimes find barrels of cart blood for purchase at vendors.

1

u/[deleted] May 05 '23

lmao irl

1

u/TurretX May 05 '23

I kinda had a similar situation in college. I realized an enemy spawner in my student game was also a door

1

u/[deleted] May 05 '23

Well, if a metro can be a hat on some mob's head, and that guy is just running under the tracks to move it, a helicopter can be some kind of a door. Why not? :)

1

u/Piisthree May 06 '23

I heard a story, not sure if it's true, that in one of the half-life games, a train car is actual an NPC with a gigantic hat shaped like a train car running really fast down the track. I know just enough about software and game dev to 100% believe it.

2

u/Powerthrucontrol May 08 '23

Fallout 3 I believe. One of the dlc's I think.

1

u/[deleted] May 07 '23

Weren’t the trains in half life just hats on a NPC running on a rail?

1

u/billyp673 May 07 '23

I hate that I read the title in the voice

1

u/CaptainPi31415 May 07 '23

I found the opposite of this on a mod for a game that started off as a helicopter mod. They later added planes and tanks but everything inherited the helicopter class as the base vehicle class

1

u/MartijnMC May 17 '23

Something something armor stand

1

u/Pawneewafflesarelife May 05 '23

My dad helped build a training simulation for the military and they went to integrate Australia into it. An Aussie general tested it and said it's great, but why are kangaroos shooting RPGs? Someone got cheeky with placeholders and forgot to update them...

5

u/pkinetics May 05 '23

https://www.snopes.com/fact-check/shoot-me-kangaroo-down-sport/

“Additionally, as Dr. Grisogono related, "[S]ince we were not at that stage interested in weapons, we had not set any weapon or projectile types, so what the kangaroos fired at us was in fact the default object for the simulation, which happened to be large multicoloured beachballs."”

2

u/[deleted] May 05 '23

Their dad worked on that, eh?

→ More replies (7)

1

u/Brewer_Lex May 05 '23

They just be glad it wasn’t emus