Put the turret in game and nearly went deaf trying to make a good laser sound.
I was trying to use electric with operator to make a good “wirrr ZAP” sound. But I ended up just making garbage that made my head hurt (Lower your speakers before playing)
I also made a scorch mark decal in gimp:
I was doing all this work to get good edging effects but the “smoke” brush seemed to work fine!
I setup the explosion from the weapon library to have scorch marks on the ground:
My initial reasoning behind making this is that I wanted the tower I made earlier to make a line as it tracked you across the ground but I pivoted to make the tower just shoot a single explosion.
The tower now detects and tracks the player. I just setup a big collision trigger around the tower that grabs the player as a variable on overlap. Then I added in some laggy tracking code below.
I also added a plasma laser thing Niagara effect:
Surprisingly there wasn’t a torus primitive model in unreal so I had to whip one up really quick in blender (its like 3 buttons to make this in blender).
This SHOULD HAVE worked not sure why but I gave up and used a “shape location” module which distribute the meshes along a cylinder of radius 1
Worked the same…
And the final result:
(Still working on the rotation logic which is why it randomly flips 360) No damage atm but I still dig the tower and the effect of a bright flash then an explosion. Kinda reminds me of Slave-1’s seismic charges:
Now my next plan is to: 1.) Hook these turrets up to terminals 2.) Add health to the turrets 3.) Add a “you win” screen 4.) Make this map:
I went into this then I found this bass sound and just kinda rolled with it I found a sound a liked and rolled with it (it a bit loud fyi)
Here’s the synths (where the concert flute is a sampler)
The flute is surprisingly nice is from the Abelton orchestral woodwinds pack: https://www.ableton.com/en/packs/orchestral-woodwinds/. That being said: a part of me thinks I shouldn’t have used the flutes, it kinda takes a dance thing and un-dances it.
I started working on the HUD also but I’m failing at keeping the scaling consistent:
I did put shells on the Assault Rifle though:
Not really a huge accomplishment but baby steps I guess?
I have a pretty good pc (4090 24gb) I’m surprised its taking so 5+ minutes (but then again I’ve made NO effort to optimize any of my materials…
That being said…
I guess I made things low poly enough that maybe this is inherently optimized….
But thats a detail thing that I can work on later, For the outside I want to:
Make those back blocks look like a office building embedded into the rock
Replace those generators with something that would flow better with game play
Make a new texture for that platform. Tat texture is fine but I’m using it in like 12 places and I don’t want to mess with UV scaling just to get it working
Make some static rock models to place along the edges of mountainous regions so I it doesn’t look like a muddy ski slope
Do something better with these conveyor belts. I put in WAAY to much time to make those kinda work, I might just delete them
I have this cabinet which is kinda sketchy looking, it was supposed to go with a terminal but I might move it again
Fix that lighting so that there isn’t a weird skylight for a warehouse setting
Get some friends for that tree.
Also I need to make a better road texture, at far distances it looks fine but then you zoom in…
Every-time I look at it my graphics card fan spins up…probably a bad thing.
I also added a tunnel model
The UV’s and normals are REALLY messed up atm but I dont want to dig in yet. I fixed it by making the underlying material double sided but generally if you’re a single sided material and your model goes from looking like this in blender:
To this…
You should probably do it again….
But in the meantime there’s the magic “Make the material two sided” button which is normally used for meshes that have both an interior and exterior (which is not this….at all)
Still has issues. The darkness underneath comes from the unreal seeing that the normal of the face is facing in a direction that is into the block’s origin rather than away from it. This makes the lighting calculations get all wonky.
I spent the day listening to old gorillaz youtube videos while working. Once I hopped on abelton I tried re-creating “welcome to the world of the plastic beach” by memory:
It turned out better than I thought after I compared it to the original. (You may notice the beeps from rhinestone Eyes I somehow got mixed up in my head and added to this song).
The hardest part here was the voccoder which I rarley play with and is kinda annoying to get right. So for my future self here’s the voccoder settings:
Here’s the operator that’s driving it
And here’s what’s being played:
Sounds pretty good, I think I could touch up the input noises more and if I got a better brass sound I think it would work better.
Otherwise I spent some time “vibe coding” to touch up the site. Vibe coding is just asking chatgpt to do stuff for you. I can still see why you would need an engineer to do this so I wont say its totally a replacement but damn did it take a 5 hour task and make it like 20 minutes.
(You can only see the above if you’re using a PC on the website) Both the top section and the bottom are custom shortcodes added into the site using by asking chatgpt a bunch of stuff. Here’s the PHP for the category stuff: This also requires a plugin, chatgpt suggested one but I found an older plugin that was open source and asked chatgpt to change the initial code that it gave me to that. It’s pretty crazy how simply that quick reconfiguration was.
//////
//Category Icon List
/////
function shortcode_category_icons() {
if ( ! function_exists('get_term_icon_url') ) {
return '<p><em>Icon Categories plugin not active or function missing.</em></p>';
}
$output = '<ul class="category-icons">';
$categories = get_categories([
'hide_empty' => false, // Show all categories, including empty ones
]);
foreach ( $categories as $category ) {
$icon_url = get_term_icon_url( $category->term_id, 'category' ); // get the icon URL
if ( $icon_url ) {
$output .= '<li>
<a href="' . esc_url( get_category_link( $category->term_id ) ) . '" title="' . esc_attr( $category->name ) . '">
<img src="' . esc_url( $icon_url ) . '" alt="' . esc_attr( $category->name ) . '" class="category-icon-img"/>
</a>
</li>';
}
}
$output .= '</ul>';
return $output;
}
add_shortcode( 'category_icons', 'shortcode_category_icons' );
Also under the title page
That little line above I spent atleast 3 hours trying to get working before I started embracing AI. Chatgpt understood the problem and gave me a solution in seconds. Essentially it was adding a <div> to the “header.php”
Then some java script using another plugin that chatgpt suggested using “WP Headers And Footers” It was so easy that I imagine that it probably isn’t worth blogging too much about. But I see myself getting more into the ai dev side as I go along.