Difference between LUA Widget and LUA Gadget

Difference between LUA Widget and LUA Gadget

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
Wolfword
Posts: 60
Joined: 19 Dec 2009, 14:12

Difference between LUA Widget and LUA Gadget

Post 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)
Last edited by Wolfword on 02 Mar 2010, 20:56, edited 1 time in total.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Question

Post 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.
Wolfword
Posts: 60
Joined: 19 Dec 2009, 14:12

Re: Question

Post by Wolfword »

Thanks Pxtl. I will take that in mind.

Hey, you are developing Hardcore Annihilation, right?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Question

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Question

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Difference between LUA Widget and LUA Gadget

Post by Forboding Angel »

Also, wrong forum.
Post Reply

Return to “Off Topic Discussion”