Search found 5 matches

by ARS
Sat Nov 12, 2016 3:44 am
Forum: Ideas and Suggestions
Topic: Allow keybinds on second action bar, eliminate swapping
Replies: 1
Views: 1488

Allow keybinds on second action bar, eliminate swapping

The current keybinding is kludgy, to the point that I pretty much only use my alternate actionbar for storage. I never ever swap the bars. Instead of having to swap the bars, it would be an absolute dream if we could simply bind all 20 slots to different key combinations. I searched a lot of permuta...
by ARS
Tue Aug 16, 2016 8:03 pm
Forum: Modding help
Topic: How do I override a base function?
Replies: 6
Views: 1968

Re: How do I override a base function?

Okay, right, but you have to register them first. That's the key. I was thinking of them as... sort of entities of their own. I'm not super familiar with LUA, I come from Java/Scala/C#/etc. I was thinking of the whole top level as a single scope that would load all the functions prior to calling the...
by ARS
Tue Aug 16, 2016 7:53 pm
Forum: Modding help
Topic: How do I override a base function?
Replies: 6
Views: 1968

Re: How do I override a base function?

Okay, that makes sense. Kinda sound more like macros than functions then. Can you call functions from in-game? I'm guessing no?
by ARS
Tue Aug 16, 2016 7:38 pm
Forum: Modding help
Topic: How do I override a base function?
Replies: 6
Views: 1968

Re: How do I override a base function?

Thanks for the hasty reply, that's what I'm looking at now. However, it is used in about 5 different places, it seems quite silly to muck around with the specific outcomes of the function call than to merely change the function, and the feature I'm looking for strikes me as rather fundamental. Is th...
by ARS
Tue Aug 16, 2016 7:23 pm
Forum: Modding help
Topic: How do I override a base function?
Replies: 6
Views: 1968

How do I override a base function?

Pulling my hair out at my failure to find an answer to this anywhere. So fundamental a programming question in a game that allows programmed mods seems like it should be answered *everywhere*, but I can't figure it out. In the file base/prototypes/entity/demo_enemy_autoplace.lua, there is the functi...

Go to advanced search