User Interface

Added by patodeborracha almost 7 years ago

i change outgame_select.xml in data gamedev, repack it with bnp make and not change in client test... how i do?

ty


Replies (15)

RE: User Interface - Added by siredblood almost 7 years ago

Same result.

I edited the login, then when i got to outgame_select.xml for the character selection, no matter what i did, had no effect on the client. After about 45 min of wtf thinking to myself... i decided to delete 1/2 the page, repake it... nothing.

Any tips would be great. Its almost as if the outgame_select.xml is not the corrent name of the file.

I double checked the log, it is being packed.

Thanks

RE: User Interface - Added by nimetu almost 7 years ago

I believe outgame_*.xml files are replaced with out_v2_*.xml files.

RE: User Interface - Added by sfb almost 7 years ago

Hey all,

Just an FYI that you can place the XML in the client's 'user' folder. The 'user' folder is loaded into CPath with precedence over 'data' and the BNPs. This way you can edit the XML directly and not repack the BNP until you are done.

Also the files used are, as nimetu points out, the v2 files. You can see what files are in use by opening up client_default.cfg and pulling up the XMLOutGameInterfaceFiles config variable. In here you'll see out_v2_select.xml listed.

Thanks!
sfb
/s

RE: User Interface - Added by siredblood almost 7 years ago

thanks for the reply! Good tips

Crazy... looks like there was some junk left behind in the code for us to sift through ;) ... guess we dont need outgame_select ...

Thanks again!

RE: User Interface - Added by rukotaa almost 7 years ago

Hmm I've been editing the login xml files, does anyone know how to change the text/font of the Login, Password? Also with the green background behind the create account button etc, is this a texture editable in photoshop?

RE: User Interface - Added by nimetu almost 7 years ago

rukotaa wrote:

Hmm I've been editing the login xml files, does anyone know how to change the text/font of the Login, Password? Also with the green background behind the create account button etc, is this a texture editable in photoshop?

textures used by login screen are in texture_interfaces_v3_login.tga file and coordinates for bitmaps are in texture_interfaces_v3_login.txt file. ie texture atlas.
interfaces.bnp file has those.

Font I believe is in login_config.xml (ryzom.ttf)

RE: User Interface - Added by sfb almost 7 years ago

rukotaa and nimetu,

Please bear in mind that the texture atlas and coordinates are generated by the build_interface program.

Thanks,
sfb
/s

RE: User Interface - Added by rukotaa almost 7 years ago

Thanks,

Where does hardtext find it's data? I'd like to change the text on the screen, where does it get this? hardtext="uiExitLogin" the uiExitLogin part these are in the xml files

RE: User Interface - Added by sfb almost 7 years ago

rukotaa,

This borders on the internationalization conversation. (; The short answer is that it uses the uxt files which are prefixed by the two letter international language code. Examples: en.uxt, fr.uxt, ru.uxt. The format of these files is pretty simple:

uiExitLogin    [Exit]

Thanks,
sfb
/s

RE: User Interface - Added by rukotaa almost 7 years ago

Ah there we go, thanks again :)

RE: User Interface - Added by rukotaa almost 7 years ago

How does build_interface_r tool work? whenever I run it cmd promt appears then disappears? I want to change my button shapes/texture.

RE: User Interface - Added by sfb almost 7 years ago

rukotaa,

I run 0_build.py in the build_gamedata process and it runs it downstream. I don't know more than that. Sorry!

Thanks,
sfb
/s

RE: User Interface - Added by rukotaa almost 7 years ago

hmm not sure what you mean by the build_gamedata process. I have downloaded the Nel_tools folder on the site, which gives me a folder of 49 apps, 15 cfg files, 8 .dll files, 1 file, 1 txt document called log. some of these don't even open I.e the cmd promt, some of them display app stopped to display this report error. I think these tools are supposed to be in a directory of the client folder?

RE: User Interface - Added by sfb almost 7 years ago

rukotaa,

The build_gamedata process automates the process of mass-exporting objects from 3DSMAX, building the native data (some things need to be crunched and optimized before used with the game), and creating a runnable client. It is the build_gamedata tree from code/nel/tools/build_gamedata plus the Ryzom Core workspace from code/ryzom/tools/build_gamedata. Then you run 0_setup.py and tell it where to find things (sheets, tools, etc).

Thanks,
sfb
/s

RE: User Interface - Added by rukotaa almost 7 years ago

Ok I ran the setup.py file is this needed?

I ran into this problem on the second line: Secondary Tool Directory <C:/ryzom/code/tools/>:
When I look into my ryzom/code/ there is only a tool folder not tools, I do however have this C:/ryzom/code/ryzom/tools/ is this the folder?

Then again on workspace directory <C:/ryzom/code/tools/build_gamedata/workspace>: I don't have a tools folder after code but a tool folder. There is no build_gamedata but there is in C:/ryzom/code/ryzom/tools/build_gamedata/workspace. Should I be changing these values? My installs are fresh installs. If I want to change the directory on the python prompt how would I type the new directory?

Is all this even needed?

(1-15/15)