Page 1 of 1

Difference between LUA Widget and LUA Gadget

Posted: 01 Mar 2010, 23:02
by Wolfword
(This is eating my head)

What is the difference between a LUA Widget and a LUA Gadget? Cause, everytime that I use the word "LUA Widget" in a post, Argh tells me that it should be a Gadget and not a Widget.

(I would be happy if Argh answers this...) 8)

Re: Question

Posted: 01 Mar 2010, 23:06
by Pxtl
Widget = client side code that interacts with the game as a player does - for example, the metal-maker widget turns your makers on and off for you. You can use whatever widgets you want on the client, other players don't know about it.

Gadget = game-side code that interacts with the game as a god, changing the rules as it sees fit. For example, in CA you have units that can jump. A gadget makes them jump. These must be built-in to the mod you're playing.

In short, is it using interface and commands? It's a widget. Is it actually changing the game? It's a gadget.

Oh, and next time use a subject heading that actually contains information about what you're asking.

Re: Question

Posted: 01 Mar 2010, 23:07
by Wolfword
Thanks Pxtl. I will take that in mind.

Hey, you are developing Hardcore Annihilation, right?

Re: Question

Posted: 01 Mar 2010, 23:09
by Pxtl
Wolfword wrote:Thanks Pxtl. I will take that in mind.

Hey, you are developing Hardcore Annihilation, right?
In that I made it, yes. In that I haven't touched it in a year or two, no.

Re: Question

Posted: 02 Mar 2010, 12:41
by hoijui
btw, do never title a topic with "Question". in this case "difference between Lua Widget and Gadget" would be a sensible choice. please consider renaming the topic/changing the title.

Re: Difference between LUA Widget and LUA Gadget

Posted: 03 Mar 2010, 11:06
by Forboding Angel
Also, wrong forum.