02-18-2013, 06:32 AM
Hi. I've been trying to mod Xonotic a bit, and the weapons and such seem pretty easy with the variables available, but I've had to go into modifying qc files for other things. The Inside3D tutorials seem to work with a little modification (and compensating for relocation and renaming of a lot of things).
However, I've run into the problem. I believe I need a gui interface for an "Inventory menu" I'm trying to same, to select your starting weapons, packs, armor/health level, etc. I would need sliders, tabs, etc. what's available in the regular Xonotic settings, including a config file. The problem lies in that most of the gui interface files I've looked at seem very specific and absolute. I can't seem to borrow code from them, and I'm not sure how to integrate the non-specific elements in a gui. There is one tutorial about replacing the in-game gui interface, but nothing about adding a menu, sliders, checkboxes, etc. Can someone give me some pointers on how to go about adding a new gui "inventory" menu?
Furthermore, can the inventory stuff I mentioned be integrated into a mutator, because I'm changing the code where it is atm?
And also, I've been searching for info on what armor really does, and I can't find anything about it. It doesn't exactly seem to behave exactly like health. What exactly does it help with, other than help prevent dying? How exactly?
Thanks for any assistance and info.
However, I've run into the problem. I believe I need a gui interface for an "Inventory menu" I'm trying to same, to select your starting weapons, packs, armor/health level, etc. I would need sliders, tabs, etc. what's available in the regular Xonotic settings, including a config file. The problem lies in that most of the gui interface files I've looked at seem very specific and absolute. I can't seem to borrow code from them, and I'm not sure how to integrate the non-specific elements in a gui. There is one tutorial about replacing the in-game gui interface, but nothing about adding a menu, sliders, checkboxes, etc. Can someone give me some pointers on how to go about adding a new gui "inventory" menu?
Furthermore, can the inventory stuff I mentioned be integrated into a mutator, because I'm changing the code where it is atm?
And also, I've been searching for info on what armor really does, and I can't find anything about it. It doesn't exactly seem to behave exactly like health. What exactly does it help with, other than help prevent dying? How exactly?
Thanks for any assistance and info.