Author Topic: [Tutorial] Create a new skill!  (Read 28101 times)

0 Members and 1 Guest are viewing this topic.

Rated 1 time
Excellent

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
[Tutorial] Create a new skill!
« on: 24 November 2019, 01:44:02 »
« Last Rated on: 22 October 2020, 05:15:20 »
↜ Create a new skill! by WNG ↝

Introduction

Hello! This guide will show you how to setup a new skill and learn the different skill templates to have different skills.

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

I. Table of Contents

Attacks

Weapon Attacks

Debuffs

Projectiles

Passives

Movement

Misc/Others

II. Universal skills parameters

Almost every skill in the game has those parameters in common. They include many core parameters of a skill. Any omitted parameter is either irrelevant, strange or I do not know its function.

Also note that any parameter stored in a array needs an entry for each level. If the number of entries is lower than the ultimate level, it will take the highest value. Any parameter stored in a string, boolean or integer/real will remain the same regardless of the level.

I. Skill Config:
Spoiler for Hiden:
skillTier: The tier in the mastery at which the skill is available. Unused by monsters.
skillMasteryLevelRequired: The mastery level necessary to access this skill. Unused by monsters.
skillMaxLevel: The maximum level of the skill, without taking bonus skill points into account.
skillSpecialAnimationName: String of the reference of a Special Animation from the entity's animation table.
skillUltimateLevel: The maximum level of the skill, while taking bonus skill points into account.
excludeRacialDamage: Boolean. Determines whether the skill should take racial bonuses into account or not.
exclusiveSkill: Boolean. Only one exclusive skill can be activated a time.
skillCooldownTime: Recharge time of the skill (in seconds).
skillManaCost: Energy cost of the skill.
distanceProfile: Distance at which the skill can be used.
damageAbsorption: Amount of flat damage absorption granted by the skill.
damageAbsorptionPercent: Amount of percent damage absorption granted by the skill.
allSkillEnhancement: Amount of bonus points granted to all skills by the skill.
notDispelable: Boolean. Determines if this skill can resist Dispelling (Spellbreaker skills.)

II. UI Information:
Spoiler for Hiden:
hideFromUI:  Boolean. If set to 1, hides the skill (buff) from the active effects in the game UI.
skillDisplayName: The name of the skill.
skillBaseDescription: The description of the skill.
skillUpBitmapName: Texture of the skill icon, when inactive.
skillDownBitmapName: Texture of the skill icon, when it is pressed on.
skillConnectionOff: This array contains line segments to create links in the mastery screen.
Spoiler for Hiden:
  • InGameUI\Icons\Skills\SkillBars\SkillBarBottomOff01.tex
  • InGameUI\Icons\Skills\SkillBars\SkillBarConnectOff01.tex
  • InGameUI\Icons\Skills\SkillBars\SkillBarMiddleOff01.tex
  • InGameUI\Icons\Skills\SkillBars\SkillBarTopOff01.tex

skillConnectionOn: Same as above, when a point is invested in the skill. Simply replace "Off" to "On" on every texture name from the array above.
skillConnectionSpacing: Spacing in pixels of each skillConnection. Default value is 62.
isPetDisplayable: Boolean. If attached to a pet, this skill will appear in the tooltip description.

III. Qualifying Weapons:
Spoiler for Hiden:
Booleans. Set to 1 to force the entity to wield the weapon type to use this skill.

IV. Skill Dependancy:
Spoiler for Hiden:
An array of skills that need at least 1 skill point in to use this skill.

V. Parameters:
Due to a limit of characters, please follow this link to another tutorial where you can discover the parameters. (section II, step II) : https://titanquestfans.net/index.php?topic=579.0
« Last Edit: 29 December 2019, 04:51:15 by WNG »

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #1 on: 24 November 2019, 01:46:55 »
skill_attackspell

Description:
This type of skill is a ranged, single-target attack on a unit. It doesn't have any radius, so it can only affect a single target per cast. Example skills include Crosier of Osiris' Soul Drain.

Specific Parameters:
None

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #2 on: 24 November 2019, 01:56:25 »
skill_attackprojectile

Description:
This type of skill is a number of damaging projectile that has customizable propreties. By default, it explodes on contact and hits only one target but can hit more if you edit the explosion radius. Example skills include Thunderball or Volcanic Orb.

Specific Parameters:

Skill Config
Spoiler for Hiden:
skillProjectileName: The .dbr name of the projectile used by your skill.
skillProjectileNumber: Number of projectiles thrown per cast (cannot vary between levels.)
projectileUsesAllDamage: Boolean. If set to 1, the projectile will include weapon damage (as seen with Throwing Knives.)

Projectile Config
Spoiler for Hiden:
projectileExplosionRadius: Explosion radius; when the projectile touches an enemy, it will damage all enemies in the radius specified.
projectileFragmentsName: The .dbr name of the projectile used by the fragments (when your projectiles explodes.)
projectileFragmentsLaunchNumberMin: Minimum amount of fragments to spawn when the projectile explodes.
projectileFragmentsLaunchNumberMax: Maximum amount of fragments to spawn when the projectile explodes.
projectilePiercingChance: Chance of your projectile to pass through enemies.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #3 on: 24 November 2019, 02:00:10 »
skill_attackprojectileburst

Description:
This type of skill is a burst of projectiles thrown in a certain range/angle with the same editable options as the previous projectile skills. Example skills include Throwing Knives or Wash Out.

Specific Parameters:

Skill Config
Spoiler for Hiden:
skillProjectileName: The .dbr name of the projectile used by your skill.
projectileLaunchRotation: Angle in which the projectiles can be thrown.
projectileLaunchNumber: Number of projectiles thrown per cast.
projectileUsesAllDamage: Boolean. If set to 1, the projectile will include weapon damage (as seen with Throwing Knives.)

Projectile Config
Spoiler for Hiden:
projectileExplosionRadius: Explosion radius; when the projectile touches an enemy, it will damage all enemies in the radius specified.
projectileFragmentsName: The .dbr name of the projectile used by the fragments (when your projectiles explodes.)
projectileFragmentsLaunchNumberMin: Minimum amount of fragments to spawn when the projectile explodes.
projectileFragmentsLaunchNumberMax: Maximum amount of fragments to spawn when the projectile explodes.
projectilePiercingChance: Chance of your projectile to pass through enemies.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #4 on: 24 November 2019, 02:09:50 »
skill_attackprojectilering

Description:
This type of skill is a burst of projectiles thrown in a certain range/angle. However, unlike skill_attackprojectileburst, the projectiles aren't thrown in a random angle, but rather spreaded equally in the available range. It is used by some monsters for 360° attacks. However, it is always launched in the direction the character looks and seems to ignore quick cast.

Specific Parameters:

Skill Config
Spoiler for Hiden:
skillProjectileName: The .dbr name of the projectile used by your skill.
projectileLaunchRotation: Angle in which the projectiles can be thrown.
projectileLaunchNumber: Number of projectiles thrown per cast.
projectileUsesAllDamage: Boolean. If set to 1, the projectile will include weapon damage (as seen with Throwing Knives.)

Projectile Config
Spoiler for Hiden:
projectileExplosionRadius: Explosion radius; when the projectile touches an enemy, it will damage all enemies in the radius specified.
projectileFragmentsName: The .dbr name of the projectile used by the fragments (when your projectiles explodes.)
projectileFragmentsLaunchNumberMin: Minimum amount of fragments to spawn when the projectile explodes.
projectileFragmentsLaunchNumberMax: Maximum amount of fragments to spawn when the projectile explodes.
projectilePiercingChance: Chance of your projectile to pass through enemies.
« Last Edit: 25 November 2019, 00:49:54 by WNG »

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #5 on: 25 November 2019, 01:06:00 »
skill_attackprojectileareaeffect

Description:
This type of skill is a single projectile (of type ProjectileAreaEffect.tpl) that hits the ground and leaves a lasting aura behind it to deal various effects. Example skills include Squall and Seal of Fate. You can make the projectile delay if you set up a different interval in the projectile's parameters. Since it is considered a projectile, it will take Chance to Avoid Projectiles into account.

Specific Parameters:

Skill Config
Spoiler for Hiden:
skillProjectileName: The .dbr name of the projectile used by your skill.
skillActiveDuration: Duration of the area effect.

Projectile Config
Spoiler for Hiden:
projectileExplosionRadius: Explosion radius; when the projectile touches an enemy, it will damage all enemies in the radius specified.
projectileFragmentsName: The .dbr name of the projectile used by the fragments (when your projectiles explodes.)
projectileFragmentsLaunchNumberMin: Minimum amount of fragments to spawn when the projectile explodes.
projectileFragmentsLaunchNumberMax: Maximum amount of fragments to spawn when the projectile explodes.
projectilePiercingChance: Chance of your projectile to pass through enemies.
« Last Edit: 26 November 2019, 00:46:41 by WNG »

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #6 on: 25 November 2019, 01:20:25 »
skill_attackprojectilefan

Description:
This type of skill seems similar in appearence to skill_attackprojectilering. However, it doesn't ignore quick cast.

Specific Parameters:

Skill Config
Spoiler for Hiden:
skillProjectileName: The .dbr name of the projectile used by your skill.
projectileLaunchRotation: Angle in which the projectiles can be thrown.
projectileLaunchNumber: Number of projectiles thrown per cast.
projectileUsesAllDamage: Boolean. If set to 1, the projectile will include weapon damage (as seen with Throwing Knives.)

Projectile Config
Spoiler for Hiden:
projectileExplosionRadius: Explosion radius; when the projectile touches an enemy, it will damage all enemies in the radius specified.
projectileFragmentsName: The .dbr name of the projectile used by the fragments (when your projectiles explodes.)
projectileFragmentsLaunchNumberMin: Minimum amount of fragments to spawn when the projectile explodes.
projectileFragmentsLaunchNumberMax: Maximum amount of fragments to spawn when the projectile explodes.
projectilePiercingChance: Chance of your projectile to pass through enemies.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #7 on: 25 November 2019, 01:26:00 »
skill_attackprojectiledebuf

Description:
This type of skill is a projectile that, when hitting an enemy, inflicts a debuff on it. Most of the parameters are setup in the debuff file. Example skills include Ensnare.

Specific Parameters:

Skill Config
Spoiler for Hiden:
buffSkillName: The .dbr name of the debuff skill you wish to apply when the projectile hits an enemy.
projectileNames: The .dbr name of the projectile. It's an array, so you can set a different projectile per skill level to change some elements in it (projectile speed, distance, etc.)
projectileLaunchNumber: Number of projectiles thrown per cast.
projectileLaunchRotation: Angle in which the projectiles can be thrown.
« Last Edit: 26 November 2019, 00:58:31 by WNG »

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #8 on: 26 November 2019, 01:05:16 »
skill_attackbuff

Description:
This type of skill is the casting of a debuff on a single target, similarly to Croisier of Osiris' Soul Drain's targetting. It can only hit one target per cast, hence it ignores any Meter Radius you can apply to it.

Specific Parameters:

Skill Config
Spoiler for Hiden:
buffSkillName: The .dbr name of the debuff skill you wish to apply when you target an enemy.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #9 on: 26 November 2019, 01:06:52 »
skill_attackbuffradius

Description:
This type of skill is the casting of a debuff on an area. Unlike skill_attackbuff, it takes Meter Radius into account. Example skills include Study Prey or Freezing Blast.

Specific Parameters:

Skill Config
Spoiler for Hiden:
buffSkillName: The .dbr name of the debuff skill you wish to apply when you target an area.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #10 on: 26 November 2019, 01:14:20 »
skillbuff_debuf

Description:
This type of buff is a regular debuff file that you can use in skills that use one. Examples of this sort of debuff include Study Prey or Ignite Foe.

Specific Parameters:

Cast Config
Spoiler for Hiden:
skillActiveDuration: Amount of seconds during which the debuff will last.
skillTargetRadius: Meter radius in which the debuff will be cast.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #11 on: 26 November 2019, 01:23:18 »
skillbuff_contageous

Description:
This type of buff is a contageous debuff file that you can use in skills that use one. It's a debuff that can spread to nearby targets like a virus. Examples of this sort of debuff include Plague.

Specific Parameters:

Contageous Config
Spoiler for Hiden:
contagionInterval: Interval, in seconds, between which the debuff can spread to another target.
contagionRadius: Radius inside which the debuff can spread.
contagionLimit: Limit of targets that can catch the debuff per interval.
contagionMaxSpread: Absolute maximum of targets that can suffer the debuff at once.

Cast Config
Spoiler for Hiden:
skillActiveDuration: Amount of seconds during which the debuff will last.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #12 on: 28 November 2019, 02:16:59 »
skillbuff_debuftrap

Description:
This type of buff immobilizes the enemy units affected by it. However, this kind of buff is resisted by bosses (they cannot be affected by it under any circumstances.)

Specific Parameters:

Cast Config
Spoiler for Hiden:
skillActiveDuration: Amount of seconds during which the debuff will last.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #13 on: 29 November 2019, 02:05:28 »
skillbuff_debuffreeze

Description:
This type of buff immobilizes the enemy units affected by it. However, this kind of buff takes Freeze Resistance into account and doesn't affect Boss units. Examples skill include Freezing Blast.

Specific Parameters:

Cast Config
Spoiler for Hiden:
skillActiveDuration: Amount of seconds during which the debuff will last.
skillTargetRadiusn: Meter radius in which the debuff will be cast.

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Topic Author
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: [Tutorial] Create a new skill!
« Reply #14 on: 29 November 2019, 02:11:15 »
skill_attackspellteleport

Description:
This type of attack allows the user to swap positions with the target, while also inflicting some damage to the target if you choose so. Example skills include Mimer's Reversal.

Specific Parameters:

None

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal