I would use this tutorial instead. It is a much "nicer" race timer. ruclips.net/video/dDDHtSp_A-0/видео.html As for the player reference, you need to cast to the player. If you need help with that check out the beginner series, first video is about casting, #25 is creating references. Between those 2 you should be able to create the necessary references. ruclips.net/p/PLyu-W38DvZhqByAoeva1jewB5s78zQHIy
I believe I have done everything correctly but I cannot compile the code because I get a warning message under "Cast to PlayerController" that says: 'Player Controller does not inherit from 'Character' ( Cast to PlayerController would always fail). I suppose I need a Character reference but how exactly do I go about that? Solution is much appreciated.
@@NebulaGamesInc I'm using Blueprints, not C++. I basically copied your blueprint from the video and the very first turqoise node is giving me the warning message that wont let me compile the code.
@@kurredev Sorry, thought you were using my more elegant solution which I highly recommend :) try using this tutorial....it will walk you through adding C++ to the blueprint project. And all you have to do is copy/paste, promise ha It is a way better "stop watch" for racing games and such honestly. ruclips.net/video/dDDHtSp_A-0/видео.html
This is good but any idea on how to show the time with more decimal points? Only having the whole number makes it pretty useless for speed running or racing
I made a more advanced stopwatch and linked in the description of this video. Anyway here is the link. I think this is what you're looking for ruclips.net/video/dDDHtSp_A-0/видео.html
@@NebulaGamesInc All sorted. On the branch attached to the trigger box, my stop function was connected to true but i swapped over to false and it seems to work fine. thanks for the tut anyways :)
If you add a trigger box just use the event built in for overlaps and call the start timer function and that should be fine. The trick is referencing the trigger box/timer component and that is very individualized based on your setup. But the basic idea is you have a trigger box in the level, you have some actor with a component that contains my timer. You give the actor with the timer component a reference to the trigger box and then you can initiate the timer through trigger box events.
Honestly, this was a lame tutorial....it is a TERRIBLE "racing" timer since it only has the one digit. I made a significantly improved one here ruclips.net/video/dDDHtSp_A-0/видео.html It is C++ code you can add easily to your project. You will just need to setup a widget to display the node output. Hope this helps :)
Not sure what you mean by that..... can you clarify? Also please check out this video as it is an updated race timer/ stop watch that's significantly more polished. ruclips.net/video/dDDHtSp_A-0/видео.html
@Super Star Rahul Kumar, haven't really messed around with multiplayer unfortunately I wouldn't be much help there. If there is some particular racing game "element" you are having trouble with I might be able to help with that!
Ok I don’t judge people’s mics usually but holy Jesus it’s actual earrape I hope you’ve gotten a new mic in the past 3 years
Probably not since I stopped doing these things 3 years ago....you're welcome 😉
@@NebulaGamesInc well that’s a mood
It was a hobby for a time in my life that has passed.... sorry man, on the bright side there is only a limited number of ear rape videos ha
Ah, thanks for the tutorial. A big help it was to a non-coder. Big ups brother.
That was the goal! Glad it helped.
How do you make the thing you already made?
I also dont have a playerref
I would use this tutorial instead. It is a much "nicer" race timer.
ruclips.net/video/dDDHtSp_A-0/видео.html
As for the player reference, you need to cast to the player. If you need help with that check out the beginner series, first video is about casting, #25 is creating references. Between those 2 you should be able to create the necessary references.
ruclips.net/p/PLyu-W38DvZhqByAoeva1jewB5s78zQHIy
hey im trying to do a version of this for a split screen running game, any idea how i'd do 2 separate timers per character? thanks!
2 timers for each character so 4 total on screen or you mean 1 timer per character for a total of 2?
I believe I have done everything correctly but I cannot compile the code because I get a warning message under "Cast to PlayerController" that says: 'Player Controller does not inherit from 'Character' ( Cast to PlayerController would always fail). I suppose I need a Character reference but how exactly do I go about that? Solution is much appreciated.
The C++ code compiled properly though right? Like you have the component that keeps track of time? Or the C++ code is failing?
@@NebulaGamesInc I'm using Blueprints, not C++. I basically copied your blueprint from the video and the very first turqoise node is giving me the warning message that wont let me compile the code.
@@kurredev Sorry, thought you were using my more elegant solution which I highly recommend :)
try using this tutorial....it will walk you through adding C++ to the blueprint project. And all you have to do is copy/paste, promise ha It is a way better "stop watch" for racing games and such honestly.
ruclips.net/video/dDDHtSp_A-0/видео.html
This is good but any idea on how to show the time with more decimal points? Only having the whole number makes it pretty useless for speed running or racing
I made a more advanced stopwatch and linked in the description of this video. Anyway here is the link. I think this is what you're looking for
ruclips.net/video/dDDHtSp_A-0/видео.html
I got the timer to work, but it doesnt seem to stop once ive walked into the trigger box, any ideas??
Sounds like an issue with the cast to node for whatever actor you want to stop the timer. Check the cast node and make sure it is not failing.
@@NebulaGamesInc All sorted. On the branch attached to the trigger box, my stop function was connected to true but i swapped over to false and it seems to work fine. thanks for the tut anyways :)
Awesome vid! Was just wondering if there was a way to make this so the timer starts when you pass over a trigger box?
If you add a trigger box just use the event built in for overlaps and call the start timer function and that should be fine. The trick is referencing the trigger box/timer component and that is very individualized based on your setup. But the basic idea is you have a trigger box in the level, you have some actor with a component that contains my timer. You give the actor with the timer component a reference to the trigger box and then you can initiate the timer through trigger box events.
@@NebulaGamesInc thanks! I'll see what I can do to try and make it work 😅
My timer stops at number 1 can you help
Honestly, this was a lame tutorial....it is a TERRIBLE "racing" timer since it only has the one digit. I made a significantly improved one here
ruclips.net/video/dDDHtSp_A-0/видео.html
It is C++ code you can add easily to your project. You will just need to setup a widget to display the node output. Hope this helps :)
My timer does not stop on the trigger box help!!!
I suggest following this tutorial instead. It is significantly better for use as a stopwatch or timer. ruclips.net/video/dDDHtSp_A-0/видео.html
How can one setup a racing player position on hud
Not sure what you mean by that..... can you clarify? Also please check out this video as it is an updated race timer/ stop watch that's significantly more polished.
ruclips.net/video/dDDHtSp_A-0/видео.html
Please make a tutorial series on multiplayer racing game
@Super Star Rahul Kumar, haven't really messed around with multiplayer unfortunately I wouldn't be much help there. If there is some particular racing game "element" you are having trouble with I might be able to help with that!