Skip Navigation
User banner

SmokeyDope

@smokeydope.lemmy.world.ap.tdpl.io

33 Posts0 Comments0 Memberships

Joined November 2026

  • Creating a Dynamic Skybox Scripting System For TerraManic (Dev Log #1)

    Mapgen

    image image image While not the main focus of this post, I did want to share mapgen stuff. Im still learning and figuring out how to get decorative elements locked into mapgen. I learned how to create schemantics with world edit and use as decorations for first trees, I created some models in blender and decorated the ground with some sticks and stones.

    Weather

    image I did start to play around with weather. I want to tie rain triggers to skybox changes and have like 'stormy days' that start cloudy and have a heightened chance to trigger rain or storm. Of course tie it into the seasons api too so that spring has lots of rain and winter triggers snow storms that freeze water.

    On Skyboxes

    The first big development project after wrangling the basics of world generation actually ended up being about skyboxes and celestial stuff. I want my game to stand out visually and one of the ways to do that is to make good use of skyboxes. They add a touch of beauty and realism. If you've ever played with shader packs in other voxel games you might associate them with a kind of "premium visual experience" that usually requires modding and performance losses with acompanying dynamical shadows. Luanti Handles these very well completely seperate of any dynamical lighting so even low end systems can enjoy image It seems that skyboxes aren't widely talked about in luanti community. I just learned about it by chance searching on a whim and finding an 8 year old developer video by one of the old Luanti devs SoFar..

    Stage 1: Basic Day/Night toggle

    image image The first stage was just to get the skyboxs in the game and to not be static anymore. Thats the concept at its most foundational, get the skyboxes to change and the most simple way is to do that via swapping the textures on some trigger event. SoFars SkyBoxes module was released under a commercially permissive license (LGPL2) and so was used as a foundational base to build out from. The obvious trigger event to me was the in-game time that determines day/night cycle. Day time should have a daytime skybox and night having a nighttime skybox. Simple as. This was relatively straight forward though some bugs needed to be ironed out like the skybox not triggering automatically on reconnect. After that was adding in a few more like sunrise, sunset, and midday triggers

    Skybox Image Modification

    image Adding back in the in-game rotating sun and moon made the skybox sun and moon feel a little wierd. To start I wanted a sun-less daytime sky and moon-less nighttime skybox so that the in-game sun and moon looks natural as it rotates. The skyboxes are cut up into 6 tile sides that get projected onto a rotating cube. To take out the moon or sun we just find the tile that has them and do a little bit of bad photoshopping with GIMP image

    New Celestial Bodies In The Sky

    image image Doing this gave me a kind of epiphany. While the engine doesnt allow multiple sun, moon, planets, we can hack in the illusion of them by creating custom skybox profiles that swap out individual tiles. Two key insights. 1. Swapping tiles mechanic save us from needing to copy whole skyboxes for each little variant edit. We can potentially even use alphas and the engines texture overlay system to optimize the process instead of whole tiles just a skybox with a hole cutout for different celestial overlays. 2. Combining the function of hot swapping textures in game with smart triggering conditionals paves the foundation for advanced scripting (moon visible during some days, supermoons, blood moons, alien planets, two stars of different size on different days) So while we can only have one actual in-game moon and sun, we can edit skyboxes and swap sun+moon to custom textures based on scripting events. create a suprisingly convining facade. I really like when fantasy and sci-fi planets have two suns or three moons or a ring world, im hoping taking some inspiration there can help make TerraManic feel fresh. image image

    Stratosphere Layer

    If you aren't familiar with luanti but are familiar with something like Minecraft theres a big distinction that needs to be understood with how worlds work. Minecraft is many millions of blocks from one limiting x,z end to another, however its only a couple hundred Y levels deep from deepest point to highest buildable point. kind of a wide as a ocean deep as a puddle situation. Luanti is the opposite. Its only 64,000 blocks from one limiting end to another (still plenty of room for exploration), however its also 64,000 blocks deep from highest to lowest point Y level wise. You spawn at Y=0 and can move up +32,000 or down -32,000 and build to your hearts content. The challenge is of course making good use of all this new dimensional room. I have some really cool gameplay ideas cooking I dont want to spoil yet but a quick and easy win was implementing Orbital layer that triggers a skybox change at a certain altitude and alters gravity. Im thinking of creating some asteroids or sky islands that generate up here in the first layer of the stratosphere. An interesting thing with the space skybox is that sun is always visible the two orbiting bodies appear to be moon and the strange planet. Its really cool! image

    Visibility Woes

    The Orbital layer reveals that the bare bones day night cycle luanti engine provides has some visual wierdness. By default skyboxes either have something or they dont simple boolean toggle. If its visible it never really disappears though it will go under the horizon. When that horizon disappears it becomes hard to ignore and kind of immersion breaking seeing the moon go down below your feet into the earth or the sunrise texture teleport from one horizon to another. So, the next API step was to add a way to make textures invisible based on predefined time of day triggers or custom defined cycles.

    Orbital Rotation

    The last celestial thing I played around with before writing this was orbital rotation axis. Having the sun and moon go directly over your head is a little boring and predictable. I wanted to make it so that theres some variation in tilt based on season, planet type, or distance from the equator. Thats some future plans for scripting!

  • Opening up TerraManic community as a place to talk about my games development

    Hi! Im making a game under the working title 'TerraManic'.

    What is TerraManic about?

    TerraManic is inspired by games like Dwarf Fortress, TerraFirmaCraft, and Caves Of Qud. The current development focus is on incorporating real world geology into mapgen and primitive technology techniques into gameplay. The current roadmap goals are: • create a survival sandbox thats mechanically rich and more dynamic in the worlds presentation • enviroment interactions and block descriptions that educate on real world phenomenon • Add some light RPG mechanics that allow the player character and their equipment to level up in permanent ways • Have many dozens interesting structures and buildings • Create unique tools and weapons gained through exploration • expand the underground with various layers and microbiomes

    Examples of geology?

    • Instead of just 'dirt' each biome gets a specific kind of topsoil like sandy loam, clay loam, peat, ect. This affects fertility, drainage, and sifting potential. • Instead of just stone theres now a variety distibution of metamorphic, sedimentary, igneous extrusive, and igneous intrusive rocks. Marble, shale, basalt, and gabbro are just a handful of whats in.

    Interesting Mechanics already in the game

    • year + season cycle system • blocks/nodes updating over time (things like water freezing in winter and flowers blooming in spring) • Backpacks

    What Engine Is TerraManic Made In?

    TerraManic is made with the Luanti/MineTest engine and written in Lua. Its incredibly performant on all systems and easily portable to mobile.

    Modability?

    Very easy! The source code is written to be relatively easily readable and making mods for luanti games is a breeze compared to close sourced games. Theres a variety of mods that already work with the game on https://content.luanti.org/ and

    Any plans for DRM?

    No, The game will be released DRM free.

    Is that AI Art?

    Nope! All pixel art is 'hand drawn' by me in GIMP. The colors are usually sampled from a real image of the thing im trying to put into the game. image image

  • Finally upgrading the dynavap tip

    Previous tip: image I got the ti helix tip sunset color to finally complete my H2. Wow is this thing a huge improvent in several ways. Airflow is greatly increased which I immediately noticed. The m+ tip was restrictive comparatively. The speed to heat with induction heater is faster fue to lower thermal mass of titanium and the helix being machined to be the lightest weight wise. This means the tip allows for more efficient use of energy for more heat cycles per battery charge. I like the helical twisty swirlies. The color was purple not reddish orange so I was surprised and thought they sent the wrong thing! It seems any amount of finger oil turns it from light purple to sunset tan orange. I think that's bitching I love color changing stuff and purple is my favorite color so I was happy regardless. The holes didnt have noticsble burrs thats what I was worried about. It was machined to within my expectations, ran it through some ultrasonic alcohol anyways before use as is good practice.

  • The ExtremeQ/vtower desktop is usbc-pd compatable

    USBC-PD is a pretty awesome standard for powering stuff in 2025. Many devices can easily be powered by a 65-100w charger and equivalent USBC-pd cord. The adapter used for the eq is a 18-20v usbc-PD to 5.5x2.1mm barrel plug connector usually advertised for laptops. I have a PD charger for 12v car batteries it acts as a small dc-dc converter that runs off my solar system

  • What are your current favorite ABV processing recipes?

    What do you do to turn your stuff into stash? The best method I found so far has been slow cooking in coconut oil and turning it to pill caps. I follow this guide from high times. Skipping the decarb step obviously.(video)(text)

  • This is my first ever wood vaporizer piece. Its an arizer stem with mesh screen from Eds.

    Its a stem for the arizer portable vaporizer series. Been wanting one of these for over a year now. decided to finally indulge this VAS for 420. The four little holes in glass filters that came with the arizer just so damn restrictive. The mesh screen of eds stem promises t9 have much more airflow. I'm curious if the metal body helps with conduction. Ive always heard vapor nerds talk about tasting the wood, I wonder if its true. This is cocobolo. The picture was full dark but the one I got is half dark wood half light wood, stamping on light side. I appreciate the duality, its fine. For some reason my last piece the rosium m7xl also had this coloration duality. Perhaps the universe is trying to send a message? image image

  • Finally got together a simple 12-24v DC bulb light fixture for the offgrid solar power system

    To see at nighttime ive been getting by with a 5v USB bulb for a while now. Its adequate and power efficient lighting for sure. But honestly I dont want adequate, I want the luxury of nice bright dimmable lighting.

    I bought a cheap string light fixture, a male car cigarette outlet connector, and some 12-24v bulbs.

    The string fixture had come with home ac outlet plug, so that needed to be cut off and replaced with a DC comparable outlet plug. Theres a few options but for now I choose a car cigarette plug male. I wired it together and plugged it into the 12v system, the bulb works nicely. Its daytime now so excited to test out and see how much of an improvement it made.

    It would be nice to wire up a dimmer and intelligent microcontroller or radio frequency controls. I could get a three way socket adapter to put in a couple more bulbs but that may not be necessary.

  • Tonights sesh setup: Arizer ExtremeQ + vape balls over heater + ddave one hitter mod + sidecar water bubbler

    This is a favorite sesh setup of mine. It may be THE favorite honestly but dont tell that to my other sesh children they need to know I love them equal lol. The EQ/vtower Is an underrated desktop vape. Highly affordable, energy efficient, simple in design, and fantastic build quality. Will stay on forever if you want. The bowls it comes with are the weak link. It really needs to be modded with aftermarket parts for best performance. Vape balls better collect and distribute heat across the herb . this allows for even cooking and a distinct conduction feeling draw over its stock airy convection feel. The ddave one hitter is pretty much the perfect size for a single One Hit Extraction(OHE). Its about 0.05g per dome pack. The stainless steel version really soaks in the heat which helps conduction where herb touches dome walls I feel. The black rubber fitting to sidecar is dynavap rubber tip. Speaking of, sidecar is perfect amount of water. You only want just enough to introduce moisture to help throat dry feel. image image image

  • Spent some time animating this

    I never made an animated GIF before thought this would be a fun starter project. A little jittery in places but came out how I wanted it to more or less.

  • Its a huge ABV smoothie kind of day

    I save up a 50ml shot glass full of ABV and dump it all into a small blender quart sized smoothie when the time comes. Strawberry yogurt, fresh strawberry, frozen banana, vanilla icecream, and a scoop of peanut butter, and your prefered kind of milk. These ingredients do nicely to mask the ABV taste and get the liquid slosh down the gullet easy. I didn't measure how many Gs of abv but I estimate about 10g of ABV was used I'll try to scale it if I make this kind of post in the future. image image image

  • Some updates to the Vaporents community (03-29-2025)

    Hey there everyone! I made some changes to the community and wanted to be transparent with you about them.

    Changelog

    • Rewritten and expanded community description • Updated banner to higher quality image with proper cropping ratio • Updated thumbnail to something hopefully more easily recognizable on smaller devices

    Unpinned Post

    • Unpinned sales post / Reason: Inactive for over a year. Its better to make a new individual post for visibility/engagement. • Unpinned "Made dynavap/arizer community" / Reason: Inactive for two years. Also I dont think promoting lemmy vape community fragmentation when were still so small is a good idea. • Unpinned General Discussion post / Reason: Inactive for two years. Its better to make a new individual post for visibility/engagement.

    Thumbnail & Banner Change

    I thought the old thumbnail was a little hard to recognize on smaller devices and it was just a generic picture of the volcano. I wanted a more recognizable simple icon that would better represent vapes without being overly specific of one kind. The icon is still of a volcano shaped vape but with removed branding, dark green border, and a hand drawn vapor cloud. If you have constructive critisism or a compelling argument for changing it back I will hear you out. Old thumbnail: image New Thumbnail: image New Thumbnail Source Image: image New Vaporents Banner: image Banner Source Image: image

    Conclusion

    Thank you all for helping keep this community alive! From the posters, to the commenters, and the readers/lurkers. All of you have done great to keep c/Vaporents going. Ill do my best to continue posting and keep our zone well maintained.

  • Buckle up for today's find!

    First artifact find detecting with my niece. It was fun to pull it out of the ground with her she ran to show it off ASAP lol. She wanted to detect with me but at first made a fit over dirt and worms. I told her she better get used to it if she wants to do this And to scoop some dirt out. She took some rocks from the ground to add to her collection. I'm glad to have some kids excited with the hobby image

  • Revaping ABV is like the mature version of res scraping

    Real talk: sometimes my stash runs out and I want something to fill the habit if nothing else. No stoner is proud of scraping the barrel, but sometimes we do. At least I do, cant speak for everyone.

    Lately I have been revaping ABV while waiting for the re-up. I usually try saving it up for oil making but tbh ABV cannaoil doesnt do much for me so its not really worth the oil or a full day of processing to make it.

    It definitely doesnt taste great. I can only get like one appreciable hit off a full dynavap tip. Running the vapor through water is almost a must to help cool and mute the taste. Its better than nothing, but its not super pleasant.

    I'm reminded of my teenage days with spoon pipes and combustion.

    IDK how common this is but my dumbass stoner friends taught me how to scrape up the black tar that formed in the spoons into a 'res ball' and smoke that shit. UGH it was so nasty tasting especially raw dogging the butane until the ball lit up. I get the sensation to gag thinking about it. Boy did it get you high though.

    Compared to that, re-vaping ABV is a enjoyable cake walk. Even occasionally kissing the dragon is better tasting than butane and res balls.

    Thank you for changing my life, vaporizer technology. Even at my most bottom-barrel scraping I will never have to taste fucking butane or choke on tar carcinogens again.

  • Guide: Getting Started With Metal Detecting

    Getting Started With Detecting

    So, you've seen some swag shared on the community and maybe starting to yearn for the seven soils. Claim ye own artifacts and doubloons, perhaps? All you need is: • a detector • a pinpointer • a digging device like a trowel

    The Detector

    What exactly is a metal detector? Well on the simplest level its a fancy stick with a weird circular flat end that makes a beeping noise when you move it over a metal object. You swing it around with the head near the ground in a back-and-forth S pattern and hope you find a beep. More fancy detectors have more beep tones and let you tune out undesirable beeps like scrap iron. image

    Buying the detector

    The detector is the most important tool to invest in. They come at many different price points. The cheapest are around 60$, the middle tier brands are 120-180$, and the fancy name brand Garrett ACE 300 starts at 270$. I would recommend starting with a cheap sub 100$ one. If you find the hobby is something to continue with after a season or two then save up for a better one if needed. The difference the money makes is mostly in how fancy the controls are with extra digital microprocessor signal tuning. The detector I have is made by Bounty Hunter probably an older version of their 150$ Discovery 3300. Its lasted well over the decade so I feel somewhat confident in recommending them as a brand (though I never handled the newer detectors). The cheapest detector Bounty Hunter makes is the 70$ TK4 traker 4 which is all old school analogue with dials and meter. Whether you think the 70$ should go to go a no-name brand digital detector or a name brand analog one or just go for the 150$ name brand digital is all up to you and your budget.

    The Pinpointer

    The next thing you will need is a pinpointer. A pinpointer is a small mini-detector that emits a stronger or weaker signal the closer it gets to directly touching a metal object. The big detector gives general proximity, this small detector actually goes in the hole/plug you dig to sus out the object from the soil. image

    Buying the pinpointer

    These are much cheaper than the big detectors. The no-names start at 10$ and the name brand Garrett is 40$. Its worth noting that dry land pinpointer make sounds but if you are interested in water detecting in a creek or anywhere like that you probably want to get a waterproof pinpointer that vibrates. Again I recommend just get the cheap 10$ or middle budget 20$ just to start with.

    Digging Tool

    The final piece of needed equipment is something to dig with. Chances are you have a metal trowel lying around which does fine! Feel free to use it starting out, but the leverage and mechanical force needed for digging plugs will quickly wear regular gardening trowels out. A small shovel works and some people pefer that. I recommend getting a proper heavy duty metal detecting trowel. Its more knife-ish and offers better leverage for the plugs. I personally got this one and am LOVING it so far. image

    What To Do Next?

    Take some time to familiarize yourself with the detector and pinpointer by testing them out on household metal objects. After your confident it all works, the only thing left to do is find a signal in the back yard. Its time to d-d-d-duelig!

    The Process

    Put your arm into the detectors wrist support and grip the handle. Make sure the head is pointed parallel flat to the ground as close as possible almost touching the soil.

    Sensitivity & Discrimination levels

    Nows the time to adjust sensitivity and discrimination settings. A lower sensitivity means less likely to hit ghost signals or objects too deep into the soil, but if its set too low it might not pick up small objects like coins or jewelry. I recommend turning it down a notch or two but you should be fine just leaving it be if its too much complication. Discrimination allows you to tune out scrap iron, but I recommend you leave it alone your first few sessions. Iron is good practice and anything made of iron is likely to be a bigger object making it easier to find.

    Sweep & Mark

    Slowly sweep the detector back and forth left right left right and start walking. Eventually your detector will make a beep, you've maybe found something! Run it back and forth over the spot that you think made the beep. If you can get it to consistently hit a signal within a small area of a foot or so, you've done the best you can. If your detector has a pinpointing function, you can push and hold the pinpoint button right after the signal is hit to more precicely lock down the spot to dig. Make a mental note of the exact spot you think the signal is coming from and put your trowel in there so its marked. Then set your detector down with its head facing away from the hole. Its time to turn on the pinpointer and get digging. image

    Pinpointing The Plug

    The plug is essentially a fancy hole that you intend to fill back up in near pristine condition. Its a method to peel back the ground layer without tearing out the lawn grass. Before you begin cutting, take your pinpointer, turn it on, and sweep the ground around where you marked the signal. You might get lucky and have the pinpointer find a hit, indicating exactly where to dig. Start by cutting a 6 inch to 1 foot long straight line in the soil as deep as your digging tools blade length. Then on one end of the line begin another cut to form two sides of a triangle. image Make sure your angle is wide for a big obtuse triangle for more searching area. Leave the third side alone as thats where the grass holds onto the plug when you peel back. Use your digging tool and pry up the plug which should now be ready, pulling up the tip where the two lines connect up and over the uncut side. image Now take your pinpointer and shove it in the hole. Pray you got lucky and hope it beeps somewhere. If it does, your in the home stretch. Just start digging in the direction it beeps/vibrates. The more beeping/vibrating the closer your getting. Often I'll scrape the object with my trowel thinking its another stone only to notice metallic shine from the scrape spot. If you didn't find anything with the pinpointer, thats okay too! Mentally prepare for this outcome as its a likely one. Maybe your plug was 6 inches too far to the left, maybe the object is more than a few inches into the soil and not worth getting, maybe its a ghost signal. You can try making another plug adjacent/nearby or just cut losses and move on. In either case, when its time to fill up the hole make sure you do your best to get all the dirt and rocks back in there, that the grass is relatively clean and work the plug back in so its flush and nobody can tell it was ever there. Its proper ettiquite and your personal responsibility as a detectorist to not make a permanent ugly hole when on public lands. So its good to practice your plugs in the back yard first ideally where theres not much footpath.

    The Booty

    Whatever you pull out is going to be absolutely layer-caked in dirt which is easily cleaned with warm water, soap, sponge, brush, and cloth. I hope whatever you pull is an exciting and memorable piece like a car part, or gold plated locket face, paint can, a quarter, ect. But even if its not and just a pull tap or a piece of mowed aluminum can scrap, keep it. Be proud of your finds no matter how small. Get a display case and show those pull tabs off as if they were fine jewels. Try to remember the exact day and moment you pulled each one. At the end of the day, its about the journey and the experience. Being active, swinging the detector, digging the hole, pinpointing the booty, those moments are the real treasure. A neat metal nick-nack to show off is a nice bonus. Speaking of, I hope that if you do find something be it scrap or jewelery or artifact, that you show it off here.