Skip to content

Commit

Permalink
Fix URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpyNewbie committed Sep 27, 2024
1 parent afc44c9 commit e74bdec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/how-to/add-new-summon-able-gun/add-new-summon-able-gun.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 召喚できる銃を追加する

To Add New Summon-able Gun, You'll have to create new [GunVariantDataStore](/docs/components/gun/datastore/gunvariantdatastore).
To Add New Summon-able Gun, You'll have to create new [GunVariantDataStore](/components/gun/datastore/gunvariantdatastore).

1. In the hierarchy, Head over to `Logics/System/SamplelMassGun/VariantData/` .
2. Create new empty GameObject, Rename it as you like, and
add [GunVariantDataStore](/docs/components/gun/datastore/gunvariantdatastore)
add [GunVariantDataStore](/components/gun/datastore/gunvariantdatastore)
component.
3. Change `Unique Id` to unassigned new ID.
4. Change `Weapon Name` to represent this new gun's name
Expand All @@ -14,14 +14,14 @@ Now you technically have an empty gun variant available to use!
## Configuring `GunVariantDataStore`

To make actually usable gun, You'll need to
configure [GunVariantDataStore](/docs/components/gun/datastore/gunvariantdatastore).
configure [GunVariantDataStore](/components/gun/datastore/gunvariantdatastore).

To configure [GunVariantDataStore](/docs/components/gun/datastore/gunvariantdatastore), follow these steps:
To configure [GunVariantDataStore](/components/gun/datastore/gunvariantdatastore), follow these steps:
1. Set gun source `Model` and `Model Offset` property.
1. I'd recommend putting model GameObject under `GunVariantDataStore` like this: // TODO: put up an image
2. You could attach `Animator` component to Model object to receive parameters from the Gun. See more at [Setup Animator for a Gun](/docs/how-to/setup-animator-for-a-gun).
2. You could attach `Animator` component to Model object to receive parameters from the Gun. See more at [Setup Animator for a Gun](/how-to/setup-animator-for-a-gun).
2. Set gun `Shooter Offset` for
3. Choose one of [Gun Behaviour](/docs/components/gun/behaviour) component for this
3. Choose one of [Gun Behaviour](/components/gun/behaviour) component for this
`GunVariantDataStore`
1. Add it to the GameObject that has `GunVariantDataStore` attached.
2. Configure it as you like, See each Gun Behavior's information at each behaviour's documentation page.
Expand Down

0 comments on commit e74bdec

Please sign in to comment.