Re: [Tut] Character Creation *Customize
Could probably add custom character faces this way too. Like, custom ones not normally in gunz.
It seems like there isn't a restriction on it though I only opened the pdb.
I would assume you add onto the default.mrs interface option with the new faces. I already tried adding new models, and MAIET hardcoded a lot of the heroman and herowoman stuff, so the very least you could do is add more options to the dropdown for clothes and faces.
Right here in CharSelect.xml:
Quote:
<LISTITEM selected="true">STR:UI_CC_LIST_02_01</LISTITEM> <!-- 타입1 -->
<LISTITEM>STR:UI_CC_LIST_02_02</LISTITEM> <!-- 타입2 -->
<LISTITEM>STR:UI_CC_LIST_02_03</LISTITEM> <!-- 타입3 -->
<LISTITEM>STR:UI_CC_LIST_02_04</LISTITEM> <!-- 타입4 -->
You could start by enabling the 5th female face; I see nothing in code that is disallowing it.
Or, if you are feeling brave like me, try and get goblins as a playable race on the dropdown alongside male and female. ASM codecaves galore.
Another thing you could do is try using this to implement a class system in GunZ. Say, a medic would start off x items, and you could check in SQL whether the medic would be allowed to buy certain items from the shop. Then, you'd have say a soldier class that is higher dps than the other classes... but can only use certain weapons and can't heal themselves. Would bring a whole new system to gunz. I can't remember what item ID it is, but you can make an error message appear on the client by using a certain item ID, and it won't store it serverside. So it's definitely possible.
Re: [Tut] Character Creation *Customize
Quote:
Originally Posted by
SecretsOThePast
Could probably add custom character faces this way too. Like, custom ones not normally in gunz.
It seems like there isn't a restriction on it though I only opened the pdb.
I would assume you add onto the default.mrs interface option with the new faces. I already tried adding new models, and MAIET hardcoded a lot of the heroman and herowoman stuff, so the very least you could do is add more options to the dropdown for clothes and faces.
Right here in CharSelect.xml:
You could start by enabling the 5th female face; I see nothing in code that is disallowing it.
Or, if you are feeling brave like me, try and get goblins as a playable race on the dropdown alongside male and female. ASM codecaves galore.
Another thing you could do is try using this to implement a class system in GunZ. Say, a medic would start off x items, and you could check in SQL whether the medic would be allowed to buy certain items from the shop. Then, you'd have say a soldier class that is higher dps than the other classes... but can only use certain weapons and can't heal themselves. Would bring a whole new system to gunz. I can't remember what item ID it is, but you can make an error message appear on the client by using a certain item ID, and it won't store it serverside. So it's definitely possible.
Someone had a flashback to my GZ RPG Idea that I gave up on; I got a lot of the SQL done from when I did it I'll toss you it if I can find a backup. I just ran into a lot of hardcoded problems. Oh and fucking Enums.... =[
Re: [Tut] Character Creation *Customize
Quote:
Originally Posted by
DawsonByrd
Someone had a flashback to my GZ RPG Idea that I gave up on; I got a lot of the SQL done from when I did it I'll toss you it if I can find a backup. I just ran into a lot of hardcoded problems. Oh and fucking Enums.... =[
The enums are not the issue, well atleast not entirely. Most of the checks for models at least are
Code:
if (string == "heroman") { something } else { something other (which then it uses the hardcoded herowoman string) }
instead of the sex. Go figure right? The sex is only checked once on the server I believe to see if its not between 0 1 and return false if it is. I already have that removed though in my 2008 matchserver.
The issue i'm fighting with right now is when it loads into a game; the model isn't loaded like period. I have to find out where in code it's storing the choice for that based on sex. In the case of that, the enum is converted into a hex digit which will be easy (when it compiles, it converts all of that stuff into hex anyway.)
Re: [Tut] Character Creation *Customize