Showing posts with label Fallout. Show all posts
Showing posts with label Fallout. Show all posts

Saturday, 18 June 2022

Fallout New Vegas inspired "Sunset Sarsaparilla" lamp

In Fallout New Vegas there is a fictional drink - Sunset Sarsaparilla - and in various locations throughout the game there are these bottle lamps, which served as the inspiration for this project.

 

 

I'm not trying to make a perfect replica, but instead just follow the general format of the design.



Lamp

The base lamp I am re-purposing is a basic  bedside lamp. It has a simple stem that lends itself well to this kind of project






Bottle

I found a beer bottle which had no embossing or branding on it other than an easily removed label.

To drill the hole in the bottom of the bottle I created a single-use jig to hold the bottle upside down. I filled the curved base of the bottle with water to act as coolant and lubricant, as excess heat can be a big problem when drilling glass. An abrasive drill bit, normally meant for drilling tile, was used, which worked very well.

In it's simplest guise, the project would just be "Drill hole in bottom of bottle, thread lamp through bottle, done."

 

Switch

Although I didn't want to make this project an on-the-nose gaming build, I do have some Sunset Sarsaparilla branded bottle caps, which I wanted to use as the switch. However I don't want the sharp-ish edges of the cap exposed, so I encased it in two-part epoxy resin.

This sat atop a simple toggle push-switch poking through from the bottom of the base.


Assembly

Starting with the stem of the lamp, I drilled a small hole in its side, to thread the fairy lights through.

Then the connector end of the fairy lights are threaded through that hole, and the lights themselves wound fairly tightly around the stem

A second, plain brass, bottle cap was drilled to fit the stem of the lamp, and threaded onto the lead for the main bulb.

This was then attached to the top of the stem, and the lead threaded through.

This assembly was then put into the bottle. Before pushing the bottle cap down entirely, by pinching the end of the fairy lights and then rotating the stem, the lights could be unwound, so that they expanded into the bottle.

At this point the fairy lights were tested (with just battery power) to ensure no wires were broken or damaged during assembly.

 

 

Power

The original lamp runs on regular mains voltage.


However I'd like to reduce it so that I can add some fairy lights in the bottle for some additional lighting.

There exist 12v DC bulbs for the type of fitting this lamp has (E14 SES), which would typically be used in caravans etc. Obviously it's not just a case of switching the bulb over, else the 12v DC bulb will just get destroyed.

So firstly, I'm removing the plug from the lamp, so it's not connected back to direct mains by accident.

I intend to simply use a 12V wall-wart, which the new bulb can be powered directly from.

The fairy lights that I'm using are powered by 2 CR2032 coin cell batteries (6v), so I'll still need to reduce the voltage to power them.

To do this I'm using a LM317 regulator, with 4.7k and 1.5k ohm resistors to create a 5.4v output voltage

I'm also including a small current-limiting diode on the output to the fairy lights for added protection.

Base

The base of the original lamp, aside from a weight, was hollow. I took the base and flattened it into a simple metal disc.  

My router was broken, so had to be
creative with a forstner drill
I took a piece of chestnut wood, and cut a new base from that, hollowing out the enough to recess the original base disc, and house the additional electronics.

 In the top another hole was drilled from the button

The button that the bottle cap will sit on
 




 



End Result


Thursday, 23 September 2021

Fast forwarding boring parts of games

It's becoming more common in gaming, particularly with mobile and free-to-play games, for an action or activity to be limited by real-world time, usually in order to provide a 'nudge' to players to nag them into purchasing loot-boxes or other pay-to-win premium extras.

Moral arguments about the ethics of pay-to-win and loot boxes aside, I find this really annoying. These days, the amount of time that I have available for gaming is ever lower, and arguably, time is the most valuable and scarce resource for everyone - after all, we only have get a certain amount, and can't buy more.

So while I was waiting for some in-game nonsense to finish, I started thinking about how feasible it would be to create a fast-forward for these types of activities in-game.

Yeah, I know, there's a certain irony in getting annoyed at having my time wasted and then spending a good deal of time trying to work around it - but sometimes once I get an idea in my head, I have to see it through.

The game I'm using for this demo is Fallout Shelter. I'm well aware that there are already plenty of documented save file hacks for this game, similar to the Saints Row 3 one that I did a while ago.

However, that's not the approach that I want to take here. I still want to play the game, more-or-less as intended. I just don't want to be kept waiting.

A quick experiment by changing the time on the system the game is running on, shows it to be quite tolerant of the time changes, the screen briefly blacking out while the game mechanics catch up.

The first thing to do is to disable NTP (automatic system time synchronization).


In Windows, this can be done by right-clicking on the time in the task bar, selecting "Adjust date/time", and then setting "Set time automatically" to Off. This will stop the system resetting the clock back to the correct time. Just remember to turn it back on when you're done playing.

To do the time adjustment, I'm using AutoHotKey. AutoHotKey (AHK) is an incredibly versatile scripting language for Windows systems, allowing commands and key macros to be bound, system-wide, to keyboard shortcuts.


The idea is to create a global hot key on the system that I can trigger without leaving the game, whenever I want to speed things up by a certain amount.

As the game is mostly touch/mouse controlled, I've bound the macro to the modifier and arrow keys.

* Ctrl-Shift-Right advances time by 1 minute
* Ctrl-Shift-Left advances time by 15 minutes
* Ctrl-Shift-Down advances time by 30 minutes
* Ctrl-Shift-Up advances time by 1 hour

The script is available on GitHub.


Limitations

The script needs to be run as administrator, as elevated privileges are needed to change the system time. There are ways that this can be avoided, but they require more system changes, so for the purposes of this, it's easier to just right-click and select "Run as Administrator".

The script is pretty basic, and operates simply by adding the numbers - so it's not smart enough to cross hour-thresholds - ie. if you advance by a minute at 11.59, it will attempt (and fail) to set the time to 11.60 - but this is simply overcome by, well, waiting a minute.



Wednesday, 8 August 2018

Drinko Plinko


This is far from an original project - Turns out "Plinko" was popularised by The Price is Right, but I only ever knew it from the drinking related version...

The finished project
 
A post shared by Anthony (@darkmidnight_diy) on


The premise is simple. There's a bottle opener at the top, a field of pins in the middle, and a number of boxes at the bottom. Bottle gets opened, bottle top falls into the field, bounces around the pins, and goes into one of the boxes at the bottom - these usually come with forfeits/suggestions like "Down it", "Take a shot" etc.

The build

The grid was based off a template from a half inch isometric dots.

Use a bottle cap to measure which points should be used and mark them.
Spray glue the template(s) down to the backing board - don't forget to allow space at the top for the bottle opener itself.

Simply place a nail at each point marked on the template, paying attention to keep the nail heights constant.


Once that's done, peel away the template and remove the nails.
Position the backing image as desired, and then replace the nails - you should be able to do this by feeling for the holes under the background image.

The edges are simply mitred and attached to the backing board with glue and brad nails. They had a rebate cut into them to hold the plastic/glass front.


The wood I used was chipboard from some old drawers, so the rebate was already there. I intended to sand down the wood, but in combination with the grey/blue paint I used, it gave a neat faux-concrete look which fit well with the Fallout/post-apocalyptic theme, so I decided to leave it.

The five 'buckets' at the bottom were just small scraps, painted and also attached to the backing with glues and brad nails.
The front is a bit of clear plastic I salvaged from a broken poster frame and cut to size.

Screw the bottle opener into place and all that's left is to decorate.

For the forfeit stickers I found some character images of Fallout characters online, and used the Monofonto font, which is similar to the font used in Fallout, and created the forfeits.
  • Brotherhood of Steel - Cheers! - no forfeit
  • Super Mutant - Take a drink
  • "Glowing One" Ghoul - Take a drink
  • Mirelurk - Down it
  • Deathclaw - Take a shot
These were printed onto clear adhesive vinyl, cut out and stuck to the backing board. In hindsight they could've done with a lighter background to help them stand out (when working with transparencies, it's easy to forget that the white background won't necessarily be there in the end), but live and learn.