Instruments of War
phpbb2 integraMOD
     
Go to top
Home • Forum • Check your PM • Register • Log in
Go to top
  Official site for the Enemy Territory clan Instruments of War
Calendar 
         
Navigation
Go to the homepageHome
Index of the forum.Forum
Listing of the current members of the IoW clan.IoW Members
Our good friends.IoW Regulars
Login to your iowclan.net accountE-Mail

Downloads
Topics that are top rated by forum usersLatest Ratings
See who is online at this time.Online Users
Read the rules of this websiteRules
Members of our staffStaff
View website statisticsStatistics

Frequently Asked Questions.FAQ
Search through forums.Search Forums

Donate to Instruments of WarDonate
Manage your own cookiesMy Cookies

<IoW> Server Rules

Who is Online

In total there are 208 users online ::
0 Registered,
208 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,349 Exploit Attempts.


Is it possible...
 
View previous topic View printer-friendly version Search Display number of posts for each poster in this topic Export topic thread to a text file View next topic
Author Message
Sir Sux-A-Lot
Admin
Admin
38083 Points

France US Texas
PostYou have posted in this forum: Thu Oct 25, 2012 9:28 am   Post subject:  Is it possible... Back to top 

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  No rating  
BECK
General of the Army
General of the Army
279782 Points

USA US Colorado
PostYou have posted in this forum: Thu Oct 25, 2012 9:50 am   Post subject:   Back to top 

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?

_________________
Very Happy
Download Post  No rating  
JvIasterMind
Retired
Retired
55792 Points

USA US Minnesota
PostYou have posted in this forum: Thu Oct 25, 2012 10:19 am   Post subject:  Re: Is it possible... Back to top 

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  No rating  
Sir Sux-A-Lot
Admin
Admin
38083 Points

France US Texas
PostYou have posted in this forum: Thu Oct 25, 2012 11:13 am   Post subject:  Re: Is it possible... Back to top 

JvIasterMind wrote (View Post): › Someone posted about the silEnT devs adding the extra weapons to the built-in class selector menu


That was me Smile


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  No rating  
JvIasterMind
Retired
Retired
55792 Points

USA US Minnesota
PostYou have posted in this forum: Thu Oct 25, 2012 1:34 pm   Post subject:  Re: Is it possible... Back to top 

Haha, I was kind of wondering if that was you on the forums! Laughing

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  No rating  
Sir Sux-A-Lot
Admin
Admin
38083 Points

France US Texas
PostYou have posted in this forum: Thu Oct 25, 2012 2:19 pm   Post subject:  Re: Is it possible... Back to top 

JvIasterMind wrote (View Post): › Haha, I was kind of wondering if that was you on the forums! Laughing

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 Razz)

Download Post  No rating  
Scopey
Retired
Retired
4032 Points

New Zealand
PostYou have posted in this forum: Thu Oct 25, 2012 6:08 pm   Post subject:   Back to top 

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  No rating  
BECK
General of the Army
General of the Army
279782 Points

USA US Colorado
PostYou have posted in this forum: Fri Oct 26, 2012 10:00 am   Post subject:   Back to top 

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 Smile


_________________
Very Happy
Download Post  No rating  
Sir Sux-A-Lot
Admin
Admin
38083 Points

France US Texas
PostYou have posted in this forum: Fri Oct 26, 2012 10:25 am   Post subject:   Back to top 

holy crap I paid $12 at walmart for my keyboard and I love it :>

_________________
Wu-Tang is for the children
Download Post  No rating  
BECK
General of the Army
General of the Army
279782 Points

USA US Colorado
PostYou have posted in this forum: Fri Oct 26, 2012 11:21 am   Post subject:   Back to top 

I posted my two toggle scripts if they're helpful Smile

_________________
Very Happy
Download Post  No rating  
miller
Retired
Retired
40315 Points

USA US Massachusetts
PostYou have posted in this forum: Sat Oct 27, 2012 1:55 am   Post subject:   Back to top 

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

_________________
millerbee(r) a.k.a.
Imagine my xfire profile here.
Download Post  No rating  
BECK
General of the Army
General of the Army
279782 Points

USA US Colorado
PostYou have posted in this forum: Sat Oct 27, 2012 8:50 am   Post subject:   Back to top 

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

_________________
Very Happy
Download Post  No rating  
miller
Retired
Retired
40315 Points

USA US Massachusetts
PostYou have posted in this forum: Sun Oct 28, 2012 9:05 pm   Post subject:   Back to top 

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

_________________
millerbee(r) a.k.a.
Imagine my xfire profile here.
Download Post  No rating  
PumpkiN
Retired
Retired
102492 Points

Estonia
PostYou have posted in this forum: Sun Oct 28, 2012 9:31 pm   Post subject:   Back to top 

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 ??

_________________
God does not play dice with the universe.
AAH.. but he does....

Download Post  No rating  
Display posts from previous:      
 


 Jump to:   



  View previous topic View printer-friendly version Search Display number of posts for each poster in this topic Export topic thread to a text file View next topic

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

Lo-Fi Version
Protected by CBACK CrackerTracker :: 1196937 Attacks blocked.
Protected by phpBB Security © phpBB-Amod :: phpBB Security ©  Has Blocked 2,349 Exploit Attempts.
 @ 2007 The Integra Team
 @ 2007 phpBB Group
:: FI Theme :: All times are GMT - 5 Hours ::
[Page generation time: 1.2s (PHP: 41% | SQL: 59%) | SQL queries: 94 | GZIP disabled | Debug on]