Update README for the new reticle system
This commit is contained in:
12
README.md
12
README.md
@ -14,7 +14,7 @@ Move with WASD, space to jump, shift to sprint, C to crouch.
|
|||||||
- In-air momentum
|
- In-air momentum
|
||||||
- Motion smoothing
|
- Motion smoothing
|
||||||
- FOV smoothing
|
- FOV smoothing
|
||||||
- Head bobbing
|
- Movement animations
|
||||||
- Crouching
|
- Crouching
|
||||||
- Sprinting
|
- Sprinting
|
||||||
- 2 crosshairs/reticles, one is animated (more to come?)
|
- 2 crosshairs/reticles, one is animated (more to come?)
|
||||||
@ -43,11 +43,10 @@ Click on the character node and there should be settings in the "Feature Setting
|
|||||||
- Use the `state` member variable to tell if the player is sprinting or crouching.
|
- Use the `state` member variable to tell if the player is sprinting or crouching.
|
||||||
- Use the `is_on_floor` function to tell if the player is standing or falling.
|
- Use the `is_on_floor` function to tell if the player is standing or falling.
|
||||||
|
|
||||||
**How to change reticles (crosshairs):**
|
**How to change reticles (crosshairs):**
|
||||||
- Find the folder at `res://addons/fpc/reticles`.
|
Change the "Default Reticle" setting to your reticle file.
|
||||||
- Pick one and add it to the `UserInterface` node in the character scene. You may need to right click on the character and enable "Editable Children".
|
During runtime:
|
||||||
- Set the Character value to your character node. (it's under the Nodes group)
|
Use the `change_reticle` function on the character.
|
||||||
- Change the `anchors_preset` value on the reticle to Center.
|
|
||||||
|
|
||||||
**How to create a new reticle:**
|
**How to create a new reticle:**
|
||||||
- Choose a reticle to base it off of.
|
- Choose a reticle to base it off of.
|
||||||
@ -55,4 +54,3 @@ Click on the character node and there should be settings in the "Feature Setting
|
|||||||
- Remove the script from the reticle and create a new one. (for some reason you have to do this)
|
- Remove the script from the reticle and create a new one. (for some reason you have to do this)
|
||||||
- Edit the reticle to your needs.
|
- Edit the reticle to your needs.
|
||||||
- Follow the "how to change reticles" directions to use it.
|
- Follow the "how to change reticles" directions to use it.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user