Search found 5 matches

by stever1388
Thu Jun 25, 2020 6:29 pm
Forum: Modding interface requests
Topic: Remove/hide weapon slots at bottom-right of screen
Replies: 8
Views: 3271

Re: Remove/hide weapon slots at bottom-right of screen

DaveMcW wrote: ↑Thu Jun 25, 2020 2:44 am

Code: Select all

/c game.player.game_view_settings.show_controller_gui = false
This has the side effect of removing the toolbar too.
Hmmmm interesting. I wonder if a mod could re-create the toolbar then... seems a bit convoluted but might work. I'll look into it. Thanks!
by stever1388
Sat Jun 20, 2020 4:25 pm
Forum: Modding help
Topic: Possible bug? Setting data.raw.recipe["submachine-gun"].hidden = true doesn't hide the recipe
Replies: 2
Views: 1096

Re: Possible bug? Setting data.raw.recipe["submachine-gun"].hidden = true doesn't hide the recipe

Rseding91 wrote: ↑Sat Jun 20, 2020 4:05 pm You aren't setting hidden on the correct section. Those recipes are defined using the difficulties system: https://wiki.factorio.com/Prototype/Recipe#normal
Yep that does the trick. Thanks!
by stever1388
Sat Jun 20, 2020 3:51 pm
Forum: Modding help
Topic: Possible bug? Setting data.raw.recipe["submachine-gun"].hidden = true doesn't hide the recipe
Replies: 2
Views: 1096

Possible bug? Setting data.raw.recipe["submachine-gun"].hidden = true doesn't hide the recipe

I'm working on a mod that hides most military technology and items, and I'm doing that by setting the technologies, recipes, and items to hidden using the following code: -- in data.lua data.raw.recipe["submachine-gun"].hidden = true -- hide the submachine gun from the crafting menus data....
by stever1388
Thu Jun 18, 2020 12:49 am
Forum: Modding interface requests
Topic: Remove/hide weapon slots at bottom-right of screen
Replies: 8
Views: 3271

Re: Remove/hide weapon slots at bottom-right of screen

Can you do a big hack and draw a GUI. Screen something over it? That's probably an option. Unfortunately I'm a programmer not an artist, so I'm not sure what I would put there that would look better than just having empty weapon slots lol. I mean I could probably cover it with a white box but I'm n...
by stever1388
Tue Jun 16, 2020 10:14 pm
Forum: Modding interface requests
Topic: Remove/hide weapon slots at bottom-right of screen
Replies: 8
Views: 3271

Remove/hide weapon slots at bottom-right of screen

I'm trying to hide or remove the weapon slots that appear at the bottom right corner of the screen with a mod. Why? When I play without biters I like to remove all the military aspects from the game - they just clutter things (IMO). I've been working on a personal mod that removes all the military t...

Go to advanced search