Skip to content

Weapon Creation Editor Window #131

@SorraTheOrc

Description

@SorraTheOrc

See https://survivors.tmg.dev/docs/Customization/NewAttack.html

  • Add a Weapon Type entry to WeaponType.cs if necessary
  • Create a [WEAPONNAME]EntityAuthoring.cs in Assets/_Dev/Runtime/Authoring/Weapons/
  • Create an attack system in [WEAPONNAME]WeaponSystem.cs in Assets/_Dev/Runtime/Systems/Weapons/
  • Create [WEAPONNAME]WeaponAuthoring.cs in Assets/_Dev/Runtime/Authoring/Weapons/
  • Create an in-world Weapon Entity Prefab called [WEAPON NAME] Attack - EntityPrefab in Prefabs/Attack Entities (this is the prefab that will to the damage, e.g. the projectile)
  • Graphics on a child of Entity Prefab
  • Create a Weapon Prefab called [WEAPONNAME] Weapon Entity in Resources/Prefabs/Weapons
  • Create a WeaponUpgradeProperties Scriptable Object in Resources/ScriptableObjects/Weapon Upgrades called WeaponUpgradeProperties_[WEAPON NAME]
  • Create an Icon and assign it to the properties
  • Test

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions