Search found 56 matches

by kizrak
Sat Jun 27, 2020 4:07 pm
Forum: Modding interface requests
Topic: Remove/hide weapon slots at bottom-right of screen
Replies: 8
Views: 248

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

Maybe the two plus GUI elements (toolbar and weapon/armor bar?) could be split out in player.game_view_settings ? Just brainstorming πŸ€“ Reference: GameViewSettings.show_controller_gui show_controller_gui :: boolean [Read-Write] Show the controller GUI elements. This includes the toolbar, the selected...
by kizrak
Sat Jun 27, 2020 3:55 pm
Forum: Implemented mod requests
Topic: belt_immunity flag for character
Replies: 3
Views: 178

Re: belt_immunity flag for character

THANKS πŸŽŠβœ¨πŸŽ‰ 0.18.33 !
by kizrak
Thu Jun 25, 2020 12:22 am
Forum: Resolved Problems and Bugs
Topic: ItemPrototypeFlags::always_show
Replies: 2
Views: 93

Re: ItemPrototypeFlags::always_show

Thanks!

Code: Select all

table.insert(flags,"always_show")
works with 0.18.33! ❀
Rseding91 wrote: ↑
Thu Jun 25, 2020 12:16 am
Thanks for the report. It was entered as "always_show" by mistake. I've fixed it for the next release so it's "alwasy-show" like the others.
And hopefully "always-show" instead of "alwasy-show" 😎
by kizrak
Thu Jun 25, 2020 12:14 am
Forum: Resolved Problems and Bugs
Topic: ItemPrototypeFlags::always_show
Replies: 2
Views: 93

ItemPrototypeFlags::always_show

ItemPrototypeFlags::always_show seems to be missing documentation on https://wiki.factorio.com/Types/ItemPrototypeFlags Also, I'm having difficult getting it working... nel8XmR46U.png I'm able to add flags like ItemPrototypeFlags#hidden and they appear to be working. So I believe I'm adding the fla...
by kizrak
Mon Jun 22, 2020 11:14 pm
Forum: Modding interface requests
Topic: LuaGuiElement Transparency | Opacity | Alpha
Replies: 0
Views: 55

LuaGuiElement Transparency | Opacity | Alpha

Hello Engineers! I'm looking for a way to make a LuaGuiElement "frame" transparent (and its children). I'm hoping for some type of dynamic value (that could be changed on the fly). This would allow fade in/out effects/etc. Thanks! -Kizrak Research: OLED-friendly GUI change search transparent|opacity...
by kizrak
Thu Jun 18, 2020 1:30 am
Forum: Modding interface requests
Topic: Remove/hide weapon slots at bottom-right of screen
Replies: 8
Views: 248

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

πŸ‘ I too have a mod that would also benefit from being able to remove (via API or prototype) the armor/weapon/ammo slots from the bottom-right of the screen.

Thanks!
by kizrak
Thu Jun 18, 2020 1:26 am
Forum: Modding help
Topic: Prototype/Sound#aggregation Documentation
Replies: 0
Views: 48

Prototype/Sound#aggregation Documentation

I'm trying to find more detailed documentation/explanation of how to use Prototype/Sound#aggregation aggregation Type: table Table with the following members: max_count - uint32 - Mandatory. progress_threshold - float - Optional. - Default: 1.0 - If count already playing is true, this will determine...
by kizrak
Thu Jun 11, 2020 2:07 am
Forum: Modding interface requests
Topic: Event for on-permissions-changed?
Replies: 4
Views: 238

Re: Event for on-permissions-changed?

I don't want to speak for Kovus , but my current goal just involves tracking permission changes any time the player (or another mod) updates them. In my mod , players do not have a body (like a RTS ) so I'm using permissions to disable crafting/mining/any-type-of-inventory-usage, and basically playe...
by kizrak
Thu Jun 04, 2020 5:14 pm
Forum: Modding interface requests
Topic: Event for on-permissions-changed?
Replies: 4
Views: 238

Re: Event for on-permissions-changed?

local function on_gui_closed(event) local gui_type = event.gui_type if gui_type == defines.gui_type.permissions then log("resetPermissions()") end end script.on_event({ defines.events.on_gui_closed, },on_gui_closed) I'm using this code to detect the permissions window closing. So far from ideal for...
by kizrak
Wed Jun 03, 2020 9:49 pm
Forum: Modding discussion
Topic: Fixing data stage spam
Replies: 39
Views: 1920

cache-prototype-data and hidden settings

This morning I accidentally discovered cache-prototype-data=true stops data spam entirely. It seems to skip over all setting and data stages, only executing them when checksums for settings or mods changed? Correct. :!: ZOMGZ! :o Is there any official documentation for cache-prototype-data ? At the...
by kizrak
Sun May 31, 2020 10:36 pm
Forum: This Forum
Topic: @mention username
Replies: 3
Views: 312

Re: @mention username

Thanks for the replies @Koub and @Jap2.0 !
by kizrak
Sat May 23, 2020 6:16 pm
Forum: Modding interface requests
Topic: Event for on-permissions-changed?
Replies: 4
Views: 238

Re: Event for on-permissions-changed?

Any chance that an event could be raised when the base-game permissions are changed? I leave it up to the author of such a possible event as to whether it would raise with details for every change, or just general updates. I would also love to have this feature!! :D I would not even care if the eve...
by kizrak
Sat May 23, 2020 6:04 pm
Forum: Modding discussion
Topic: Fixing data stage spam
Replies: 39
Views: 1920

Re: Fixing data stage spam

Thank you so much for the feedback @moon69, @Bilka, @Pi-C and @Optera ! :D I'm curious, is there a way to get the Prototype Explorer GUI if my prototypes don't even make it past the loading screen? Maybe I'm really bad at prototyping, but I feel like I spend most of my time working against the valid...
by kizrak
Sat May 23, 2020 5:41 pm
Forum: This Forum
Topic: @mention username
Replies: 3
Views: 312

@mention username

Hello Engineers! Is there a proper way to @mention username someone that generates the orange / pink'ish purple / green highlighting? A quick search revealed phpbb.com , but that makes me think that if these forums aren't using that/similar extension, then there isn't a simple way to tag/auto-link o...
by kizrak
Sat May 16, 2020 11:48 pm
Forum: Modding interface requests
Topic: LuaGameScript.write_file during data.lua
Replies: 2
Views: 96

Re: LuaGameScript.write_file during data.lua

DaveMcW wrote: ↑
Sat May 16, 2020 10:09 pm
Related discussion: viewtopic.php?t=71506
Thanks so much!

Re: Fixing data stage spam
by kizrak
Sat May 16, 2020 11:45 pm
Forum: Modding discussion
Topic: Fixing data stage spam
Replies: 39
Views: 1920

Re: Fixing data stage spam

Per: LuaGameScript.write_file during data.lua I would like the ability to write to a separate file so I don't have to sort through the exact opposite problem of @Rseding91. I don't want my mod's text cluttered with base-game log items and decorations. (Sometimes I want temporal data, so having a non...
by kizrak
Sat May 16, 2020 8:13 pm
Forum: Modding interface requests
Topic: LuaGameScript.write_file during data.lua
Replies: 2
Views: 96

LuaGameScript.write_file during data.lua

Hello Engineers!

I would like something like LuaGameScript.write_file but available during data.lua prototyping phase. I'm aware of log() but that has a lot of noise.

Thank you,
-Kizrak
by kizrak
Tue May 05, 2020 8:42 pm
Forum: Implemented mod requests
Topic: belt_immunity flag for character
Replies: 3
Views: 178

belt_immunity flag for character

Hello Engineers! I would like character/player prototype or API to include a belt_immunity flag please. I understand there are workarounds with Car#has_belt_immunity and Belt_immunity_equipment . I'm kindly asking for a character/player prototype/api flag please, not a car or equipment workaround. I...

Go to advanced search