• GMod - What are you working on? February 2015 (#42)
    807 replies, posted
First up was my Lua replacement of +showbudget. Next up is to finish the options section at the top there and then I'll be adding a replacement of +showvprof to view detailed information about Lua timings. [thumb]http://i.imgur.com/dQwMHIX.png[/thumb]
[QUOTE=Ott;47101768][img]http://i.imgur.com/4S4BR29.png[/img][/QUOTE] Oh that, lol that automatically gets posted on my videos, it's in my default settings. Most people don't check descriptions, so I haven't even bothered changing the links. I don't even use the website anymore
[QUOTE=Willox;47102424]First up was my Lua replacement of +showbudget. Next up is to finish the options section at the top there and then I'll be adding a replacement of +showvprof to view detailed information about Lua timings. [thumb]http://i.imgur.com/dQwMHIX.png[/thumb][/QUOTE] This would be pretty damn useful, I'm getting huge fps drops on my server, and it's no doubt my shitty optimizing.
[QUOTE=Robotboy655;47102006]What you have done is call SetModel on monster_snark. Joking aside, their movement/targeting clearly needs a lot of work.[/QUOTE] Fixed all of their movements and targeting, but they still sometimes circle around their enemy at 100 kph xD
[QUOTE=Giraffen93;47102469]This would be pretty damn useful, I'm getting huge fps drops on my server, and it's no doubt my shitty optimizing.[/QUOTE] Add me on Steam and we can try it out.
[QUOTE=Willox;47102424]First up was my Lua replacement of +showbudget. Next up is to finish the options section at the top there and then I'll be adding a replacement of +showvprof to view detailed information about Lua timings. [thumb]http://i.imgur.com/dQwMHIX.png[/thumb][/QUOTE] You should definitely release this when you're ready! I have been thinking of coding something similar for a while, and yours looks really nice!
It is. [QUOTE=Willox;47095497]You can already grab it @ [url=https://github.com/wiox/gmcl_vprof]https://github.com/wiox/gmcl_vprof[/url]. It's nothing much. It really needs an alternate viewer, though.[/QUOTE]
That's pretty outdated for the moment.
[QUOTE=Chessnut;47101964]Imagine one day instead of Let's Plays there'll be Let's Codes and millions of subscribers will just watch a guy code something :v:[/QUOTE] Live game development streams have been around for a while now, and can actually be a lot more fun than they sound. Don't knock it til you try it.
it would be nice to have a thousand randomers in the chat to give me ideas [editline]8th February 2015[/editline] bob: make a boat joe: give it turrets ken: make the bullets spawn bouncing babies carl: the babies turn into more boats when in water [editline]8th February 2015[/editline] the chat would only generate stupid ideas like those, but that's fun if you have an audience
[QUOTE=bitches;47103537]it would be nice to have a thousand randomers in the chat to give me ideas[/QUOTE] That's generally how it works. I've never streamed my own work before, but I've watched a few streams and someone or even myself from time to time always ends up helping out with a lot of bugfixing.
[QUOTE=zeaga;47103304]Live game development streams have been around for a while now, and can actually be a lot more fun than they sound. Don't knock it til you try it.[/QUOTE] i think the reason a lot of people dont do it because the viewers might steal code.
[vid]http://a.pomf.se/jzslqe.webm[/vid] fucking source physics, how does it work?
seemed to be some old code laying around, you'll go free this time havok [vid]http://a.pomf.se/zfztkc.webm[/vid] i am in no way in hell making checks for all the points, if nobody has a better idea and i'm not sure how i'd make the classic "hold mouse button to charge shot" mechanic
[QUOTE=Giraffen93;47105533]seemed to be some old code laying around, you'll go free this time havok [vid]http://a.pomf.se/zfztkc.webm[/vid] i am in no way in hell making checks for all the points, if nobody has a better idea and i'm not sure how i'd make the classic "hold mouse button to charge shot" mechanic[/QUOTE] If you think of it in terms of radius and rotation it shouldn't be too hard. Store the point order in a table, and just count how far the hit is away from the center of the board, figure out the rotation, and find out which value the throw is by doing a simple table lookup.
How's the texture quality on that thing? Can you even read the numbers?
[QUOTE=SeveredSkull;47105796]If you think of it in terms of radius and rotation it shouldn't be too hard. Store the point order in a table, and just count how far the hit is away from the center of the board, figure out the rotation, and find out which value the throw is by doing a simple table lookup.[/QUOTE] good idea, rotation could work actually [I]if i could apprehend more than 1-st grade math[/I] [QUOTE=FPtje;47105862]How's the texture quality on that thing? Can you even read the numbers?[/QUOTE] [t]http://i.imgur.com/7QhIsUR.jpg[/t] it's pretty decent
Since there's 20 pieslices you can figure out that each slice is 18 degrees on a standard dart board. You can use math.deg(math.atan2(x,y)) to figure out the rotation of every dart-hit. Make an array with values for each number and what rotation interval they're at, then just compare the darthit rotation with that and you get what pieslice the dart hit. Calculate then the 2D Length of x,y and then use that to get if it hit a x3 or x2 or x1.
I got an array set up, and I can map it to the rotation now. But.. I have no idea how to play dart properly and scoring so that's gotta be researched first :v:
[QUOTE=Giraffen93;47105883]good idea, rotation could work actually [I]if i could apprehend more than 1-st grade math[/I] [t]http://i.imgur.com/7QhIsUR.jpg[/t] it's pretty decent[/QUOTE] Here's that help you didn't ask for [img]https://s3.amazonaws.com/pushbullet-uploads/ujwi7vm4Re8-DBJi7dNikpVZbo551HXZlkAJlQQfXGmp/TO%20DO%20-%20Page%201.png[/img] The alpha and the green distance are the useful bits. I couldn't be arsed to explain ray plane intersection because you can probably use [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/NearestPoint]Entity:NearestPoint[/url] or w/e. The purple "up" vector is a unit vector (normalised, length == 1) in the up direction of the prop. This is likely to be ent:GetAngles():Up() or something depending on the entity.
thanks for the help, but i understand nothing of that :v: i gave up in maths at like class 6 [media]http://www.youtube.com/watch?v=Q3c4KWzeUuc[/media] quality entertainment! [I]i just noticed the point counting was wrong, oh well[/I]
But...Trigonometry it's the fun side of the math! I mean...Integrals and math functions are real butthurts
i just can't keep more than one number in my head at the same time, can't do anything that requires concentration i do remember some math from the actionscript 2 era, so that atan2 stuff isn't very hard, and using pi, and sine waves
[QUOTE=FPtje;47105998]Here's that help you didn't ask for [img]https://s3.amazonaws.com/pushbullet-uploads/ujwi7vm4Re8-DBJi7dNikpVZbo551HXZlkAJlQQfXGmp/TO%20DO%20-%20Page%201.png[/img] The alpha and the green distance are the useful bits. I couldn't be arsed to explain ray plane intersection because you can probably use [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/NearestPoint]Entity:NearestPoint[/url] or w/e. The purple "up" vector is a unit vector (normalised, length == 1) in the up direction of the prop. This is likely to be ent:GetAngles():Up() or something depending on the entity.[/QUOTE] Cursive still exists?
[img]http://i.imgur.com/nZ0z4mN.jpg[/img] I legitimately can't believe I got the formula right for cosine and sine on the first try
[QUOTE=bobbleheadbob;47108381]Cursive still exists?[/QUOTE] I can't write as fast when lifting the pen after every letter. I hope it's readable.
[media]http://www.youtube.com/watch?v=5N2MqXzkh3o[/media] Damage effects and systems :v:
[QUOTE=Hoffa1337;47111494][media]http://www.youtube.com/watch?v=5N2MqXzkh3o[/media] Damage effects and systems :v:[/QUOTE] You should add so when a plane is destroyed, it falls to the ground and leaves a wreckage there :3 Perhaps with a little guy shouting in a high pitch voice: "HELP" and an emergency flare next to him haha.
[t]http://i.imgur.com/a4eFKxH.jpg[/t] this is strangely addictive :v: got this on my first try today, damn i'm lucky
[QUOTE=bobbleheadbob;47108381]Cursive still exists?[/QUOTE] I thought everyone wrote in cursive...
Sorry, you need to Log In to post a reply to this thread.