Other > Tools and Modifications

How to build a custom GUI?!?

(1/3) > >>

raynor009:
Id like to know how to build a custom GUI like u guys did i already made the buttons and stuff but how do i replace it in game?Could someone explain it to me please and il provide u with awesome GUI's!

Berko:
Yep.
The game use his resources in .dat file. You can see what is in it with some old software for fallout 2. (you have to get one of them if you want extract files to understand who it works and make your own)
Dat file contain organized file in folders.
To change some of these data you have to recreate the file with his relative path.

Example : You want to change "fixboy.png" and you see it's located in /art/intrface/
If you create this path in the data folder where the game is installed (ex: c:/program files/fonline/data/art/intrface/ ) and you put your version of "fixboy.png" the game will choose your file instead of the file in .dat file.

You can download some interface to see how they works.
Don't have enough time to explain a better post but after that you have some .ini file to configure your interface (to choose the name of your file, their size and position etc etc)
Check default.ini first (good .ini files is now in faction006.dat)

Ulterior:
The problem in modification of this game is that Fonline team took closed source approach. Yes - they rely on old fallout files, which will be closed for another 20-50 years, but they, IMO, made a mistake by releasing closed source of their wrapper-engine.

So you have 2 choices actually. Get the undat - extract critter.dat and master.dat and try to understand the closed-source file structure and scripting. Another choice is to hack the client itself.

I believe guys will provide some kind of interface for modifications in the future, but I dont expect it to be soon.

Nikey646:
We All Kno, We want It now :)


--- Quote from: Ulterior on June 29, 2010, 03:52:40 pm ---I believe guys will provide some kind of interface for modifications in the future, but I dont expect it to be soon.

--- End quote ---

Graf:
It's not that complicated, as you said. A while ago I started writing a wiki-page about GUI modding, so you can track it here. There is a LOT of work, but someday it'll be done ;)

Navigation

[0] Message Index

[#] Next page

Go to full version