LUA - what's possible?

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
nUllSkillZ
Posts: 62
Joined: Mon Dec 29, 2003 12:25 pm

LUA - what's possible?

Post by nUllSkillZ »

Hi,

ATM I'm thinking to do a more accessible version of W:ET (inspired by Games accessibility for all @ katsbits).
And I thought about ET-Pro's LUA.

In a first step I would like to add new HUD elements.
Some kind of sound radar.

What is possible with LUA?
Is it possible to re-create / drop / extend "SDK" functions?
Is it possible to add graphical and sound elements/resources?
And exchange stock graphic/sound elements with new ones?

I've had a look at some of the scripts in the Wiki.
And get a rough idea.

And unfortunately I have no knowledge about LUA so far.
Are there any links to W:ET specific resources (keywords etc.).

BTW ET-Pro has an accessible feature already:
The simple items.

Any help much appreciated.
Thnx in advance.

p.s.:
First I thought about AVE as "audio visuell effects".
Now I think AVE could / should stand for "accessible version (of) ET".
Ave @ Wikipedia.org

[edit]
Some additional questions:
Is it possible to use (client)CVAR's?
Is the LUA script (if started at game init) executed before or after the normal program?
And I guess game init means at every mapchange.
[/edit]
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

i'm pretty sure not much of what you're wanting to do can be done with LUA... but i'll be corrected very soon if i'm wrong
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

etpro lua is strictly on the server. This is unlikely to change. I doubt you could do what you intend in any sane manner with server only changes.

The wiki is the the (in)complete manual for etpro lua.
send lawyers, guns and money
nUllSkillZ
Posts: 62
Joined: Mon Dec 29, 2003 12:25 pm

Post by nUllSkillZ »

:(
Thnx anyway.
User avatar
Father
Posts: 107
Joined: Sat Jul 22, 2006 1:30 pm
Location: Czech Republic
Contact:

Re: LUA - what's possible?

Post by Father »

nUllSkillZ wrote:Is it possible to use (client)CVAR's?
Yes.
nUllSkillZ wrote:Is it possible to use (client)CVAR's?
Is the LUA script (if started at game init) executed before or after the normal program?
LUA modules are reloaded if map is changed or restarted.
If you don't do it, someone else will.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Re: LUA - what's possible?

Post by ReyalP »

Father wrote:
nUllSkillZ wrote:Is it possible to use (client)CVAR's?
Yes.
This is not correct. Lua does NOT have access to client cvars. It does have access to some things that are connected to client cvars, such as userinfo and config strings that ultimately end up setting client cvars.
send lawyers, guns and money
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

yes the lua scripting is server side and u cant do much to client apart from altering the client sess or pers variables

u can make a slight altered gametype or other funny things , u might even beable to spawn a rader in from of the client so popups on his screen but it will look stoopid in 3rd person vieuw :P. witch is actualy a verry bad idea :wink:

but wut are trying no etpro lua is not the answer for that u gonig to need to h@xor the et client
Post Reply