[Scripting] Making a menu for ET


(mouse) #1

Hi all, I have a question for you.

I just started scripting because i wanted some sayteam commands bound selected trough menus. You can think of things like Artillery @ commandpost, or Enemy incoming @ tank. I have a working script for that, wich uses a menu structure. The menu is coming to the screen using the echo command, but if you go fast trough the menus that command doesnt work so fast, due to the nature of echo.

Does anyone have a tip for me, to use another method for instance, or another solution that works better?

Thanx in advance, Greetingz, Mouse a.k.a. =-DI-=Taurus


(Majin) #2

Play on ETPro servers, theres ia a CVAR that makes echo/kill messages and such pop up instantly.


(mouse) #3

yup, figured that out, but and you can play with some vars to display it longer and faster on etpro. But that wasnt really my question. Thanx though! :beer:


(Kendle) #4

Unfortunately you can’t speed up the display of echoed messages in standard ET, which is a pain for doing things like this. I’ve got a Class selection script that requires a few key presses to get to where you want (seeing as you have to select Team before you can select Class and Weapon in ET), which is annoying sometimes when lots of stuff is happening.

One thing to note, however, is that it’s only echo that’s delayed. The actual key presses are executed immediately and if you really can’t wait to see what the echo message is going to be you can look in the console, where it gets written instantly as well.


(mouse) #5

Yes i know that too, but i dont know the keys from head yet :slight_smile: Its escpecially irritating on warmup, then you get 40 tk’s and between them comes your menu, totally unusable.

Now Kendle replied and hasnt got another solution then echo, I am almost sure there isnt another way to build a menu.

Thanx 4 the reply’s and reads, greetings, Mouse.


(Majin) #6

Sadly, this is the best menu system available.

The only other way to communicate to yourself would be to be in a fireteam by yourself, and send yourself fireteam messages. If you were in ETpro you could /m yourself, but if you were in etpro you would have better options. The shrub /m (I beleive) requires you to open the console to see the message, so it won’t work. If it does print it on screen, it could be a useful way of printing your commands.


(IPvD) #7

Its a shame we dont have a simple API for those nifty-slick in-game popups :cool:


(mouse) #8

true, but im making a menu that is supposed to work under all surcomstances (sry bad english), but those are options too indeed. Thanx 4 your thought!


(squadjot) #9

i use two hit combination on keypad…

gives me really a lot of slots… to fill in say and other commands…

(please note…that theres limit…maxvars)