Author Topic: Binds according to stage?  (Read 3590 times)

[Doh]

  • Posts: 26
  • Turrets: +0/-1
Binds according to stage?
« on: February 15, 2007, 01:56:37 am »
Well, Blazeraid set me out to make him some binds, for his whole gameplay and he came across the idea to make scrolling up and down go through the list of things to build and it works great, but I want to improve it.  In stage 1, it goes through the things, which includes the DC, Repeater, and Tesla's etc, and it takes extra time to get through those parts.

So...


Question:  Is there anyway I can make a bind occur if it's a certain stage, automatically, without any buttons being pressed to set a seta saying is is that stage?

Something like

bind P "STAGE1: say "Stage 1!";STAGE2: say "Stage 2";"

?

Any help is appreciated.
img]http://img244.imageshack.us/img244/927/zillaclanbar4vu1.png[/img]

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Binds according to stage?
« Reply #1 on: February 15, 2007, 01:58:38 am »
it can't be done with the current scripting system.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok 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| #
|.@.-##
-----

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Binds according to stage?
« Reply #2 on: February 15, 2007, 02:49:56 am »
Hence why i want a client side scripting language, so a bind could be:
/bind s "Stage $teamstage$"

Would produce
Paradox|SST+Op|: Stage 1


And so on.

∧OMG ENTROPY∧

Stof

  • Posts: 1343
  • Turrets: +1/-1
Binds according to stage?
« Reply #3 on: February 15, 2007, 09:29:57 am »
Quote from: "Paradox"
Hence why i want a client side scripting language, so a bind could be:
/bind s "Stage $teamstage$"

Would produce
Paradox|SST+Op|: Stage 1


And so on.

That can hardly be called a client side scripting engine :-?
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Binds according to stage?
« Reply #4 on: February 15, 2007, 11:55:48 am »
why cant we just get bash embedded into the console?
(with a ton or variables pre-set of course...)
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.

[Doh]

  • Posts: 26
  • Turrets: +0/-1
Binds according to stage?
« Reply #5 on: February 15, 2007, 03:42:15 pm »
Okay thanks for the replies.
img]http://img244.imageshack.us/img244/927/zillaclanbar4vu1.png[/img]

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
Binds according to stage?
« Reply #6 on: February 15, 2007, 04:29:22 pm »
Sadly you would need and if () { then system :(

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Binds according to stage?
« Reply #7 on: February 15, 2007, 06:44:00 pm »
Quote from: "Smokey"
Sadly you would need and if () { then system :(


Why bother?
Just use ((bool) ? true : false )
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.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Binds according to stage?
« Reply #8 on: February 15, 2007, 08:08:37 pm »
Why don't you just bind a few keys to exec the right config file? :roll: Isn't it a little too early to talk about writing it in the scripting language which hasn't even been agreed upon yet?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.