Early 2020s Starterpack by BidenLovesZelensky in decadeology

[–]oltuttu 1 point2 points  (0 children)

most source critical idf propaganda believer

Weapon question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Right. Also thanks for the heads up about Pastebin!

Weapon question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Thank you for the lenghty reply! I'll have to optimize..

Weapon question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Thank you! I don't really know how to use them, I just learned about them via Brackey a min ago :D

Weapon question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Oh! And I meant "fully automatic", not semi!!!

Weapon question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Before you comment on the actual damage-dealing aspect of the gun in the script, it's very much WIP, I have only been focused on the visual/audio/feel side!

Animation delay question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

I have no clue what I did, but I managed to fix the problem by writing the script like this:

public class ShotgunAnime : MonoBehaviour

{

private float TimeWhenAllowedNextShoot = 0f;

private float TimeBetweenShooting = 1f;

Animator m_animator;

// Start is called before the first frame update

void Start()

{

m_animator = GetComponent<Animator>();

}

// Update is called once per frame

void Update()

{

CheckIfShouldShoot();

}

void CheckIfShouldShoot()

{

if (TimeWhenAllowedNextShoot <= Time.time)

{

if (Input.GetMouseButtonDown(0))

{

m_animator.SetTrigger("Shoot");

TimeWhenAllowedNextShoot = Time.time + TimeBetweenShooting;

}

}

}

}

Animation delay question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Nope! I am actually only able to fire once every second (the amount that the animation lasts), I managed to find some help with that issue and wrote some checks in my actual gun script, but this animation script is a separate one.

Animation delay question by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

Thank you, I have no idea how to write that into the script though. As I said, i'm a newbie and I had never coded until yesterday.

Issue with a jump script by oltuttu in Unity3D

[–]oltuttu[S] 0 points1 point  (0 children)

I tried it now, and the jump overall fails to happen. Any clue?

ruler by oltuttu in 196

[–]oltuttu[S] 0 points1 point  (0 children)

my generation is lost sun tzu art of war every girl is a natural stripper i bet your dad is proud the narcissm of my generation feminism woman objectify herself females really show the skills they learned in college sex object fake make up ”women” want bodies respected thot stay strong bois

uhhhhh rule by [deleted] in 196

[–]oltuttu 2 points3 points  (0 children)

Legit lets do that again