TSC and TSV.

Status
Not open for further replies.

squeecky

Has absolutely no life
Joined
May 20, 2011
Messages
779
Reaction score
1
I've decided to upload these at popular demand of people - Seeing we have trouble getting the old thread back.

Tacoscript Script Enhancher or whatever its called will allow you to do a large variety of things, for now I'll just upload it unless somebody can give a full explenation of get the squad back.

http://www.gamefront.com/files/20444086/TSChat_lua


I really hope this is the right file - This should allow you to "bind <key> rp_combinemenu" for two colums of dispatch sounds, and two of unit sounds. Its a really usefull tools for rations and ambience if not spammed by morons.

http://www.gamefront.com/files/20444087/TSVoicemenu


e: Thanks to Radec for reminding me - ZauberMuffin worked on this, and made it. I think there were testers etc in his old thread but .. I'm not sure.


Updates Links :
Never tell your password to anyone.
Zaubermuffin: http://mwf-data.clonk2c.ch/dvi/attach/TSVoicemenu.lua
Zaubermuffin: http://mwf-data.clonk2c.ch/dvi/attach/TSTitles.lua
^ω^ Sфцёёскч ❤: ...?
Zaubermuffin: http://mwf-data.clonk2c.ch/dvi/attach/TSChat.lua
Zaubermuffin: Those are the links.
^ω^ Sфцёёскч ❤: Right.
 
It's TacoScript Chat and Voicemenu.

It would be proper if you gave Zaubermuffin full credit for these, too..

E: I also hope you've got the version updated by me, it was the final release and it was perfected for TnB.
 
It was the most recent, I'm sure. And yes, all Zaubers doing. I figured people knew it :< I miss him ;C
 
No it's not, shame on you Squeecky, shame on you :mad:
 
Might as well make a sticky in CCA private with the voice menu.
 
I stand by my belief that the voice menu Flaky's friend made was the best, with the collapsible rows of about 70 sounds, options to use <:: or not, and to use radio or not.

Sadly it was lost to the abyss. :c
 
The sad part is, TS doesn't even support 70 sounds.

However, the links are the most uptodate versions. For TS2 users, there's also ZSChat - which is pretty much the same, but a bit improved. This only applies for TRP here though.

On an unrelated note, ZS' source contains a newer, better version of TSV as well as OLM 4.0 with a pretty neat new chatbox. If somebody has nothing to do one day he can port it.
 
Zaubermuffin said:
The sad part is, TS doesn't even support 70 sounds.

However, the links are the most uptodate versions. For TS2 users, there's also ZSChat - which is pretty much the same, but a bit improved. This only applies for TRP here though.

On an unrelated note, ZS' source contains a newer, better version of TSV as well as OLM 4.0 with a pretty neat new chatbox. If somebody has nothing to do one day he can port it.

I think it was a guess, Zauber. And it does support up to 70, maybe 60. I cant remember.
 
Ghost said:
I think it was a guess, Zauber. And it does support up to 70, maybe 60. I cant remember.

There are about 50 sounds that /work/. And as far as I know, Radec sorted all out that weren't important enough or simply didn't work (anymore).
 
Zaubermuffin said:
There are about 50 sounds that /work/. And as far as I know, Radec sorted all out that weren't important enough or simply didn't work (anymore).

Well, I did go through all of the CP sounds, and they all seemed to work. Maybe it was clientside. Odd.
 
Zaubermuffin said:
There are about 50 sounds that /work/. And as far as I know, Radec sorted all out that weren't important enough or simply didn't work (anymore).

My main flaw with your menu is that it has barely any sounds that Flaky's friend's menu had. (please someone dig it up) It literally had three-four collapsible menus, each with quite a sum of sounds in them. The main wrongdoing that occurs when sorting out unimportant ones is that you remove sounds that another roleplayer could easily utilize in his/her endeavors. You could also add options to add a <:: prefix and an /r prefix, and both at the same time.

I'm not sure how many work now but all the ones in this menu worked. I'm going to hunt down Flaky and see if he has it still.
 
Who cares, it was a clickable menu that took up 40% of your screen, with consequent low response time and the need to actually impair your movements.
It's as shitty as it could get, TSV is a TF2 styled voice menu controlled with number keys; once you get used to it and learn the numbers you can actually sort everything out in a matter of one second.

You say "stuff you used" got removed, but honestly TSV contains everything, and I repeat, everything a CP or an OW needs on the field.
Anything else is really superfluous and/or mingish..

It has a menu for radio and normal voice lines, as for the <:: prefix, TSC was created for a reason lol
 
To add something valuable here, TSC does that magic only when using the chatbox - it doesn't transform all lines. Unless I built some fancy magic in TSV that made it using TSC's way of sending things (which I highly doubt), TSV won't add <:: to your lines.
 
Radec said:
Who cares, it was a clickable menu that took up 40% of your screen, with consequent low response time and the need to actually impair your movements.
It's as shitty as it could get, TSV is a TF2 styled voice menu controlled with number keys; once you get used to it and learn the numbers you can actually sort everything out in a matter of one second.

You say "stuff you used" got removed, but honestly TSV contains everything, and I repeat, everything a CP or an OW needs on the field.
Anything else is really superfluous and/or mingish..

It has a menu for radio and normal voice lines, as for the <:: prefix, TSC was created for a reason lol

Nowhere did I say the stuff I need got removed. I said stuff I could've easily put to use was removed apparently because they didn't work/you thought they weren't needed. You say they're superfluous/mingy when you simply lack the imagination needed to connect them to a roleplay scenario.

And I really don't care how sleek the menu is, the simple fact is it lacks features compared to this menu I'm talking about. Perhaps that's tacoscript's fault for breaking everything.

(you could upload a separate menu with every working sound to satisfy us people who can actually put them to use)
 
What I try to achieve with every thing I made for GMod was that it is *easy* to modify for even less advanced users. And I think I did a good job at TSV. If you are missing something, add it. It's not THAT hard to add a line or re-arrange them. Hell, I bet it's easier than in any other script.
 
I'll take a look at it but I'm pretty much the worst guy with lua ever. The most I could manage was a /me command.

Edit: I could edit this. I really want to find that old menu though. My 4shared deleted itself and noone I know has a copy of it. I don't even think Radec has it but he seems to remember it.
 
TSV is easy because it's object oriented. Each item is either a function (which can do everything, it's a callback in lua) or another menu - you just tell a menu to add an item and the menu will manage pages and other stuff on its own.

The script itself starts at line 91. To add an own "main menu"; use this code:
Code:
local someVariableNameYouAreGoingToChange = TSV.MainMenu:AddItem("Item Text", {})

To add something to this menu, use
Code:
someVariableYouAreGoingToChange:AddItem()

AddItem takes some parameters; the first is always the name of the item. This is the displayed name that will be used to show what the item is. The second is either an empty table ({}) or a function pointer ("a function name"). I included some functions that are most likely to be used - you can find them all above. They are playLine (plays a line, similar to rp_playline, expects the number as argument), sayText (says something, this can include /radio or whatever prefix you want, expects the text as argument), playLineText (playLine + sayText, expects the id of the line and then the text), playAnim (plays that animation, expects the ID), playAnimText (plays an animation and says the text, expects ID and text), playLineAnimText (all together, expects the ID of the line, the ID of the animation and then the text), playdisp (plays a dispatch line). When I'm speaking about expected arguments, that's BEHIND the function. So, for example:
Code:
:AddItem("Hi", sayText, "Hey buddy, what's up did you see Rex Lee he totally was total uber and kicked and stuff and lol combine gunna die")
:AddItem("Voodoo ritual", playLineAnimText, 23, 42, "/me does a voodoo ritual while playing line 23 and doing animation 42")

I hope that's clear now. It's really not hard.
 
I got most of that. This menu I'm thinking of literally seems to have been wiped from existence though so I'm outta luck there. :V
 
Status
Not open for further replies.

Users who are viewing this thread