etpro lua snapshot beta 1

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

Moderators: Forum moderators, developers

Post Reply
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

etpro lua snapshot beta 1

Post by bani »

etpro lua snapshot beta 1

this is a test version of the current development version of etpro lua support.

download it here.

this test release has the version number "3.2.5" and will generate pk3 warnings. this is intentional.

bugfixes
vec3 is fixed for et.gentity_set

new
et.ClientUserinfoChanged( clientNum ) function added
et_ClientSpawn( clientNum, revived ) callback added
et.G_Damage( target, inflictor, attacker, damage, dflags, mod ) function added

new gentity fields added
ps.* fields take an additional parameter for gentity_get/gentity_set:
val = gentity_get( entnum, "ps.stats", 5 )
gentity_set( entnum, "ps.stats", 5, 0 )
5 is the index into the ps.stats[] array. 5 in this case is STAT_PLAYER_CLASS (from bg_public.h)

clipmask
s.eType
s.origin
s.origin2
pers.connected
pers.netname
pers.localClient
pers.initialSpawn
pers.enterTime
pers.connectTime
pers.teamState
pers.voteCount
pers.teamVoteCount
pers.complaints
pers.complaintClient
pers.complaintEndTime
pers.lastReinforceTime
pers.applicationClient
pers.applicationEndTime
pers.invitationClient
pers.invitationEndTime
pers.propositionClient
pers.propositionClient2
pers.propositionEndTime
pers.autofireteamEndTime
pers.autofireteamCreateEndTime
pers.autofireteamJoinEndTime
pers.lastSpawnTime
pers.ready
ps.stats
ps.persistant
ps.powerups
ps.ammo
ps.ammoclip
Last edited by bani on Sat Jan 21, 2006 9:08 pm, edited 1 time in total.
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

no ping check???? :( just want my spec999 :(
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

Post Reply