playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Natnie

Pages: [1]
1
User Showcase / Re: Playmaker Actions For ORK Framework
« on: October 14, 2017, 09:59:59 PM »
Please update this! I bought it but it's never worked for me *kneels and begs*


Your website is down, too - are you still around or did something happen?

2
Playmaker Help / Re: How do i change player speed?
« on: October 11, 2017, 05:16:44 PM »
Hey. I just found this while searching for a way to control the values in the Unity first person controller. In case other people find this thread for that reason, I just wanted to add the solution I figured out:
Go into the first person script FirstPersonController.cs and change the [SerializeField] variables that are declared as "private" to public. So it should then look like:

Code: [Select]
        [SerializeField] private bool m_IsWalking;
        [SerializeField] public float m_WalkSpeed;
        [SerializeField] public float m_RunSpeed;
        [SerializeField] [Range(0f, 1f)] private float m_RunstepLenghten;
[SerializeField] public float m_JumpSpeed;
[SerializeField] public float m_StickToGroundForce;
[SerializeField] public float m_GravityMultiplier;
[SerializeField] public MouseLook m_MouseLook;
[SerializeField] public bool m_UseFovKick;
[SerializeField] public FOVKick m_FovKick = new FOVKick();
[SerializeField] public bool m_UseHeadBob;
        [SerializeField] private CurveControlledBob m_HeadBob = new CurveControlledBob();
        [SerializeField] private LerpControlledBob m_JumpBob = new LerpControlledBob();
[SerializeField] public float m_StepInterval;
[SerializeField] public AudioClip[] m_FootstepSounds;    // an array of footstep sounds that will be randomly selected from.
[SerializeField] public AudioClip m_JumpSound;           // the sound played when character leaves the ground.
[SerializeField] public AudioClip m_LandSound;           // the sound played when character touches back on ground.

I left a few things private that I don't intend on using, but there you go.

You can then control the public values by using Set Property in PlayMaker and dragging that script from the gameobject into the Set Property object field.

I used this to add areas where my player's speed is decreased while within a collider.

Pages: [1]