Author Topic: [Tutorial] Create your own relics and charms!  (Read 1588 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 614
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
[Tutorial] Create your own relics and charms!
« on: 05 October 2018, 01:27:50 »
↜ Create your own relics and charms! by WNG ↝

Introduction

Hello! This guide will describe the creation process of the relics and charms. At the end of the tutorial, you will know everything you need to make your custom relics!

I may assume you have some basic knowledge and overlook some manipulations. Feel free to tell me if anything is unclear.

Without further ado, let's get started.

I. Creating the pictures

This step will require:
  • Software for image-editing
    A custom artifact isn't truly "custom" without your own picture. To make one, you will need a software that edit images, such as Photoshop. If you don't own it, GIMP is a free software that will suffice for this task. MS Paint just won't cut it.
  • Charm and Relics canvas
    I have some sweet canvas for you right here; they will be useful for making your new relics/charms : https://www.dropbox.com/sh/bo4920zrg7f0svl/AACferna8UvoT_MJpDDLMxexa?dl=0 (you can also make something different if you wish to)

I. Load your canvas and draw a picture:
If you haven't used such software in the past, you should try out a few tools and experiment. Also, you may use some images as models to get the shape of an item just right. Anyways, we're not here to make work of art.

Save your files when you are done. Very important to save your pictures in .tga/.psd format! Those are the only formats the Art Manager can read.

II. Import your picture in your mod:
Open the Art Manager and select your mod. It will now be time to import your texture into your mod. Before importing it, I'd recommend creating a folder specifically for your custom textures. To do so, right-click on "name_of_your_mod/source > Create New Directory".

Now, select the matching folder, right-click, and select "Import...". Find your texture and select it. It should appear in the menu. Right-click it and choose Auto-Create Asset. You will be prompted to choose between Texture or Bitmap. Choose Bitmap, and proceed by pressing OK.

Spoiler for Hiden:

III. Build your texture:
Your texture isn't quite in your mod yet. You will need to visit the "Assets" tab, and seek your texture in the folder structure, wich should be the same as in your "Source" tab. Right-click on it and choose "Build". When that is done, build your mod by pressing F7. Your texture will now become usable in your mod.

Spoiler for Hiden:

II. Create the relic or charm

Procedure:

I. Create the relic entry:

In the Art Manager, go to the Database tab. Find a spot where you wish to put your relics in. When you found it, right-click > New > Record, and choose the template ItemRelic. You can also copy+paste an existing relic of the game and work from it. In fact, I'd recommend the latter method, since creating a new record out of the blue removes many parameters common to all the relics that you probably won't bother to change.

You are now ready to edit your item! Check the spoilers below to see what is each panel about and wich parameters are worth editing.

General Parameters
Spoiler for Hiden:
Header
File Description : For your eyes only! Leaves a description or a note for the developper. No effect in-game.

Relic Config
Completed Relic Level : Determines how many pieces must be gathered to complete the relic.
Shard Bitmap : Tells the game wich texture to use when the relic is not completed. !!! Modify it to show your own texture !!!
Relic Bitmap : Tells the game wich texture to use when the relic is completed. !!! Modify it to show your own texture !!!
Bonus Table Name : Manages the completion bonuses. We will get to that later...

Relic Qualifiers
This section is filled of booleans that determines wich pieces of equipment your relic can enchant. 1 will allow the enchantement, 0 will not allow it.

Item Parameters
Item Text : This is the description for your relic. We will get to that later...
Item Cost : The value in gold of your relic. Add entries in the array equivalent to the Completed Relic Level set earlier to determine the price for 1 piece, 2 pieces, etc...

Item Requirements
Self-explanatory.

Actor Variables
Description : The name of your relic.
The other parameters are irrelevant for us.

Item's Bonuses Parameters
Spoiler for Hiden:
This is a review of the many (not all!) basic parameters you may set on your item. If you know about those, skip this.
Many of the parameters share the same proprietes. I'll explain them once.

Offensive Parameters
Spoiler for Hiden:
Offensive Global (for offensive bonuses with a global chance (5% of +10% Total Damage, +20% Poison Damage, ...))
Spoiler for Hiden:
  • offensiveGlobalChance : Chance of offensive global effects to occur (choose the effects with booleans in the sections below.)

Offensive Absolute (for flat/percent based damage bonuses)
Spoiler for Hiden:

  • offensiveXMin : Minimum of flat X damage.
  • offensiveXMax : Maximum of flat X damage.
  • offensiveXChance : Chance of the X damage set above to occur.
  • offensiveXXOR : Boolean. Set to 1 to select only one bonus in the global pool.
  • offensiveXGlobal : Boolean. Set to 1 to make the bonus part of the global chance pool.
  • offensiveXModifier : Increases by X% the damage of the selected type.
  • offensiveXModifierChance : Chance of the percent damage bonus to occur.

Offensive Duration (for damage/debuffs over time bonuses)
Spoiler for Hiden:

  • offensiveSlowXMin : Minimum of X damage over time (every second).
  • offensiveSlowXMax : Maximum of X damage over time (every second).
  • offensiveSlowXDurationMin : Minimal duration of the DoT effect.
  • offensiveSlowXDurationMax : Maximial duration of the DoT effect.
  • offensiveSlowXChance : Chance of the X damage over time set above to occur.
  • offensiveSlowXXOR : Boolean. Set to 1 to select only one bonus in the global pool.
  • offensiveSlowXGlobal : Boolean. Set to 1 to make the bonus part of the global chance pool.
  • offensiveSlowXModifier : Increases by X% the damage of the selected type.
  • offensiveSlowXModifierChance : Chance of the percent damage bonus to occur.
  • offensiveSlowXDurationModifier : Increases the duration of the DoT effect by x%.

Offensive Influence (for debuffs for a set duration, such as Confusion, Mind-Control, etc.)
Spoiler for Hiden:
See the above sections, they share similar parameters.
Retaliation Parameters

Spoiler for Hiden:
Retaliation Global (for retaliation bonuses with a global chance (5% of 15 Piercing Retaliation, 20 Elemental Retaliation, ...))
Spoiler for Hiden:
  • retaliationGlobalChance : Chance of retaliation global effects to occur (choose the effects with booleans in the sections below.)
Retaliation Absolute (for flat retaliation bonuses)
Spoiler for Hiden:

  • retaliationXMin : Minimal damage of the retaliation of the set type.
  • retaliationXMax : Maximal damage of the retaliation of the set type.
  • retaliationXChance : Chance of the retaliation to occur.
  • retaliationXXOR : Boolean. Set to 1 to select only one bonus in the global pool.
  • retaliationXGlobal : Boolean. Set to 1 to make the bonus part of the global chance pool.
  • retaliationXModifier : Boosts the damage of the retaliation of X type by a set percent.
  • retaliationXModifierChance : Chance of the percent damage boost to occur.
Retaliation Duration (for DoT retaliation bonuses)
Spoiler for Hiden:

  • retaliationSlowXMin : Minimal damage of the retaliation of the set type (per second.)
  • retaliationSlowXMax : Maximal damage of the retaliation of the set type (per second.)
  • retaliationSlowXDurationMin : Minimal duration of the DoT of the set type.
  • retaliationSlowXDurationMax : Minimal damage of the DoT of the set type.
  • retaliationSlowXChance : Chance of the retaliation to occur.
  • retaliationSlowXXOR : Boolean. Set to 1 to select only one bonus in the global pool.
  • retaliationSlowXGlobal : Boolean. Set to 1 to make the bonus part of the global chance pool.
  • retaliationSlowXModifier : Boosts the DoT of the retaliation of X type by a set percent.
  • retaliationSlowXModifierChance : Chance of the percent DoT boost to occur.
  • retaliationSlowXDurationModifier : Boosts the DoT of X type's duration by a set percent.
  • retaliationSlowXDurationModifierChance : Chance of the percent duration boost to occur.


Defensive Parameters
Spoiler for Hiden:
Defensive Absolute (for resistances bonuses)
Spoiler for Hiden:

  • defensiveX :  Increases resistance to the damage type of by a set percent.
  • defensiveXChance : Chance of the resistance to the damage type of by the percent set above.
  • defensiveXModifier :  Increases the resistance bonus by a set percent.
  • defensiveXModifierChance : Chance of the resistance bonus to the damage type by the percent set above.
  • defensiveXDuration : Same as above, for the matching DoT.
  • defensiveXDurationChance : Same as above, for the matching DoT.
  • defensiveXDurationModifier : Same as above, for the matching DoT.
  • defensiveXDurationModifierChance : Same as above, for the matching DoT.
Defensive Special (for resistances versus certain DoTs)
Spoiler for Hiden:
    See the Defensive Absolute section, they share similar parameters.
Defensive Misc (for blocking/reflecting bonuses)
Spoiler for Hiden:
    See the Defensive Absolute section, they share similar parameters.
Defensive Influence (for secondary resistances)
Spoiler for Hiden:
    See the Defensive Absolute section, they share similar parameters.
Monster Defense (for tertiary resistances)
Spoiler for Hiden:
    See the Defensive Absolute section, they share similar parameters.

Character Parameters
Spoiler for Hiden:
Character Base Attributes (Is irrelevant, do not touch.)
Spoiler for Hiden:
    No need to touch this.
Character Bonus Attributes (for direct stats bonuses)
Spoiler for Hiden:

  • characterStrenght : Flat strenght increase.
  • characterDexterity : Flat dexterity increase.
  • characterIntelligence : Flat intelligence increase.
  • characterLife : Flat health points increase.
  • characterMana : Flat energy points increase.
  • characterStrenghtModifier : Percent strenght increase.
  • characterDexterityModifier  : Percent dexterity increase.
  • characterIntelligenceModifier  : Percent intelligence increase.
  • characterLifeModifier  : Percent health points increase.
  • characterManaModifier  : Percent energy points increase.
  • characterIncreasedExperience  : Increases experience gained.
  • characterPhysToElementalRation  : x% converted to elemental damage.
Character Speed (for speed bonuses)
Spoiler for Hiden:

  • characterRunSpeed : Increases base run speed. Unused at this date.
  • characterAttackSpeed : Increases base attack speed. Unused at this date.
  • characterSpellCastSpeed : Increases base spell cast speed. Unused at this date.
  • characterRunSpeedModifier : Increases run speed by x%.
  • characterAttackSpeedModifier : Increases attack speed by x%.
  • characterSpellCastSpeedModifier : Increases spell cast speed by x%.
  • characterTotalSpeedModifier : Increases total speed by x%.
Character Regeneration (for regeneration bonuses)
Spoiler for Hiden:

  • characterLifeRegen : Increases health regeneration by a flat amount.
  • characterManaRegen : Increases energy regeneration by a flat amount.
  • characterLifeRegenModifier : Increases health regeneration by a percent amount.
  • characterManaRegenModifier : Increases energy regeneration by a percent amount.

Character Ability (for dodge/critical hit bonuses)
Spoiler for Hiden:

  • characterOffensiveAbility : Increases OA by a flat amount.
  • characterDefensiveAbility : Increases DA by a flat amount.
  • characterOffensiveAbilityModifier : Increases OA by a percent amount.
  • characterDefensiveAbilityModifier : Increases DA by a percent amount.
  • characterDefensiveBlockRecoveryReduction : Reduces shield recovery time.
  • characterEnergyAbsorptionPercent : Recovers energy when hit by spells by percent amount.
  • characterDodgePercent : Increases melee attack dodge chance.
  • characterDeflectProjectile : Increases projectile dodge chance.

Character Reserve (for mana reservation reduction bonuses)
Spoiler for Hiden:

  • characterManaLimitReserve : Not quite sure...
  • characterManaLimitReserveReduction : Decreases energy reserved by a flat amount.
  • characterManaLimitReserveModifier : Not quite sure...
  • characterManaLimitReserveReductionModifier : Decreases energy reserved by a percent amount.

Requirement Reduction (for requirement reduction bonuses)
Spoiler for Hiden:

Self-explanatory. Also, you do NOT need to add the negative.

Skill Parameters (for bonuses that regard spells)
Spoiler for Hiden:
Skill Reduction (for reduced recharge and mana costs)
Spoiler for Hiden:

  • skillCooldownReduction  : Flat cooldown reduction.
  • skillCooldownReductionChance : Chance of flat cooldown reduction.
  • skillManaCostReduction : Flat mana cost reduction.
  • skillManaCostReductionChance : Chance of flat mana cost reduction.
  • skillCooldownReductionModifier : Percent cooldown reduction.
  • skillCooldownReductionModifierChance : Chance of percent cooldown reduction.
  • skillManaCostReductionModifier : Percent mana cost reduction.
  • skillManaCostReductionModifierChance : Chance of percent mana cost reduction.
Projectile Bonus (for projectile speed)
Spoiler for Hiden:
  • skillProjectileSpeedModifier  : Percent increase of the projectile speed.
  • skillProjectileSpeedModifierChance : Chance of percent increase of the projectile speed.
Skill Augment (boosts or grants skills)
Spoiler for Hiden:

  • augmentSkillName1  : The database entry of the skill you wish to boost. (ex.: records\skills\stealth\envenomweapon.dbr)
  • augmentSkillLevel1  : Level by wich the skill above is increased.
  • augmentSkillName2  : The database entry of ANOTHER the skill you wish to boost.
  • augmentSkillLevel2  : Level by wich the skill above is increased.
  • augmentMasteryName1  : The database entry of a mastery you wish to boost all of its skills.
  • augmentMasteryLevel2  : Level by wich the skills of the mastery above is increased.
  • augmentMasteryName2  : The database entry of ANOTHER mastery you wish to boost all of its skills.
  • augmentMasteryLevel2  : Level by wich the skills of the mastery above is increased.
See this for masteries names :
Spoiler for Hiden:
  • Warfare : records\skills\warfare\warfaremastery.dbr
  • Defense : records\skills\defensive\defensivemastery.dbr
  • Rogue : records\skills\stealth\stealthmastery.dbr
  • Hunting : records\skills\hunting\huntingmastery.dbr
  • Dream : records\xpack\skills\dream\dreammastery.dbr
  • Nature : records\skills\nature\naturemastery.dbr
  • Earth : records\skills\earth\earthmastery.dbr
  • Storm :records\skills\storm\stormmastery.dbr
  • Runes : records\xpack2\skills\runemaster\runemaster_mastery.dbr
  • Spirit :records\skills\spirit\spiritmastery.dbr
  • augmentAllLevel : Level by wich all skills should be increased.
  • itemSkillName : See the part IV.
  • itemSkillLevel : See the part IV.
  • itemSkillAutoController : See the part IV.
Racial Bonus (for increased offense/defense versus certain races)
Spoiler for Hiden:

  • racialBonusRace  : Races that will be affected by the bonuses below. You can have as many as you like.
  • racialBonusPercentDamage  : Percent damage increase versus the race.
  • racialBonusAbsoluteDamage  : Flat damage increase versus the race.
  • racialBonusPercentDefense  : Percent reduced damage received from the race.
  • racialBonusAbsoluteDefense  : Flat reduced damage received from the race.
Pet Bonus (for bonuses to all pets)
Spoiler for Hiden:
  • petBonusName  : Select a pet bonus for the item. May explain the creation of one of these later.

The parameters above regard the base bonuses of your relic. You will want to edit at least one parameter, unless you want your relic to do absolutely nothing (you could!). For this example, I will make something really basic and make a relic that boosts Physical Damage.

Spoiler for Hiden:

Here you will need to input values for every stage of your relic (1 piece, 2 pieces, etc...) up to its maximum value. This relic is completed at 3 pieces, so I put 3 entries. The values can be set in a non-linear fashion if you wish.

Edit the bonuses of your choice until you are satisfied. When you are, save your work.

Check out the next post to finish the tutorial.
« Last Edit: 05 October 2018, 13:27:58 by WNG »

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 614
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create your own relics and charms!
« Reply #1 on: 05 October 2018, 01:28:03 »

II. Create completion bonuses:

Completion bonuses are essential to make a good relic or charm. For those who followed my artifact-making tutorial, creating those is just as easy. Right-click on the right portion of the Art Manager, and select New > Record. Open your new record, and set its template to "lootrandomizer.tpl".

Spoiler for Hiden:

Just like you edited the bonuses for your relics moments ago, do the same for your bonuses. Create and edit as many as you wish, but do not forget to save them and build them too.

When this is done, create another record, this time with this following template : "lootrandomizertable.tpl". Open it, and insert your freshly-made bonuses in the "randomizerNameX" spaces.

Spoiler for Hiden:

Below every "randomizerNameX", there is a "randomizerWeightX". This is used to determine how often will a bonus appear. The value will be a flat chance of the matching bonus to appear. Edit this file as you see fit, then save it, build it, and build your mod.

Once this is all done, retrieve your relic file and insert your lootable full of completion bonuses in Relic Config > Bonus Table Name. Save, and build your relic.

III. Add a custom description:

Our work is not done yet! We have yet to include a fancy description to go along our relic or charm. For this step, we will need to open our Modstrings.txt. This file contains all the texts from your mod. You can find it in the Source Tab. Double-click on it to edit it.

To first add text to your item, you will need to use a tag (for example, "relic_1_Desc".) You will use this tag as a reference for your relic description. It is quite useful if you need to edit for whatever reason a piece of text you used in several places.

Following your tag, put a "=" and then the text you wish to be displayed in the player's inventory.

Spoiler for Hiden:




You will probably notice I used some text codes. This is for the text to look just like the other relic descriptions. {^n} breaks a line, and {^y} changes the color in yellow. For more informations regarding those text codes, visit this page : http://titanquest.wikia.com/wiki/Modstrings.txt

Once your text is done, save your Modstrings.txt, and build its asset. Then, open your relic file and insert your tag in Item Parameters > Item Text. Following my example, I would put "relic_1_Desc". Save your file, build it.

IV. Make an Epic and Legendary version:

Now that our relic is completed, we can now create its superior versions. To do so, copy and paste your relic file (you may want to rename them proprely, too.) Open those new records and make sure to edit the following parameters:

Spoiler for Hiden:

General Parameters
Spoiler for Hiden:
Relic Config
Shard Bitmap : Set the texture of your epic/legendary uncompleted relic.
Relic Bitmap : Set the texture of your epic/legendary completed relic.
Bonus Table Name : Your new relic is likely going to use another table of stronger completion bonus. You should copy paste your other records and change the necessary values to accelerate the process.

Item Parameters
Item Cost : Your upgraded relic might cost more gold.

Item Requirements
You may want to increase the level requirement.

Actor Variables
Description : Update the name of your relic or charm to differentiate it.

Item's Bonuses Parameters
Increase the values of the bonuses you have set earlier to conceive bonuses fitting the Epic and Legendary difficulty.

Save them, build them, and they are now ready to be used in your mod!

Tags:
 


SimplePortal 2.3.7 © 2008-2020, SimplePortal