Post news Report RSS Half-Craft: World generation!

Advent update 1: Well, it was a month since there I updated this mod, and I also missed advent by one day! It's a shame, however, I managed to get world gen and some physics to work.

Posted by on

Hello everyone!

Since November 1st, I took time to optimize the mod and add some neat things to it. The optimization part, I think, is the most boring part for you in general, but it's basically not bottlenecking the PCI bus of the video card (I converted my mod to use VBOs instead of using immediate mode for more knowledgable people). At first, it didn't look quite right...

I also implemented world generation by this time, but it was more like a reason to me to push this mod further

If you noticed, you can notice in the top left corner, that the optimizations didn't quite work out. In my limited knowledge, it's due to the bottleneck that comes with rendering individual blocks. For now, this problem is resolved by an abysmal 3 chunk render distance! I will fix this in the next Advent Update.
How did I implement the simple world generator? Easy, I just typed in Google "perlin noise generator" and downloaded a library from a really generous person on Github. In all seriousness, I didn't want to waste my time trying to figure out how to implement a noise function (I tried, it didn't work as expected). I also changed the skybox color and evaded some restrictions of the GoldSrc engine so I wouldn't be stuck in the wall. This is the result of it:

Keeping to the tradition of demonstrating my mod by Youtube videos, here I demonstrate just how nice the world looks like and what I still need to fix.

That's it for now guys, see you later :))))
- b4n4n4
Discord server: Discord.gg

Post comment Comments
Krychur
Krychur - - 969 comments

looks legit. so will the gravity be like in Xen all the time? (less gravity = higher jumping)

Reply Good karma Bad karma+5 votes
b4n4n4 Author
b4n4n4 - - 28 comments

I set it to be like that because the blocks are a bit too big for the player and it was the easiest solution.

Reply Good karma+4 votes
Sockman111
Sockman111 - - 71 comments

This is a crossover I never thought I needed. For real though, this is looking really cool, I can't wait to play it

Reply Good karma Bad karma+5 votes
Dune_Jumper
Dune_Jumper - - 1,586 comments

This is just insane.

Reply Good karma Bad karma+2 votes
Trempler
Trempler - - 662 comments

Tracking :D
I enjoy that :)

Reply Good karma Bad karma+2 votes
SNMetamorph
SNMetamorph - - 23 comments

Woh, good work, buddy!

Reply Good karma Bad karma+3 votes
florkowski
florkowski - - 151 comments

Minecraft world generation is the last thing I would ever expect from a Half-Life mod... AND I LOVE IT

Reply Good karma Bad karma+2 votes
LadyJaneThrace
LadyJaneThrace - - 865 comments

you absolute maniac

tracking

Reply Good karma Bad karma+1 vote
Sears
Sears - - 33 comments

Congrats! b4b4n4 ill be watching this

Reply Good karma Bad karma+1 vote
euqawust
euqawust - - 4 comments

Headcrab
aww man

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: