trickjumptools

ET Pro Documentation Project

Moderators: Forum moderators, developers, ET Pro Documentation

User avatar
fretn
Posts: 341
Joined: Sun Jul 27, 2003 4:35 am
Location: Belgium!

trickjumptools

Post by fretn »

http://www.d-e-sign.be/files/etpro/docs ... index.html
http://www.d-e-sign.be/files/etpro/docs ... index.html

Trickjumplines or tjl's in short are lines that trace the path of your movement.<br><img src="http://www.d-e-sign.be/files/etpro/docs ... action.jpg">

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.<br><br><b>The menu way</b><br>To use the menu you have to bind the console command to a key. <br><br>Example: /bind <key> tjl_menu<br><br><br><img src="http://www.d-e-sign.be/files/etpro/docs ... "></center>
<br>As you can see there are five menu items:<br>
<ul>
<li>Record: this starts recording your movements.
<li>Stoprecord: this stops your movement recoring.
<li>Quicksave: if you want to save your impressive jump into a file so you can share it with your friends, use this option.
<li>Quickload: this loads the last Quicksaved trickjumpline, if you want to load other tjl files you have to use the console.
<li>Draw slot: this toggles the drawing of the current slot.
</ul>
All these actions are executed on the slotnumber set in the cvar *b_tjl_quickslot*, you can use a maximum of 10 slots.<br><br>
<b>The console way</b><br>
Open the console and type the commando /tjl_info, this will give you detailed information about all the tjl cmd's and cvars.<br>
<ul>
<li>tjl_startrecord <clientnum> <slot> OR <slot> OR no parameters records your own movements: starts recording your movements
<li>tjl_stoprecord : stops recording your movements
<li>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
<li>tjl_save <filename> <slot> : saves the current slot into a file
<li>tjl_load <filename> <slot> : loads the current file into a slot
<li>tjl_menu : a nice menu to easy use the tjl tools
<li>b_tjl_draw <1/0> : draws a recorded movement
<li>b_tjl_stoponnomove <1/0> : stops recording when not moving
<li>b_tjl_color <hex value> : default linecolor
<li>b_tjl_showmaxspeed <1/0>: shows the players max speed at that point on the line
<li>b_tjl_stepsize <number> : the distance between two points on the line, if you want to draw much long lines, use a big stepsize
<li>b_tjl_quickslot <number> : this slotnumber is used when u use the tjl_menu
</ul>
<br><br>
<b>Other benefits of the trickjumplines</b><br>
You can use the trickjumplines to teach your tactics to your teammates, by showing them the places where they have to move to.<br>
Or custommapmakers can include some tjl's into their pk3's so people can use them to learn the shortest path to the objectives.<br><img src="http://www.d-e-sign.be/files/etpro/docs ... jumpghosts or tjg's in short are fake players that playback a recorded movement.<br>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.<br><br><b>The menu way</b><br>To use the menu you have to bind the console command to a key. <br><br>Example: /bind <key> tjg_menu<br><br><img src="http://www.d-e-sign.be/files/etpro/docs ... pg"><br>As you can see there are five menu items:<br>
<ul>
<li>Record: this starts recording your movements.
<li>Stop: this stops your movement recoring.
<li>Quicksave: if you want to save your impressive jump into a file so you can share it with your friends, use this option.
<li>Quickload: this loads the last Quicksaved trickjumpghost, if you want to load other tjg files you have to use the console.
<li>Play: play a recorded/loaded ghost back.
<li>Pause: pause the playback.
<li>Effects: none - flicker - ghost - fire - fire only</li>
</ul><br><br><b>The console way</b><br>Open the console and type the commando /tjg_info, this will give you detailed information about all the tjg cmd's and cvars.<br>
<ul>
<li> tjg_record : starts recording your movements
<li> tjg_play : plays back a recorded ghost
<li> tjg_stop : stops playing or recording
<li> tjg_pause : pauses/resumes the ghost playback
<li> tjg_menu : a convenient menu for the tjg tools
<li> tjg_save <filename> : saves a recording to a file
<li> tjg_load <filename> : loads a recording from a file
</ul><br><br>
<b>b_drawspeed</b><br>
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).
<table width="680"><tr><td class="gen">b_drawspeed 1<img src="http://www.d-e-sign.be/files/etpro/docs ... "></td><td class="gen">b_drawspeed 2
<img src="http://www.d-e-sign.be/files/etpro/docs ... "></td><td class="gen">b_drawspeed 3
<img src="http://www.d-e-sign.be/files/etpro/docs ... "></td><td class="gen">b_drawspeed 4
<img src="http://www.d-e-sign.be/files/etpro/docs ... "></td><td class="gen">b_drawspeed 5
<img src="http://www.d-e-sign.be/files/etpro/docs ... .jpg"></td class="gen"></tr></table><br>If you have moved like teh 1337 and you are in need of a reset, use "resetmaxspeed"
Day by day : http://w.twwwo.be/
Medicati0n
Posts: 5
Joined: Thu Jul 15, 2004 10:03 pm

Post by Medicati0n »

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.
User avatar
IdNotFound
Posts: 197
Joined: Wed Dec 03, 2003 8:21 pm
Location: Brazil
Contact:

Post by IdNotFound »

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 :roll:) 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. ;)

In case someone like Quake 3 tricks and related, homepage for the defrag mod is http://www.planetquake.com/defrag/ ;)
Image nZ/IdNotFound
NaZGûL TeaM Leader
SAWL Tech Staff
Medicati0n
Posts: 5
Joined: Thu Jul 15, 2004 10:03 pm

Post by Medicati0n »

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
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

the defrag idea is a good one.
User avatar
V6.Sven
Posts: 86
Joined: Fri Jan 23, 2004 10:12 am
Location: Netherlands!

Post by V6.Sven »

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: Select all

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: Select all

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 :)(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 :)).
User avatar
V6.Sven
Posts: 86
Joined: Fri Jan 23, 2004 10:12 am
Location: Netherlands!

Post by V6.Sven »

V6.Sven wrote:(each wait command has a duration of 1/fps*1000 seconds
Ms that is.
User avatar
Simpledark
Posts: 32
Joined: Mon Apr 26, 2004 8:06 am
Location: Portugal

Post by Simpledark »

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??
User avatar
fretn
Posts: 341
Joined: Sun Jul 27, 2003 4:35 am
Location: Belgium!

Post by fretn »

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/
User avatar
Simpledark
Posts: 32
Joined: Mon Apr 26, 2004 8:06 am
Location: Portugal

Post by Simpledark »

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??
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

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.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
User avatar
fretn
Posts: 341
Joined: Sun Jul 27, 2003 4:35 am
Location: Belgium!

Post by fretn »

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/
User avatar
Simpledark
Posts: 32
Joined: Mon Apr 26, 2004 8:06 am
Location: Portugal

Post by Simpledark »

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 :P

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??
User avatar
fretn
Posts: 341
Joined: Sun Jul 27, 2003 4:35 am
Location: Belgium!

Post by fretn »

np ;)
Day by day : http://w.twwwo.be/
The Fitz
Posts: 1
Joined: Thu Nov 25, 2004 6:33 pm

Post by The Fitz »

Heu can i know why it dont work on the server i host myself it say cheats must be enable how i enable them?
Post Reply