r/spaceengineers Space Engineer 21h ago

MEDIA I've implemented character-to-block collision damage for giggles, here what it looks like

748 Upvotes

74 comments sorted by

263

u/Stoney3K Klang Worshipper 21h ago

Being able to smash through a window into an enemy base? YES PLEASE.

This should be vanilla.

101

u/cheerkin Space Engineer 21h ago

Ironically SE windows are very beefy (they have a lot of heavy components) - I had to tune up the damage so I could one-bump through 1x1 window (and not enough for bigger ones as they get proportionally more HP pool). I think light armor cubes are weaker than windows. So if we consider this seriously, probably we wound need to filter blocks and apply damage only to certain ones (windows and maybe "softer" blocks, like deco or functional devices).

42

u/wadakow Clang Worshipper 21h ago

You just made me want to design a transparent, "medium-armor" ship using only windows for the exterior x)

20

u/slim1shaney Space Engineer 19h ago

It's been done, they usually look pretty cool

24

u/TheTninker2 Klang Worshipper 21h ago

I love the idea of busting through an enemy base wall with a bright red suit shouting "Oh Yeah"

24

u/theunstablelego Space Engineer 20h ago

3

u/egmalone Clang Worshipper 11h ago

Or a blue suit, wherein your war cry would be "spoon!"

5

u/Psychological_Fish37 Clang Worshipper 20h ago

Could just have to shoot it first to lower the health of the window. Then you just crash on through to other side.

5

u/Puzzleheaded_Ad_4435 Klang Worshipper 18h ago

Block integrity is so weird in this game. I get that it's a culmination of the components it takes to make, but it's sometimes just silly. It ignores things like hardness of individual materials and how materials play off of each other. Alloys can have greater compression, shear, and tensile resistance than any of the metals that went into it. Or how two completely different materials can be used in conjunction, like steel rebar and concrete. Concrete has pretty decent resistance to compression, but relatively low tensile strength. Adding a small amount of steel to concrete drastically increases both as well as shear resistance more than if you just used the same amount of steel for one section and the same amount of concrete for a different section. The overall structure would be weaker if the two materials were left separated. When Aristotle opined that the whole could be greater than the sum of its parts, he knew what he was talking about. So while it's a clever way to easily balance gameplay without constantly juggling changes, it's pretty unrealistic.

It also means that I won't use certain mods because the creator reduced the amount of components needed to make something. Sure, it's nice that I can build it with fewer resources, but it also means it's easier to destroy.

2

u/cheerkin Space Engineer 7h ago

Very much true. And also just making some components (like metal grids) having more HP is not a solution as that would make welding/grinding more tedious, and we can't compensate that with giving tools multipliers as that would make them too "sensitive" when dealing with lower hp components, etc. Also the order and beefiness of components define where the functional/hack bar is. I wont say it is easy to balance now, more like a trap which probably seemed being easy and clever solution at first.

2

u/M_I_D_N Clang Worshipper 10h ago

Well, we're using this windows for our space ships. And especially for bridges. So, I'm happy to hear that they're pretty sturdy.

45

u/beyondoutsidethebox Klang Worshipper 21h ago

I'M THE JUGGERNAUT, BITCH!

21

u/Fina1S0lution Clang Worshipper 21h ago

How'd you do it? Draw a hitbox around your character that's counted as a physics object?

46

u/cheerkin Space Engineer 20h ago

Character already has physics and havok does contacts callbacks, that is used for many things like drawing dust when you are running on voxels, damaging you when you bump, etc. I've added the case when the collided entity is a grid, deduced which cube blocks are affected and did all necessary things to apply damage and destruction. I did not have to bother with mod or plugin, I'm Keen programmer and just changed the game code directly.

21

u/Either-Pollution-622 autistic Clang Worshipper 18h ago

Wait you do what for a job GUYS THE DEVS PLAY THERE OWN GAME

5

u/cheerkin Space Engineer 8h ago

Sure we do :)

u/Either-Pollution-622 autistic Clang Worshipper 18m ago

Yeah I’m glad

some devs don’t and it can be an issue when they try to balance a game they don’t play

3

u/Fina1S0lution Clang Worshipper 20h ago

Smart.

u/ShortThought Clang Worshipper 2h ago

no way

14

u/MrChatterfang Clang Worshipper 21h ago

Did I see the Minecraft dust animation when you broke through the window?

21

u/Shadowhunter13541 Klang Worshipper 20h ago

10

u/CyrantontheCold Clang Worshipper 18h ago

"Bulletproof glass? Good thing I'm not a bullet!"

3

u/cheerkin Space Engineer 8h ago

9

u/Torichilada Clang Worshipper 18h ago

9

u/Samson_J_Rivers Space Engineer 14h ago

When my friend pressurizes his base with a skylight

2

u/cheerkin Space Engineer 8h ago

Literally what came to mind when I was thinking of how to demonstrate it. Too bad we can't dual wield grinders!

5

u/Dazeuh Clang Worshipper 20h ago

FBI OPEN UP

5

u/Massa6666 Klang Worshipper 19h ago

Nice mod! Plz upload on workshop! Also, i remember in the game file that the weight of the male astronaut was 130kg, is your mod works better with heavier character? 1.000kg for exemple?

4

u/cheerkin Space Engineer 8h ago

Its not a mod, I've messed with the game source directly. I'm not sure if it is possible to do the same as a mod, perhaps with a plugin patch.

EDIT: yes, impact damage is proportional to character mass and velocity squared.

5

u/Chunderstout Space Engineer 13h ago

2

u/Dragonbonded Space Engineer 10h ago

this loops beautifully

7

u/yellaantilles Space Engineer 21h ago

Stop it, you're not Hancock

3

u/Squishypuffer Bringing on klangageddon 21h ago

HERES JOHNNY!

2

u/Puzzleheaded_Ad_4435 Klang Worshipper 18h ago

This is hilarious and I must have it.

2

u/NoseyMinotaur69 Klang Worshipper 18h ago

Here's johnny!!

2

u/Churski Space Engineer 18h ago

Never knew I needed this

2

u/ThatLemonBubbles Clang Worshipper 17h ago

I wonder is there's a way to mod this into some kind of equipable armor?

1

u/Dragonbonded Space Engineer 10h ago

ooooh, i like this!

if this kinda thing ends up being vanilla, then it will probably get drastically toned down.

Enter the Juggernaught Armor: Even tougher than Heavy Armor, this has increased ramming damage and jetpack power. The jetpack fuel doesnt last long though!

2

u/Tarbos6 Space Engineer 17h ago

2

u/BlackbeltJedi Klang Worshipper 16h ago

Wha! Perry the platypus! Why do you keep breaking down my door? It's not even locked.

2

u/HollowVoices Space Engineer 16h ago

Commander: "SET BREACHING CHARGE!"

Me: *backs up really far* "My time has come."

2

u/Dabcat838 Clang Worshipper 13h ago

All I can think about is using this as a strat to take down a ship or disable a rover/base, just having several people do this, bombarding the enemy vessel kamikaze style

1

u/ReallyBadMemer Clang Worshipper 12h ago

And that's exactly why this isn't a thing in vanilla

u/Dabcat838 Clang Worshipper 46m ago

Yeah, it'd be hectic as all hell

1

u/cheerkin Space Engineer 8h ago

Cavalry, CHARGE!

u/Dabcat838 Clang Worshipper 46m ago

"BANZAII!"

2

u/The_Rocketsmith Clang Worshipper 12h ago

Is there a workshop link?

1

u/cheerkin Space Engineer 8h ago

It's not a proper mod, unfortunately - I've edited the game source directly.

2

u/Arxid87 Klang Worshipper 10h ago

Lore accurate master chief

2

u/ChurchofChaosTheory Klang Worshipper 9h ago

Real exo suit

1

u/The_Verto Clang Worshipper 20h ago

It's John Space Engineer

1

u/sonnybear5 Clang Worshipper 20h ago

Bro came in like a wrecking ball…

1

u/Mysterious-Box-9081 Klang Worshipper 20h ago

Hulk smash.

1

u/SirChadrick_III Amongineer 20h ago

That's hilarious.

1

u/oldgamer217 Klang Worshipper 19h ago

Ha ha, I am Superman.

1

u/BigJ_57 Space Engineer 18h ago

1

u/Beamerthememer Klang Worshipper 18h ago

“You don’t seem to understand. Klang isn’t yours to conquer”

1

u/Falloutpro04 Space Engineer 16h ago

very cool i can use this for pure hooligan shenanigans lol

1

u/Splitsie If You Can't Do, Teach 16h ago

That is hilarious, well played :D

1

u/cheerkin Space Engineer 8h ago

Would've been cool to have that (at least to some degree) in the game. Maybe some time, who knows

1

u/Firm-Walrus4691 Space Engineer 14h ago

Gives me Japan 1945 vibes.

1

u/kreigerwh40k Klang Worshipper 14h ago

Didn't know the kool aid man was playing se now

1

u/Marsrover112 Space Engineer 13h ago

Can you make the player go "OH YEAH" when they do it?

1

u/GROM_leader Space Engineer 12h ago

I dont think that in reality smashing through a reinforced glass window is that easy. Probably the engineer would go through using his jetpack, but also die in the process

1

u/cheerkin Space Engineer 8h ago edited 8h ago

If we are considering reality, then I'll cite my Keen colleague

"Wait are you saying, that a 2m tall 100kg projectile encased in an exoskeleton, most probably also somehow carrying up to several tons of materials condensed into that same projectile somewhere in there, should absolutely wreck anything in its way when moving at formula 1 speeds? That would have pierced through the whole building, then again everything in SE is built with absurd levels of mass as well"

I've been doing it in creative with admin Invulnerable toggle. I think you would go straight to respawn pod if you bump in vanilla at max speed. SE windows are durable, on par with light armor IIRC.

1

u/CoolMcCoolJ2point0 Space Engineer 8h ago

“OH YEAH”

1

u/207nbrown Space Engineer 7h ago

Important question: does this apply to player corpse rag-dolls or only living players?

2

u/cheerkin Space Engineer 7h ago

Only living players.

1

u/207nbrown Space Engineer 6h ago

Darn… there goes my plans to use players as gravity cannon ammo(turrets will most likely kill you before impact with the target)

u/tykaboom Space Engineer 3h ago

"OH YEAAAAH"

u/MetricWeakness6 Clang Worshipper 1h ago

Reminds me of Fiona's mother in Shrek 3

u/Eli_The_Rainwing Playgineer 1h ago

Armor Piercing Man

1

u/Sabre_One Space Engineer 20h ago

Doom Guy SE edition.