Check out www.metamod.org for examples on simple plugins :)
I haven't used AMX mod, but I know Admin Mod back to front and it would be pretty simple to expose this to the scripting engine (just add a new command in admin_commands.cpp to return the player x,y,z) and then write a script to periodically print positions in the server log.
Drew Lanclos wrote:
Greets, people. I've combed through the hlds_apps archives, and spent a little while mucking around in hlcoders, but I can't seem to find anything relevant to my question, so here goes.I'm working on an academic project/experiment in which we'll be using a team-based FPS/FPS-mod to run subjects, and I need some pretty extensive logging capability that I haven't seen anyone propose in HL/TFC/CS. I'm glad so many events notices are available, but I need positioning coordinates logged with that information, and more importantly, I need to get log entries even if an event isn't occuring. We're looking to use TFC, because one of the aspects we require is somewhat of a chain-of-command, and none of the other titles we've looked at really offer the expandability/flexibility that HL already has. The more info we can grab (Both in quantity and in sampling rate), the better, but we need, at minimum, player position data with a timestamp. We could combine that with the event log (since it can include player damage as well as player death). If we can keep track of ammo/weapons supplies, that'd be great too, since then we could draw conclusions about player approaches to situations based on what weapons they still have ammo for and what the situation in front of them looks like. I know this data must be available in some form or other, since the client needs this to draw the viewport, but what I've read seems to imply that the backend does some clipping beforehand...For instance, if the server determines a player isn't visible to another player, it doesn't even transmit that data to the 2nd player. Is that right, or am I off my rocker here? I'd like to be able to just construct a logging plugin...and any direction/pointers anyone can give me here would be ideal. I'd rather not have to construct a "fake" spectator client to get the data. :) If we go with TFC, we'd be running 3110 on Slackware (actually, it's running now, with MM, FoxBot, and AMX Mod. Thanks in advance. -Drew --------------- Recursion (n) ri*ker*shun - See "Recursion" _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
_______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
