etpro lua

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)


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


Boring stuff, but I'm sure someone out there might find it interesting..


...hmm maybe not.
Comments
0
Back to top