View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-04-2006 , 12:44   Record Demo ClanMod style (V2.5)
Reply With Quote #1

Since beginning of my AMX/AMX X usage for me it was missing some item in frontmenu for recording a demo (like it was in old ClanMod by default).
The demo is created in this way - You need to choose from frontmenu (or by console command "amx_recorddemo") the item "Record Demo" (the item is added to the frontmenu automatically by the plugin). Then You will see the question "Record demo to" proposed file name:
a) on listenserver - "PlayerName MapName NumberOfDemoAtThisMap.dem" - that number is increased everytime saving the demo file (ClanMod style) - for example:
KWo de_dust2 9.dem
b) on dedicated server - "PlayerName MapName MM-DD-YYYY HH_MM.dem"
(there is a date and time instead number of demo for that map) - for example:
KWo de_aztec 12-31-2006 01_11.dem

Under the proposed file name You can see options - 1.yes and 2.not. If there is already started any demo recording by this menu You will see the new question "Stop demo recording?" 1. Yes.
You can also start demo recording by say command - it's "say recdemo" (or "say_team recdemo").

This plugin makes also screenshot with scoreboard. For this - console command amx_screenshot or from frontmenu.
You can also call this screenshot by say command - "say scr" (or "say_team scr").

The attachement contains the main recorddemo plugin and file with translations (currently available languages are: en, pl, fr).
The idea of the plugin I've got from some KaszpiR's plugin, but he even doesn't remember where did he get it from.

[EDIT]
Changed "while (replace ...)" stuff by "replace_all" suggested by Emp`. Optimized a bit.
[/EDIT]
[EDIT2]
Fixed problem with demo names recorded on dedicated servers.
Updated the translation file with french texts - thanks to arkshine.
[/EDIT2]
[EDIT3]
Added amx_chat at start and at end demo recording to show to all admins that this action with demo is happening, added "status" command at start demo recording (that thing with status works correctly on DS only).
[/EDIT3]
[EDIT4]
Updated the lang (txt) file - added German (de) translation.
[/EDIT]
Attached Files
File Type: sma Get Plugin or Get Source (recorddemo.sma - 6664 views - 4.3 KB)
File Type: txt recorddemo.txt (2.3 KB, 3017 views)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 10-21-2007 at 04:31.
KWo is offline