Author Topic: Making a GUI to work with VCE and other events  (Read 1510 times)

Is this possible?  I've started doing a little work into making GUIs, and i want to know if its possible to control events, such as VCE, with GUIs.

You can do it i think

How's that clan corporation thing going

You can do it i think

How's that clan corporation thing going

I decided that further building of it would be a waste of time, because my time on blockland is limited even further this upcoming school year.

I decided that further building of it would be a waste of time, because my time on blockland is limited even further this upcoming school year.
Oh what about the games


the event gui is a gui itself.

i don't know what you mean, and this should probably be in S&R... i could be wrong.

the event gui is a gui itself.

i don't know what you mean, and this should probably be in S&R... i could be wrong.

No no, sorry, guess I wasn't clear

I'm not suggesting or requesting anything.

I'm going to make a GUI(s) for my up coming RPG "Mod" that uses events instead of a City RPG Mod.  The first GUI I need to make is a newspaper looking GUI where you can select your job, this is because I don't have /help list job-I don't feel like putting onpassword events on every baseplate, varlinks occasionally don't work an don't look pretty, and I want to try making a GUI.  What I'm asking is, if I make a GUI, can I put buttons on to that trigger certain events to happen, or, more specifically, modify variables?
« Last Edit: July 12, 2012, 11:43:01 PM by Gen. Hothauser »

No no, sorry, guess I wasn't clear

I'm not suggesting or requesting anything.

I'm going to make a GUI(s) for my up coming RPG "Mod" that uses events instead of a City RPG Mod.  The first GUI I need to make is a newspaper looking GUI where you can select your job, this is because I don't have /help list job-I don't feel like putting onpassword events on every baseplate, varlinks occasionally don't work an don't look pretty, and I want to try making a GUI.  What I'm asking is, if I make a GUI, can I put buttons on to that trigger certain events to happen, or, more specifically, modify variables?
yes, but it's not exactly as easy as you're probably thinking.

actually i'm not positive how, i know you need some /commands and other things... all possible, not sure how it ties together.

No no, sorry, guess I wasn't clear

I'm not suggesting or requesting anything.

I'm going to make a GUI(s) for my up coming RPG "Mod" that uses events instead of a City RPG Mod.  The first GUI I need to make is a newspaper looking GUI where you can select your job, this is because I don't have /help list job-I don't feel like putting onpassword events on every baseplate, varlinks occasionally don't work an don't look pretty, and I want to try making a GUI.  What I'm asking is, if I make a GUI, can I put buttons on to that trigger certain events to happen, or, more specifically, modify variables?
GUIs are client sided so you would need a client mod too. GUIs are mean't to call server commands or call client sided functions so you would need server commands that when called trigger a certain event or something.

I recommend not using server commands to call events. I think it would be better to just script the whole thing.

Ok, thanks anyways.

I have some other questions about GUIs.

Can you display variables in the GUIs like HUD prints to?

And is it possible to make a minimap in the GUI without going into paint.net or gimp, I'm saying, is there a way to display a simple image and make it rotate?

Can you display variables in the GUIs like HUD prints to?
Yep. You'll need a client command like this:
Code: [Select]
function clientCmdDoStuff(%var)
{
whatever.setText("My var:" SPC %var);
}
Then in the server sided part do commandToClient(%client, 'DoStuff', %client.var);

And is it possible to make a minimap in the GUI without going into paint.net or gimp, I'm saying, is there a way to display a simple image and make it rotate?
Only if the image is circular.

Only if the image is circular.

But what about movement, couldn't it still be square because the symbol representing the player can still move around the picture.

But what about movement, couldn't it still be square because the symbol representing the player can still move around the picture.
Well I suppose, but it won't look as good.

Ok, how about this.  I know I can take a picture and put it onto a GUI, so what if I took a screenshot from a bird's eye view of my CityRPG, could I the. Put mouse-over buttons on certain buildings to show where places are for food, and other stuff?  It seems like it should be easy.

Ok, how about this.  I know I can take a picture and put it onto a GUI, so what if I took a screenshot from a bird's eye view of my CityRPG, could I the. Put mouse-over buttons on certain buildings to show where places are for food, and other stuff?  It seems like it should be easy.
Yep, I'm pretty sure.