News:

Come Chat with us live! Learn how HERE!

Main Menu

Question on binds

Started by TonkaTruck, November 22, 2006, 07:37:57 PM

TonkaTruck

Alright, I am currently using Basilisco's bind .cfg file and I really want to change it to my uses and such.

I tried making my own .cfg file by typing in the filepaths and such in hopes of getting it right and copied this into it:

Quotebind 1 "buy ammo"
bind 2 "sell weapons;buy chaingun; itemact chaingun;class level3"
bind 3 "sell larmour; sell helmet; sell battpack; sell jetpack; buy bsuit"


bind ALT "boost"
bind CTRL "+movedown"
bind j "itemtoggle jetpack"
bind g "itemact gren"

//Team messages
bind F3 "say_team ^3!!!^1GRENADE^3!!!"
bind F4 "say_team ^3!!!^1INCOMING^3!!!"
bind F5 "say_team ^3Defend Base!"
bind F6 "say_team ^3Attack NOW!!"
bind F7 "say_team ^3Get Ready to attack in 1 minute!"
bind F8 "say_team ^3REACTOR/OM DOWN!"

//Quick Join
bind F9 "team aliens"
bind F10 "team humans"

//Clear screenshot
bind F12 "cg_drawgun 0; cg_draw2d 0; wait 25; screenshotjpeg; cg_drawgun 1; cg_draw2d 1"

//Demo
bind DEL "set g_synchronousClients 1; record"
bind END "stoprecord; set g_synchronousClients 0"

Well, would this work?
Also, how do I turn the previous bind file off and turn this particular one on.

If you can, make this into a proper .cfg file for me when you can.

bidubida

1st, put the file in tremulous/base folder
2nd, name it "autoexec.cfg" to run it automatically when you run the game, otherwise, you will need to type a command like /name.cfg, i don't emember of this command :/
3rd, encode the file in 'UTF-8' with a software like notpad++


(texts are in french i can't do better :/)

TonkaTruck

Should I mention I run Win98, not XP or some new fangled system?
And last time I checked, You can't do any encoding with a .txt document.


Caveman

Not here too :(
DON'T spread any myths about UTF-8

Using Notepad w/o UTF-8 is fully sufficient

PIE

Quote from: TonkaTruckShould I mention I run Win98, not XP or some new fangled system?
And last time I checked, You can't do any encoding with a .txt document.

I don't know.. but frankly NOTEPAD++ IS AWESOME YOU SHOULD HAVE IT ANYWAY! (notepad can encode on XP)

"Would this work" - Why don't you find out?
"How do I turn the previous off and this one on?" - Rename the old one to something like bak-autogen.cfg and name this one autogen.cfg ...


a cfg file is a text file.... a proper cfg file is a text file.... i'm not even sure the encoding really matters because i'm pretty sure i opened mine up and edited it with notepad and didn't bother to check the encoding and my binds work dandy.

Undeference

I think the answer had more to do with 'exec' than text encoding...
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

kevlarman

Quote from: PIENOTEPAD++ IS AWESOME YOU SHOULD HAVE IT ANYWAY! (notepad can encode on XP)
EMACS!!!!
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

David

Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

WolfWings ShadowFlight

Quote from: DavidEmacs??
VI!

Screw you both.

Nano -w.

raf

Quote from: WolfWings ShadowFlight
Nano -w.
that's disgusting

(vim ! ) :-)

vcxzet

maybe you dont know but the best editor for XP is scite
notepad2 is also not bad[/url]

David

Quote from: vcxzetmaybe you dont know but the best editor for XP is scite
notepad2 is also not bad[/url]

SciTE is the best editor ever.

it and VI are all I use.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.