This is a post to provide detail on how to create the Thousand Edge Weapon Evolution for our Rogue-like Shoot-em Up series.
To do this we’ll be going through 1 thing:
Creating the Weapon Data and Evolution Data
For convenience, below are the links to the article and the video that our code & scriptable objects will be based off:
The Thousand Edge is a relatively simple evolved form of the Knife. It performs the same function as the Knife weapon, only with a lower cooldown, amount and speed. Thus, we can recreate the weapon by simply copying the Knife, while replacing the right weapon values.
1. Creating the Weapon Data and Evolution Data
Thousand Edge Weapon Data
Create a new scriptable object using “Weapon Data” & select the “Projectile Weapon” Behaviour.
Set the “Spawn Variance” to Y: [-0.5] & H: [1]. This will offset the Thousand Edge knives to spawn the projectiles from a wider range instead of a straight line.
Knife/Bracer Evolution Data
Select the Knife & Bracer Scriptable Object & add a new Evolution data to it.
Set the “Condition” to “Treasure Chest” & the “Consumes” to “Weapons”, ensuring the weapon only evolves when picking up a chest and will only remove the weapon involved with the evolution.
Set the “Evolution Level” to [8] for the Knife and [5] for the Bracer, before adding the catalyst which selects the other weapon/passive item for the corresponding level of [8] & [5].
Select the Thousand Edge Scriptable Object as the outcome and set it at level [1]
That concludes how to create the Thousand Edge Weapon.
If you encounter any issues in creating the Thousand Edge, you can submit a forum post to go into detail on your problem for further assistance.