banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

trickjumptools
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation
View previous topic :: View next topic  
Author Message
fretn



Joined: 27 Jul 2003
Posts: 351
Location: Belgium!

PostPosted: Thu Apr 15, 2004 1:01 am    Post subject: trickjumptools Reply with quote

http://www.d-e-sign.be/files/etpro/docs/tjg/tjg_index.html
http://www.d-e-sign.be/files/etpro/docs/tjl/tjl_index.html

Trickjumplines or tjl's in short are lines that trace the path of your movement.


You can use them in two ways, the first one is the easy to use one (with a build-in menu), the second one is the console-way
but gives you more possibilities. Important: cheats must be enabled before you can use this tool.

The menu way
To use the menu you have to bind the console command to a key.

Example: /bind <key> tjl_menu


</center>

As you can see there are five menu items:


  • Record: this starts recording your movements.
  • Stoprecord: this stops your movement recoring.
  • Quicksave: if you want to save your impressive jump into a file so you can share it with your friends, use this option.
  • Quickload: this loads the last Quicksaved trickjumpline, if you want to load other tjl files you have to use the console.
  • Draw slot: this toggles the drawing of the current slot.

All these actions are executed on the slotnumber set in the cvar *b_tjl_quickslot*, you can use a maximum of 10 slots.


The console way

Open the console and type the commando /tjl_info, this will give you detailed information about all the tjl cmd's and cvars.


  • tjl_startrecord <clientnum> <slot> OR <slot> OR no parameters records your own movements: starts recording your movements
  • tjl_stoprecord : stops recording your movements
  • tjl_drawslot <slot> OR <slot> <color> : draws a given slot (toggle) b_tjl_color must be set to -1 in order to use this option
  • tjl_save <filename> <slot> : saves the current slot into a file
  • tjl_load <filename> <slot> : loads the current file into a slot
  • tjl_menu : a nice menu to easy use the tjl tools
  • b_tjl_draw <1/0> : draws a recorded movement
  • b_tjl_stoponnomove <1/0> : stops recording when not moving
  • b_tjl_color <hex value> : default linecolor
  • b_tjl_showmaxspeed <1/0>: shows the players max speed at that point on the line
  • b_tjl_stepsize <number> : the distance between two points on the line, if you want to draw much long lines, use a big stepsize
  • b_tjl_quickslot <number> : this slotnumber is used when u use the tjl_menu




Other benefits of the trickjumplines

You can use the trickjumplines to teach your tactics to your teammates, by showing them the places where they have to move to.

Or custommapmakers can include some tjl's into their pk3's so people can use them to learn the shortest path to the objectives.

Trickjumpghosts or tjg's in short are fake players that playback a recorded movement.
You can use them in two ways, the first one is the easy to use one (with a build-in menu), the second one is the console-way but gives you more possibilities. Important: cheats must be enabled before you can use this tool.

The menu way
To use the menu you have to bind the console command to a key.

Example: /bind <key> tjg_menu


As you can see there are five menu items:


  • Record: this starts recording your movements.
  • Stop: this stops your movement recoring.
  • Quicksave: if you want to save your impressive jump into a file so you can share it with your friends, use this option.
  • Quickload: this loads the last Quicksaved trickjumpghost, if you want to load other tjg files you have to use the console.
  • Play: play a recorded/loaded ghost back.
  • Pause: pause the playback.
  • Effects: none - flicker - ghost - fire - fire only



The console way
Open the console and type the commando /tjg_info, this will give you detailed information about all the tjg cmd's and cvars.


  • tjg_record : starts recording your movements
  • tjg_play : plays back a recorded ghost
  • tjg_stop : stops playing or recording
  • tjg_pause : pauses/resumes the ghost playback
  • tjg_menu : a convenient menu for the tjg tools
  • tjg_save <filename> : saves a recording to a file
  • tjg_load <filename> : loads a recording from a file



b_drawspeed

b_drawspeed draws a speedometer on your screen, the speed can be displayed in the unit of your choice (ups/mph/kmh), you can control the unit with b_speedunit (0 = ups, 1 = mph, 2 = km/h).
b_drawspeed 1b_drawspeed 2
b_drawspeed 3
b_drawspeed 4
b_drawspeed 5

If you have moved like teh 1337 and you are in need of a reset, use "resetmaxspeed"
_________________
Day by day : http://w.twwwo.be/
Back to top
View user's profile Send private message
Medicati0n



Joined: 15 Jul 2004
Posts: 5

PostPosted: Fri Jul 16, 2004 7:05 pm    Post subject: Reply with quote

Sorry if this is the wrong place to put this but, it would be nice to see a "key logger" for this.

Reasons:

I'm myself am learning how to trickjump, one of the things that bothers me most is not knowing what buttons the people are using while doing the jump. (i.e. w, space bar, a, d)

It'd be nice to see a little icon or something come on when ever those buttons are pushed. (A, D, W, S, Spacebar, and shift)

One problem with this system might be the fact that most trick jumpers bind shift to other keys such as mouse2.

Just something that would add to the feature list...

Also, if any of you know where I can find some of these tjl's to download.
Back to top
View user's profile Send private message AIM Address
IdNotFound



Joined: 03 Dec 2003
Posts: 197
Location: Brazil

PostPosted: Fri Jul 16, 2004 10:00 pm    Post subject: Reply with quote

There is a Quake 3 mod called "defrag". Is it very trickjump-oriented (and a couple other things), so it has this and many many MANY other features. So many features that you won't need most of them actually hehe...

When you crouch, a "C" shows up in front of the crosshair. Strafing and forward/backward movements are shown as triangular arrows all around the crosshair and jumping shows a "J" in front of the crosshair just like crouching.

For ET, we would just need a "P" (for prone Rolling Eyes) and an "S" for sprint. Alternatively, I believe changing the color of the arrows when sprinting would be better to notice the actual use of the sprint, specially because it would be a very frequent key press, and annoying on the screen IMO. Wink

In case someone like Quake 3 tricks and related, homepage for the defrag mod is http://www.planetquake.com/defrag/ Wink
_________________
nZ/IdNotFound
NaZGŻL TeaM Leader
SAWL Tech Staff
Back to top
View user's profile Send private message Visit poster's website
Medicati0n



Joined: 15 Jul 2004
Posts: 5

PostPosted: Fri Jul 30, 2004 10:17 am    Post subject: Reply with quote

I'm unsure if you guys are aware of this place, but they are using this, the ghost and line.

Http://et-trickjumping.com / http://et-tj.com - same
Back to top
View user's profile Send private message AIM Address
bani
Site Admin


Joined: 21 Jul 2002
Posts: 3685

PostPosted: Fri Jul 30, 2004 10:23 am    Post subject: Reply with quote

the defrag idea is a good one.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
V6.Sven



Joined: 23 Jan 2004
Posts: 86
Location: Netherlands!

PostPosted: Tue Aug 24, 2004 4:40 am    Post subject: Reply with quote

Medicati0n wrote:
Sorry if this is the wrong place to put this but, it would be nice to see a "key logger" for this.


I had that problem too some time ago. I wrote 2 scripts for this, one of them gives you a detailed picture on when which keys are pressed/released, the other uses a bug to show timestamps behind the keys you pressed.

Replace the e,s,f,space,shift with your own favorite jumping keys.

Code:
bind e "+vstr forward++ forward--"
bind s "+vstr moveleft++ moveleft--"
bind f "+vstr moveright++ moveright--"
bind space "+vstr sprint++ sprint--"
bind shift "+vstr moveup++ moveup--"

set forward++  "+forward;echo +forward;set forward++ vstr niks"
set forward+++ "+forward;echo +forward;set forward++ vstr niks"
set forward--  "-forward;echo -forward;set forward++ vstr forward+++"

set moveleft++  "+moveleft;echo +moveleft;set moveleft++ vstr niks"
set moveleft+++ "+moveleft;echo +moveleft;set moveleft++ vstr niks"
set moveleft--  "-moveleft;echo -moveleft;set moveleft++ vstr moveleft+++"

set moveright++  "+moveright;echo +moveright;set moveright++ vstr niks"
set moveright+++ "+moveright;echo +moveright;set moveright++ vstr niks"
set moveright--  "-moveright;echo -moveright;set moveright++ vstr moveright+++"


set sprint++  "+sprint;echo +sprint;set sprint++ vstr niks"
set sprint+++ "+sprint;echo +sprint;set sprint++ vstr niks
set sprint--  "-sprint;echo -sprint;set sprint++ vstr sprint+++"

set moveup++  "+moveup;echo +moveup;set moveup++ vstr niks"
set moveup+++ "+moveup;echo +moveup;set moveup++ vstr niks"
set moveup--  "-moveup;echo -moveup;set moveup++ vstr moveup+++"

set niks ""

Do a \clear before the jump, and a \condump <filename> afterwards. It produces a log like this:

+forward
+sprint
+moveleft
+moveup
-sprint
-moveup
+sprint
-moveleft
+moveright
+moveup
-moveup
-sprint
-forward
-moveright

For the timings, you can try this script:
Code:

bind s "+moveleft;echo moveleft"
bind f "+moveright;echo moveright"
bind e "+forward;echo moveforward"
bind shift "+moveup;echo moveup"
bind space "+sprint;echo sprint"


Because multiple commands bound to 1 key, starting with a + and containing an echo command produce a bug, you can create logs like this:

moveforward 101 4589171
moveforward 101 4589437
moveforward 101 4589484
moveforward 101 4589515
sprint 32 4589531
moveleft 115 4589640
moveup 138 4589640
moveup 138 4589843
moveleft 115 4590171
moveright 102 4590187
moveup 138 4590406
moveup 138 4590656
sprint 32 4591140
moveforward 101 4591171
moveright 102 4591234

The first 2 to 3 numers are key dependant, the last 7 are the timestamp. Combined with the detailed keypress info you should be able to figure you when which key was pressed and released. I tried to create some automated scripts based on the info gained, but that failed Smile(each wait command has a duration of 1/fps*1000 seconds, so when you substract 2 subsequent timestamps, and divide them using the "wait factor" you should get the amount of wait commands needed in your automated script. This is awfully hard and very time consuming, but it could work if you try really hard Smile).
Back to top
View user's profile Send private message Send e-mail MSN Messenger
V6.Sven



Joined: 23 Jan 2004
Posts: 86
Location: Netherlands!

PostPosted: Tue Aug 24, 2004 4:42 am    Post subject: Reply with quote

V6.Sven wrote:
(each wait command has a duration of 1/fps*1000 seconds


Ms that is.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Simpledark



Joined: 26 Apr 2004
Posts: 32
Location: Portugal

PostPosted: Mon Oct 18, 2004 11:18 am    Post subject: Reply with quote

Would like to know if is possible to make a ghost, a trick line and a demo at the same time.

Making a 3 in 1 kind of like binding all three commands to a single key.

And also if would be possible to make the trick line work with a stop command instead of stopping on their one! I donít know why but sometimes itís stops when Iím in middle air when performing a trick jump.

Thanks.
_________________
Been there... Done that... Argh... But what am I doing??
Back to top
View user's profile Send private message MSN Messenger
fretn



Joined: 27 Jul 2003
Posts: 351
Location: Belgium!

PostPosted: Tue Oct 19, 2004 4:39 am    Post subject: Reply with quote

Simpledark wrote:
Would like to know if is possible to make a ghost, a trick line and a demo at the same time.

Making a 3 in 1 kind of like binding all three commands to a single key.

And also if would be possible to make the trick line work with a stop command instead of stopping on their one! I donít know why but sometimes itís stops when Iím in middle air when performing a trick jump.

Thanks.


just make a script which executes all thre commands

at the stopping, have you checked this: b_tjl_stoponnomove <1/0> : stops recording when not moving
_________________
Day by day : http://w.twwwo.be/
Back to top
View user's profile Send private message
Simpledark



Joined: 26 Apr 2004
Posts: 32
Location: Portugal

PostPosted: Tue Oct 19, 2004 9:30 am    Post subject: Reply with quote

Tks I didn't knew that b_cvar existed...

By the way, is there any problem if I use the lines and the ghosts as part of a trickjump tutorial/demo website? Like copyright or something?
_________________
Been there... Done that... Argh... But what am I doing??
Back to top
View user's profile Send private message MSN Messenger
Rain



Joined: 02 Aug 2003
Posts: 651
Location: Muffin Laboratories

PostPosted: Tue Oct 19, 2004 11:19 am    Post subject: Reply with quote

Simpledark wrote:
Tks I didn't knew that b_cvar existed...

By the way, is there any problem if I use the lines and the ghosts as part of a trickjump tutorial/demo website? Like copyright or something?

Copyright on trickjump lines/ghosts/demos you record yourself is automatically owned by you under the Berne Convention.

http://www.et-trickjumping.com/ is a site like what you're suggesting, and AFAIK they were the first to offer ghosts/lines for download.
_________________
Rain
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
fretn



Joined: 27 Jul 2003
Posts: 351
Location: Belgium!

PostPosted: Wed Oct 20, 2004 12:52 am    Post subject: Reply with quote

Simpledark wrote:
Tks I didn't knew that b_cvar existed...


well reading the first post in this topic wont hurt :p
_________________
Day by day : http://w.twwwo.be/
Back to top
View user's profile Send private message
Simpledark



Joined: 26 Apr 2004
Posts: 32
Location: Portugal

PostPosted: Wed Oct 20, 2004 5:50 am    Post subject: Reply with quote

fretn wrote:


well reading the first post in this topic wont hurt :p


Sorry.. I've read it but didn't saw... I kinda rolled the eyes over it :s my mistake Razz

PS: I only noticed the cvar after posting cause I thought all the comands there were 'console shortcuts'
_________________
Been there... Done that... Argh... But what am I doing??
Back to top
View user's profile Send private message MSN Messenger
fretn



Joined: 27 Jul 2003
Posts: 351
Location: Belgium!

PostPosted: Thu Oct 21, 2004 1:05 am    Post subject: Reply with quote

np Wink
_________________
Day by day : http://w.twwwo.be/
Back to top
View user's profile Send private message
The Fitz



Joined: 25 Nov 2004
Posts: 1

PostPosted: Thu Nov 25, 2004 6:38 pm    Post subject: Reply with quote

Heu can i know why it dont work on the server i host myself it say cheats must be enable how i enable them?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group