Limiting widgets

Limiting widgets

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Limiting widgets

Post by Regret »

Instead of disabling widgets in certain games, it might be worth exploring to just disable widgets from issuing commands/orders to unit. This could include state changes.

I think this could be done quite easily already by overriding the default functions that give orders directly in widgethandler, and forcing that widgethandler to be used.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Limiting widgets

Post by BrainDamage »

there is a command already to block widgets to issue orders, it's called /nohelp

but i guess you want more fine control
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Limiting widgets

Post by Regret »

Brain Damage wrote:there is a command already to block widgets to issue orders, it's called /nohelp

but i guess you want more fine control
A user has to issue that command afaik, I'm talking about the game controlling this behavior.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: Limiting widgets

Post by manolo_ »

so the engine should support certain stuff (like customformations,...) instead of a widget
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Limiting widgets

Post by Regret »

manolo_ wrote:so the engine should support certain stuff (like customformations,...) instead of a widget
Or the limit could apply only to outside-of-game widgets.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Limiting widgets

Post by smoth »

customformation occasionally crashes in gundam.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Limiting widgets

Post by BrainDamage »

uncomment this in engineoptions.lua and it will be shown in the lobby as option
{
key = 'NoHelperAIs',
name = 'Disable helper AIs',
desc = 'Disables possibility for luaui to issue orders',
type = 'bool',
def = false,
},
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Limiting widgets

Post by Regret »

Brain Damage wrote:uncomment this in engineoptions.lua and it will be shown in the lobby as option
Still needs a way to allow mod-side widgets to issue orders.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Limiting widgets

Post by zwzsg »

Regret wrote:Still needs a way to allow mod-side widgets to issue orders.
Maek them gadgets!

Regret wrote:Instead of disabling widgets in certain games, it might be worth exploring to just disable widgets from issuing commands/orders to unit. This could include state changes.
Many people claim that merely giving more info is already an unbearable level of cheatery.

And I don't want a new setting to break widgets. I can see plenty of people getting WTF over widgets not working and then blaming the widget instead of Regret.
Post Reply

Return to “Lua Scripts”