Author Topic: How do i bind a key?  (Read 18267 times)

0 Members and 1 Guest are viewing this topic.

Razore

  • Centurian Lord
  • ********
  • Posts: 2,116
  • Reputation: +1/-1
    • http://chaoko.tripod.com
How do i bind a key?
« on: May 6, 2003 10:57 pm CDT »
(read title)
« Last Edit: December 31, 1969 06:00 pm CST by Razore »

xRazorex: Yo
BlAcKIcE398: wtf u got me killed newb
BlAcKIcE398: block
BlAcKIcE398 signed off at 3:49:05 PM.

Silvanoshei

  • Centurian Lord
  • ********
  • Posts: 1,804
  • Reputation: +0/-0
(No subject)
« Reply #1 on: May 6, 2003 11:03 pm CDT »
Read the Newbie Guide.
« Last Edit: December 31, 1969 06:00 pm CST by Silvanoshei »

The DoDoDo.

Your opinion is worthless unless you can support it.
We are not responsible for your stupidity.
I don't take sides. I take action.

Currently Playing:  Warcraft III [PC]

Razore

  • Centurian Lord
  • ********
  • Posts: 2,116
  • Reputation: +1/-1
    • http://chaoko.tripod.com
(No subject)
« Reply #2 on: May 6, 2003 11:07 pm CDT »
Itsnot on newb guide!
« Last Edit: December 31, 1969 06:00 pm CST by Razore »

xRazorex: Yo
BlAcKIcE398: wtf u got me killed newb
BlAcKIcE398: block
BlAcKIcE398 signed off at 3:49:05 PM.

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
(No subject)
« Reply #3 on: May 6, 2003 11:17 pm CDT »
read the documentation section dumbass. blade posted an entire section on key binding.
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

Silvanoshei

  • Centurian Lord
  • ********
  • Posts: 1,804
  • Reputation: +0/-0
(No subject)
« Reply #4 on: May 6, 2003 11:33 pm CDT »
*sigh*

To autorun...
bindAction(keyboard0, make, "[key of your choice]", TO, IDACTION_MOVEFORWARD, 1.000000);

To autofire...
bindCommand(Keyboard0, make, "[key of your choice]", TO, " postaction(2048,IDACTION_FIRE1,-0);");

To say something (like #sleep)...
bindCommand(keyboard0, make, "[key of your choice]", TO, "remoteeval(2048, say(0, \"[what you want to say]\"));");

Put those in <TribesRPG>\config\autoexec.cs

And it is in the Newbie Guide, you know.
« Last Edit: December 31, 1969 06:00 pm CST by Silvanoshei »

The DoDoDo.

Your opinion is worthless unless you can support it.
We are not responsible for your stupidity.
I don't take sides. I take action.

Currently Playing:  Warcraft III [PC]

Razore

  • Centurian Lord
  • ********
  • Posts: 2,116
  • Reputation: +1/-1
    • http://chaoko.tripod.com
(No subject)
« Reply #5 on: May 6, 2003 11:37 pm CDT »
I got it
bindCommand(keyboard0, make, "h", TO, "use(\"Crystal Energy Vial\");");
« Last Edit: December 31, 1969 06:00 pm CST by Razore »

xRazorex: Yo
BlAcKIcE398: wtf u got me killed newb
BlAcKIcE398: block
BlAcKIcE398 signed off at 3:49:05 PM.