I did a thing with ply:VoiceVolume() and an existing voice visualizer.
[vid]https://dl.dropboxusercontent.com/u/67402346/ShareX/2015/08/2015-08-21_14-22-23.webm[/vid]
Things I added were sizing and color changing.
Song: Zomboy - Braindead (Twine Remix)
[QUOTE=FPtje;48516767][vid]http://puu.sh/jKv4x/917199c58a.mp4[/vid]
Sublime features.[/QUOTE]
[img]http://xavie.ru/i/3Y39MSA.png[/img]
Are anonymous functions supposed to have an extra space of indentation? That would drive me crazy.
Looks like I'm getting some competition, I'll start looking into finishing my Atom autocomplete soon.
[QUOTE=xaviergmail;48518252]Are anonymous functions supposed to have an extra space of indentation? That would drive me crazy.
Looks like I'm getting some competition, I'll start looking into finishing my Atom autocomplete soon.[/QUOTE]
They start another level of scope, so they should be indented.
[QUOTE=Kogitsune;48518302]They start another level of scope, so they should be indented.[/QUOTE]
Obviously. What tickles me in the wrong way is that it's all offset by [i]one[/i] space.
See #1 vs #2
[img]http://xavie.ru/i/3Xvj7kJ.png[/img]
[QUOTE=xaviergmail;48518385]Obviously. What tickles me in the wrong way is that it's all offset by [i]one[/i] space.
See #1 vs #2
[img]http://xavie.ru/i/3Xvj7kJ.png[/img][/QUOTE]
Holy shit, sorry. Fixed it. It's a thing the pretty printing library has. It tries to do its own indentation, usually it comes up with something retarded. Before I messed with it a while ago, your code would have looked like this:
[img]http://i.imgur.com/R9xPpEs.png[/img]
Editing TTT core files is a nightmare because it uses spaces for indenting, I hate it.
[QUOTE=Exho;48518873]Editing TTT core files is a nightmare because it uses spaces for indenting, I hate it.[/QUOTE]
Any good text editor will support changing your indentation style. Whether you want to change it to 3 spaces, or convert the current 3 spaces to tabs.
[QUOTE=Exho;48518873]Editing TTT core files is a nightmare because it uses spaces for indenting, I hate it.[/QUOTE]
If you use Sublime, change tab width to 3, convert indentation to tabs, then change the width back to whatever you had it at before to get proper tabbing in TTT files.
[QUOTE=Exho;48518873]Editing TTT core files is a nightmare because it uses spaces for indenting, I hate it.[/QUOTE]
I don't think that's the only reason editing core TTT is a nightmare
I made a final version of my server browser, now no one use it so there aren't any bugs for me to fix
[url]http://facepunch.com/showthread.php?t=1482414[/url]
[QUOTE=FPtje;48516767]
Sublime features.[/QUOTE]
fuck that's amazing, i usually vary anywhere between perfect indentation and no indentation at all depending on the complexity of the function and my own level of laziness, this would probably help a bunch
Made a tow truck thing
[media]https://www.youtube.com/watch?v=7m4GiWeKvaE[/media]
Is there a way to make the elastic constraint less stretchy? I was thinking of the rope constraint but I'm not sure if you can change its length.
[QUOTE=Chessnut;48520780]Made a tow truck thing
[media]https://www.youtube.com/watch?v=7m4GiWeKvaE[/media]
Is there a way to make the elastic constraint less stretchy? I was thinking of the rope constraint but I'm not sure if you can change its length.[/QUOTE]
Shitty part is that it's really slow once you're towing and the turning seems to be even worse
I think the stretchiness of the cable is the reason
[QUOTE=Chessnut;48521049]I think the stretchiness of the cable is the reason[/QUOTE]
I think the fact that any wheeled vehicle is reluctant to move when not being driven may also be a problem. Like a ridiculous handbrake.
Maybe if you turn the engine of the towed car on, it would allow the wheels to roll?
[QUOTE=Z0mb1n3;48521078]I think the fact that any wheeled vehicle is reluctant to move when not being driven may also be a problem. Like a ridiculous handbrake.
Maybe if you turn the engine of the towed car on, it would allow the wheels to roll?[/QUOTE]
You could also just ent_fire the handbrake off and let it roll around without the engine on. Most/all HL2 vehicles turn the handbrake on after the engine is called off.
[lua]veh:Fire('HandbrakeOff','',0)[/lua]
[QUOTE=Chessnut;48520780]Made a tow truck thing
Is there a way to make the elastic constraint less stretchy? I was thinking of the rope constraint but I'm not sure if you can change its length.[/QUOTE]
constraint.Winch
probably the one occasion where its actually useful for something
[video="youtube;pG2BJUinyFc"]http://youtu.be/pG2BJUinyFc[/video]
Forgive me on the animations....
I got past a hard problem today, so I decided to create a video.
Working on AI for possible police car chases...
Now I just need ai noding...
[QUOTE=Chessnut;48521049]I think the stretchiness of the cable is the reason[/QUOTE]
Personally I also think you should make the front of the car go up higher when it's hit the minimum
You can make an elastic more rope-like by increasing the constant and damping.
[code]Spring Constant <string>
Stiffness of the spring. The larger the number the less the spring will stretch.
Damping Constant <string>
How much energy the spring loses. The larger the number, the less bouncy the spring.[/code]
[code]function Elastic( Ent1, Ent2, Bone1, Bone2, LPos1, LPos2, constant, damping, rdamping, material, width, stretchonly )[/code]
The first return value of constraint.Elastic is the phys_spring, so you should be able to change those values on the fly with SetKeyValue "constant" and "damping".
You should also be able to set the "length" keyvalue on phys_lengthconstraint returned by constraint.Rope to achieve the same result.
I had the constant and damping set to really high amounts. The use of the handbrake off thing worked and now it lifts properly!
[img]http://i.imgur.com/EzqafqS.png[/img]
[QUOTE=Chessnut;48523705]I had the constant and damping set to really high amounts. The use of the handbrake off thing worked and now it lifts properly!
[img]http://i.imgur.com/EzqafqS.png[/img][/QUOTE]
Sorry for going off-topic, but are you going to release this tow truck?
It is looking really well and seems to work fine! :3
[video="youtube;WRLbwjQ-N8A"]https://youtu.be/WRLbwjQ-N8A[/video]
Made another video. Watch in [B]HD[/B] please :D
Sounds are... Bleh ATM... I gotta work on it.
What is the best FOV do you guys think for the cars?
I noticed the FOV should be like: 90?
[url]www.GreatnessGaming.com[/url]
[quote][IMG]http://images.akamai.steamusercontent.com/ugc/420312328750182955/7D42EFF8D8C6B953F1B9705E3AC149BE9526BE9C/[/IMG][/quote]
Work in progress, auto updating addons on my server.
[QUOTE=TylerB;48525632]Work in progress, auto updating addons on my server.[/QUOTE]
Very nice. How does it work?
[QUOTE=Alig96;48526028]Very nice. How does it work?[/QUOTE]
Perhaps git pull to actually update the files with some binary module to alert the game?
[QUOTE=Alig96;48526028]Very nice. How does it work?[/QUOTE]
Gonna have a script periodically check api.github.com for new commits, if the latest one is newer than the one we have, it'll use my global chat system to send update progress in the background.
I just started working on a leveling addon. Pretty simple, but its going to be a nice learning experience. Can't wait to see how it turns out.
[QUOTE=CGHippo;48527174]I just started working on a leveling addon. Pretty simple, but its going to be a nice learning experience. Can't wait to see how it turns out.[/QUOTE]
They are real fun to make I gotta say - you can add me if you want some insight on that topic.
Sorry, you need to Log In to post a reply to this thread.