FOnline Development > Questions and Answers
FOnline SDK - Question
JovankaB:
--- Quote from: Gob on April 17, 2012, 03:30:41 pm ---Ok, I'm in a bit of a dilema here. I don't understand how calculate the position of the buttons in the main menu. I'm trying to make an interface of my own for my client and I want the buttons to be in the top right corner and the login box in the middle. Can someone explain to me how it's done?
--- End quote ---
Interface is defined in Client\data\art\intrface\default.ini
Unfortunately it is a bit tricky, there is no WYSIWYG tool for this, so you have to position elements by editing ini file.
And descriptions in the file are in Russian, as usually with FOnline.
To edit main menu, check out variables that start with "Log", they should be near the top of the file.
For example when you have something like this:
LogName = 80 141 225 158
It's login box. First 2 numbers is (x,y) of top-left corner and 2 last numbers are (x,y) of bottom-right corner.
This is not graphics, it's only invisible object that you can click and type there. Graphics is one background image.
Gob:
Thanks for the help JovankaB ;)
Wipe:
There's also attempt for english interface documentation - WIP as hell, but it's still worth to link (in case some deadly bored modder check this thread :>)
Luther Blissett:
--- Quote from: Wipe on February 19, 2012, 09:17:25 pm ---[...]In fact, simple parser can be done just for practice, without deep knowledge about chosen language. Displaying given object graphic isn't much of a problem too (many .frm loaders around, (including this one ;p)), so all you has to do is stick to the current format.
--- End quote ---
Slightly off topic, but your description makes this sound almost simple - is it feasible that someone could make some kind of really basic "model checker" thing? Something to put one of our 3D test models in a tiny scene, but with the engine lighting etc, next to a 2D comparison sprite, then with the ability to reload / refresh textures?
I imagine it's a little more complex than it sounds by this description - but if it really is a fairly easy little process, this would help a lot with testing the 3D stuff.
To be honest, even a "refresh texture" command in the main game would be a massive benefit.
Sean:
i have a few questions on sdk.
1. How do i make npc's run in real time combat .
2. how do i prevent roll back.
3.how do i make enemies i want hostile.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version