Navigation
Home
Forum
IoW Members
IoW Regulars
E-Mail

Downloads
Latest Ratings
Online Users
Rules
Staff
Statistics

FAQ
Search Forums

Donate
My Cookies

<IoW> Server Rules

Who is Online

In total there are 35 users online ::
0 Registered,
35 Guests

Registered Users: None

[ View complete list ]


User Block
Username:

Password:

 Remember me



I forgot my password

Don't have an account yet?
You can register for FREE


Discord
Arrow IoW Discord Server

Server Monitor

Searching

Advanced Search

Style Select
Script by webmedic, v1.0.5

security

 phpBB Security ©  Has Blocked 2,352 Exploit Attempts.




Sir Sux-A-Lot
Subject:  Is it possible...
Do ET / LUA allow to display a client-specific custom menu box?

for example...

I'm curious if I can write a script that would allow me to call a personal menu within the game to for example change my nick or play one of our custom sound, or change class.

The problem I see is that the game will not load the script if it's not required by the server like the IOW sound pack. I'm thinking maybe you can execute it locally like an autoexec to make it work. I mean isn't the point of having a scripting language to be able to do something like that or is it just for servers?

any ideas?

edit: thinking about it some more, I see a pretty blatant conflict between what would be in a pk3 file and a simple cfg file...

Download Post
BECK
Subject:  
I'm pretty sure LUA support is only on the server side. But it might be a good question for the silent devs because honestly I don't really know much about this stuff. JvI might, he's been working with LUA lately, but those are scripts that reside on the server and are executed as server commands.

I'm not sure if allowing for hooks on the client side to execute scripts from within the mod is necessarily a good thing, it could open the door for hackers. I guess this is why you can write some fairly sophisticated toggle binding commands that you can execute with a cfg on the client. For instance, changing nicks - I have a toggle button binded that cycles through a bunch of nicks and another button to set the one I want. Same thing with changing class and weapon (my entire number pad is bound to scripts for nicks and class/weapons). I can share them with you if you're interested?

Download Post
JvIasterMind
Subject:  Re: Is it possible...
Someone posted about the silEnT devs adding the extra weapons to the built-in class selector menu, and the response was that it is difficult to change because those menus are static and hard-coded into the source. So even Lua on the server side is probably not possible at this time.

Beck is correct that Lua is only server side. The best way to add what you are looking for is through your standard cfg scripting, which you can make to behave like what you are thinking, except that the menu would have to be text-based.

I've been rewriting all my configs over the past few weeks, and you can do some pretty complex stuff using lots of variables. I am almost finished with my class/spawn/team selector (which is very powerful and fixes problems I had with my old one) and I will post it when I am finished. I am about to start reworking my name selector which I will post as well. For the sounds, just give me an idea of what you are thinking and I will make a cfg for that as well. I am guessing that you want it to behave like the standard vsays (like get a sound with a <key> <number> <number> combination)? If that is what you want, just post how you would like the categories to be arranged and the order of the sounds in each category.

Download Post
Sir Sux-A-Lot
Subject:  Re: Is it possible...
JvIasterMind wrote (View Post): › Someone posted about the silEnT devs adding the extra weapons to the built-in class selector menu


That was me :)


OK so I knew I could just do toggles and binds and whatnot to do my own class selector, I was wondering just about the in-gamemenu popup.

I wonder if an optional pk3 download would do the trick if it has all the weapons for all the classes like it is on our server.

Download Post
JvIasterMind
Subject:  Re: Is it possible...
Haha, I was kind of wondering if that was you on the forums! :lol:

But, like I said... those menus are hardcoded into ET's source code. If I understand it correctly, we won't be able to modify them and distribute a pk3 with custom menu.


We will just need to wait for the silEnT devs to add this functionality to the mod or fix the existing menus.

Download Post
Sir Sux-A-Lot
Subject:  Re: Is it possible...
JvIasterMind wrote (View Post): › Haha, I was kind of wondering if that was you on the forums! :lol:

But, like I said... those menus are hardcoded into ET's source code. If I understand it correctly, we won't be able to modify them and distribute a pk3 with custom menu.


We will just need to wait for the silEnT devs to add this functionality to the mod or fix the existing menus.


They won't fix it apparently so I'm just going to suck it up (and borrow somebody else's class selector :P)

Download Post
Scopey
Subject:  
I was going to make a text based cfg script for the !wav commands. Still on my huge list of things I'll eventually do. Was going to use just the "end" key and arrow keys probably.

Download Post
BECK
Subject:  
you need to get the Logitech G510 Gaming keyboard - has up to 54 macro-enabled keys independent of regular QWERTY keys, function keys and number pad. Its what I use, I have a shit ton of sounds macro'd into it :)


Download Post
Sir Sux-A-Lot
Subject:  
holy crap I paid $12 at walmart for my keyboard and I love it :>

Download Post
BECK
Subject:  
I posted my two toggle scripts if they're helpful :)

Download Post
miller
Subject:  
Damn Beck, that's a pricey piece of hardware D:
www.canadacomputers.com/product_info.php?cPath=21_273_274&item_id=033555

--edit--
$10 cheaper

Download Post
BECK
Subject:  
I didn't pay that much for it lol - maybe $70 or something, which yeah, a lot for a keyboard. But I love it.

Download Post
miller
Subject:  
I need to find a deal on one. My "2" key sticks sometimes on this otherwise lovely $25 keyboard (Eclipse Litetouch).

Download Post
PumpkiN
Subject:  
every time i buy a fancy keyboard, i spill drink into it.. then i buy a 5 buck one from walmart and i keep it for years. wtf ??

Download Post

Page 1 of 1


 Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Full Version
Powered by IntegraMOD © 2004, 2005 The Integramod Group
[ Forum powered by phpBB © 2001, 2005 phpBB Group :: All times are GMT - 5 Hours :: Design by phpBBXS.Com | Lo-Fi Mod ]
[Page generation time: 0.6748s (PHP: 68% | SQL: 32%) | SQL queries: 94 | GZIP disabled | Debug on]