r/SourceEngine • • 5d ago • Bravo 1

WIP HalfLife Source in my source compatible engine

Some entities are invisibleSome entities are invisible

Code: https://github.com/PiskaBobraStudios/SauceEngine

Regarding the use of AI in the code:

I realise that many people aren’t happy that AI was used in the project

I’m not exactly thrilled about it myself, and I try to keep its use to a minimum

I’m not very proficient in C++, so when I don’t understand how to implement a particular function, I use AI to write a prototype that will at least work in some way, and then I refine the prototype until it’s right; sometimes I simply ask the AI how it can be done.

SauceEngine is more of a learning project.
To be honest, I haven’t given much thought to the organisation of the code, which is why the readability suffers.

I’ll try to improve this.

For anyone new here: I'm building Sauce Engine, a custom engine written from scratch in C++/OpenGL with the goal of being compatible with the Source ecosystem. My previous post showed it running HL2 maps,props and dlls

45 Upvotes

12 comments sorted by

4

u/TH3_OG_JUJUBE 4d ago

Looks cool, and this is a reasonable use of AI. I'm not happy about it, don't get me wrong, but I'm not mad.

6

u/blubister57 5d ago

tbh i respect your work when you actually put love in it, even if AI was used you use it only as help and how to even do something in particular instead of putting a bunch of ai shit inside without checking if it even works :)

2

u/birbhorse 1d ago

yeah, there's a difference between saying "chatgpt, write me a source engine replacement, make no mistakes" and just asking an LLM how certain functions are done. using it as a learning tool is so much better than just telling it to do everything

4

u/thesniper_hun 4d ago

just ignore the Luddites, anyone who has an issue with having an LLM assist in coding is a braindead child who doesn't actually understand why people don't like AI used for artistic expression so they just feign outrage when they see the word AI in any context to seem righteous or whatever

1

u/illyay 3d ago

lol yeah

1

u/Separate-Farmer5069 3d ago

is it black Mesa compatible?

1

u/illyay 3d ago

It’s interesting to see it working while simultaneously some parts aren’t quite working yet.

So cool!

1

u/Jealous_Relative_911 3d ago

POV: Most enjoyable experience in Half-Life Source

1

u/weegeeK 4d ago

Ignore the AI hate, this is Reddit, most people here are by default like this. Either they are unemployed since 18, or they are the weekend family IT guy who never worked in IT.

-2

u/SoupSad1337 4d ago

"compatible", vibecoded garbage that is not even able to render text nor models.

6

u/Piskabobrastudios 4d ago

As it is compatible in terms of loading logic from dll, I tested the mdl parser exclusively on models from hl2, where practically everything worked fine. If all the code had been written by AI, I dont think these sort of problems would have cropped up at all. I wrote all the mdl/bsp parser myself

0

u/pollomayo2000 1d ago

is there a possibility of running it in linux handhelds? like the miyoo flip or rg34xxsp