QuestionSolvedWeapon Tier (FSOD)

Posts 1–8 of 8 · Page 1 of 1
Weapon Tier (FSOD)
How do you add more weapon tiers, armor tiers etc into fabiano source?
add a few things to your xmls and a few thing server sided and in your client added your tier (name/color/size/ etc.) ( breif explanation) ( mostly client sided )
@059 @Ahl @Raple

wrong section
Moved to correct section
Quote Originally Posted by MrHiJaB View Post
How do you add more weapon tiers, armor tiers etc into fabiano source?
pretty easy, on the item, you just change the tier to 15 or 14 or something.
Quote Originally Posted by Moorz View Post
pretty easy, on the item, you just change the tier to 15 or 14 or something.
Ye I know that, but I meant like ST and UT's. MAking an own special Tier
Quote Originally Posted by MrHiJaB View Post
Ye I know that, but I meant like ST and UT's. MAking an own special Tier
oh my bad i didnt understand, for that i do not know, i know how to set an item to UT or ST status but i dont know how to make a new one, sry
METHOD USES AS3

The method below isn't the only way to achieve this, however it is pretty simple.

First of all assign your item XML you want to be this tier with an identifier of sorts, such as when assigning an item with a setType. It should look similar to the one below:

Code:
<Object type="0x1600" id="Example Item" example="EX">
Once you have added this code to your item XML in both your client as well as your dat1 file in your solution (You can rebuild you server solution at this point as you will no longer need it), navigate to src\com\company\assembleegameclient\ui\tooltip\Equ ipmentToolTip.as in your client. Then scroll down until you find the code below: (Replace (at) with the symbol)

Code:
if (this.objectXML.hasOwnProperty("(at)setType")) {
                    this.tierText.setColor(0xFF9900);
                    this.tierText.setStringBuilder(new StaticStringBuilder("ST"));
                }
Underneath that code is where you begin to define what example="EX" does to your item. Your code which you put underneath the code above should look similar to the code below (Replace (at) with the symbol):
Code:
else if (this.objectXML.hasOwnProperty("(at)example"))
                {
                    this.tierText.setColor(1040368);
                    this.tierText.setStringBuilder(new StaticStringBuilder("EX"));
                }
This will mean every time you put example="EX" next to an item's id it will display EX as the tier, you are able to change the color of your tier by changing the setColor and what the tier is named/displays by changing "EX" to something else. After you have everything as you want it, Save All and Rebuild your project.
Quote Originally Posted by DreadTitan View Post
METHOD USES AS3

The method below isn't the only way to achieve this, however it is pretty simple.

First of all assign your item XML you want to be this tier with an identifier of sorts, such as when assigning an item with a setType. It should look similar to the one below:

Code:
<Object type="0x1600" id="Example Item" example="EX">
Once you have added this code to your item XML in both your client as well as your dat1 file in your solution (You can rebuild you server solution at this point as you will no longer need it), navigate to src\com\company\assembleegameclient\ui\tooltip\Equ ipmentToolTip.as in your client. Then scroll down until you find the code below: (Replace (at) with the symbol)

Code:
if (this.objectXML.hasOwnProperty("(at)setType")) {
                    this.tierText.setColor(0xFF9900);
                    this.tierText.setStringBuilder(new StaticStringBuilder("ST"));
                }
Underneath that code is where you begin to define what example="EX" does to your item. Your code which you put underneath the code above should look similar to the code below (Replace (at) with the symbol):
Code:
else if (this.objectXML.hasOwnProperty("(at)example"))
                {
                    this.tierText.setColor(1040368);
                    this.tierText.setStringBuilder(new StaticStringBuilder("EX"));
                }
This will mean every time you put example="EX" next to an item's id it will display EX as the tier, you are able to change the color of your tier by changing the setColor and what the tier is named/displays by changing "EX" to something else. After you have everything as you want it, Save All and Rebuild your project.
Thanks for trying to help me with this, but I really don't understand how to turn this into fabiano's. I found the file, but the coding seems to be so different :/
Sorry for being a total noob rn, but I am xD
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?