924
editsAd placeholder
Modding:Editing Equipment.txt: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
Copy the Equipment.txt from the first Generated folder to this newly created one. This new Equipment.txt will overwrite the base game settings for equipment. | Copy the Equipment.txt from the first Generated folder to this newly created one. This new Equipment.txt will overwrite the base game settings for equipment. | ||
== Editing Equipment.txt == | == Editing Equipment.txt - Removing equipment == | ||
Before making any changes, we recommend making a copy of the Equipment.txt and naming it something like "Equipment - OG Copy.txt". This is so you can easily revert back to the default later if you so choose. | Before making any changes, we recommend making a copy of the Equipment.txt and naming it something like "Equipment - OG Copy.txt". This is so you can easily revert back to the default later if you so choose. | ||
Line 94: | Line 94: | ||
The concept is the same for any class. Keep in mind that some classes have subclasses that each have their own unique equipment set, such as Sorcerer and Paladin. You will need to locate the specific subclass you want to change. | The concept is the same for any class. Keep in mind that some classes have subclasses that each have their own unique equipment set, such as Sorcerer and Paladin. You will need to locate the specific subclass you want to change. | ||
{{Modding navbox}} | |||
==Editing Equipment.txt - Adding/changing equipment== | |||
But what if you want to change the equipment or add new equipment instead of removing it? Well, here's where you'll have to trawl through the game files to find the right UIDs... or you can just check the Wiki to see if they have it. For example, let's say we want to put [[Armour of Landfall]] on our Barbarian, and give them a [[Greatsword +1]]. We visit those wiki pages and find that the UID for the outfit is <code>MAG_Druid_Land_Magic_Leather_Armor</code> and the UID for the weapon is <code>WPN_Greatsword_1</code>. | |||
Now we just add these entries to our Barbarian:<syntaxhighlight lang="xml"> | |||
new equipment "_PC_Equipment" | |||
new equipment "EQP_Unarmed" | |||
add initialweaponset "Melee" | |||
new equipment "EQP_CC_Barbarian" | |||
add initialweaponset "Melee" | |||
add equipmentgroup | |||
add equipment entry "WPN_Greatsword_1" | |||
add equipmentgroup | |||
add equipment entry "MAG_Druid_Land_Magic_Leather_Armor" | |||
<!-- file continues --> | |||
</syntaxhighlight> | |||
Now our Barbarian spawns in wearing the Armour of Landfall and with a Greatsword +1 on their back.{{Modding navbox}} |