Record demo script

Când, unde, cum, de ce ...

Moderator: Moderators

Forum rules
- Regulament forum
Post Reply
User avatar
mtF.Amin
Happy Camper
Posts: 202
Joined: 19 Jul 2009, 13:37
Location: Com T. Vladimirecu, Galati

Record demo script

Post by mtF.Amin » 16 Mar 2010, 10:18

As vrea sa stiu daca este posibil sa creati un script care sa ma scuteasca de comenzile din consola pentru inrergistrarea demo-urilor.

Bindez o tasta (de ex. "l") pe care daca o apas o data sa imi apara in stanga sus "Record:" , eu completez cu un nume, inregistrez, dupa care daca apas inca o data pe tasta respectiva opreste automat demo-ul. (daca se poate sa apara si un mesaj in stanga sus sau in chat/hud care sa anunte).

Multumesc anticipat.
Image
Image
User avatar
VibeRR
Junior
Posts: 82
Joined: 28 Jul 2009, 18:01

Re: Record demo script

Post by VibeRR » 16 Mar 2010, 19:40

//Quick and Easy Demo Recorder
alias echo_on "motdfile echo.txt; cl_showfps 0"
alias echo_off "developer 1; motd; developer 0; motdfile motd.txt"
alias demo[record] "demo[start]"
alias demo[start] "echo_on; motd_write [Recording Demo]; echo_off; messagemode record; alias demo[record] demo[stop]"
alias demo[stop] "echo_on; motd_write [Demo Stopped]; echo_off; stop; alias demo[record] demo[start]"
bind "INS" "demo[record]"

Presupun ca asta cautai :d
Image
Image
User avatar
Ciubey
Master of Spam
Posts: 763
Joined: 25 Nov 2007, 23:28
Location: Fierbinti / Bucuresti (1 din 2) :D

Re: Record demo script

Post by Ciubey » 16 Mar 2010, 19:47

SpoilerShow
[quote="VibeRR"]//Quick and Easy Demo Recorder
alias echo_on "motdfile echo.txt; cl_showfps 0"
alias echo_off "developer 1; motd; developer 0; motdfile motd.txt"
alias demo[record] "demo[start]"
alias demo[start] "echo_on; motd_write [Recording Demo]; echo_off; messagemode record; alias demo[record] demo[stop]"
alias demo[stop] "echo_on; motd_write [Demo Stopped]; echo_off; stop; alias demo[record] demo[start]"
bind "INS" "demo[record]"

Presupun ca asta cautai :d[/quote]
e bun dar exista un bug la acest script .

Apasa ins apoi esc si iar ins ...
Ce se intampla:
1. Apesi "Ins" -> apare mesajul unde sa scri numele
2. Apasand "Esc" -> dai cancel la comanda
3. Apasand "Ins" din nou -> scriptul iti spune ca a inregistrat demoul "[Demo Stopped]" dar in realitate nu se inregistra nimik :)

"Frumos nu ?"
SpoilerShow

"Al Meu E la Fel ... in mare parte"

motdfile demo1.txt
alias "motdread" "developer 1;motd;wait;developer 0;motdfile demo1.txt"
alias "saystatus1" "motd_write Demo Started !! Pls choose a name !!; motdread"
alias "saystatus2" "motd_write Demo ENded ... Script Made By Ciubey; motdread"
alias "demo1" "demoon"
alias "demoon" "saystatus1;spk fvox/activated;messagemode record;alias demo1 demostop"
alias "demostop" "alias demo1 demoon;saystatus;spk fvox/deactivated;stop;"
bind "tasta" "demo1"
Last edited by Ciubey on 16 Mar 2010, 19:59, edited 6 times in total.

No Cheats ... Cheats Are For N00bs For Stupid Idiots Who Cannot Prove There Good Enough

Jucand acest joc am invatat ca daca esti mic poti face lucruri mari, punand suflet in lucruri mari poti face sa fie gigantice ... insa am mai invatat ca fara prieteni poti sa te prabusesti de acolo imediat...

OFFTOPIC:
* To understand man you must be a man, but to understand girls, you must be a GOD! (maybe)
* Beţia e nebunie cu voia.
User avatar
VibeRR
Junior
Posts: 82
Joined: 28 Jul 2009, 18:01

Re: Record demo script

Post by VibeRR » 16 Mar 2010, 19:49

Sincer nu prea folosesc scriptul dar stiam ca il am in cfg.Mersi de atentionare :!:
Image
Image
User avatar
mtF.Amin
Happy Camper
Posts: 202
Joined: 19 Jul 2009, 13:37
Location: Com T. Vladimirecu, Galati

Re: Record demo script

Post by mtF.Amin » 18 Mar 2010, 17:03

Ambele sunt bune. Multumesc amandurora.
Image
Image
Post Reply