General > Discussion

Help with the modding

<< < (5/6) > >>

cevaralien:
That is!

I have a research.ufo files outside of the 0ufo.pk3 files. I deleted it and the game works. Thanks DarkRain.

cevaralien:
Hi again.

I want to mod the character inventory places. For example, i want to move the holster more to left. How can i make it?

Another question; when i load the game, my graphic and sound settings returns to default. I tried to change the config files, but it's useless. What is happening?

Thanks

cevaralien:
The problem with the config is solved. I give change the permissions to the .ufoai folder (hidden folder in /home).

I don't know how to move the inventory spaces yet.

DarkRain:
For this you'll need to find the containers in the UI script files (located in base/ufos/ui) note that you'll need to make your changes in several of these files as each UI window is defined separately, for example inv_stat.ufo contains the inventory window used in battlescape while equipment.ufo is the one used for soldier equipment in base — I think.

Also you should know that some of these files are written in the LUA programming language rather than the usual ufoscript.

While changing just the position shouldn't be hard you might want to check the docs about menu (UI) definitions and UI lua scripting linked from http://ufoai.org/wiki/UFO-Scripts, if you also want to mod the shape of the container check the inventory definitions doc at the same place

cevaralien:
Wow! It's a lot of info! It's seems complicated. I was thinking about reduce the inventory shape of the holster (i do it with the backpack) and do a new one for ammo clips, but, i need more reading about.

Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version