A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Trying to bulid a RTE Program for halo

Author Topic: Trying to bulid a RTE Program for halo (3 messages, Page 1 of 1)
Moderators: Dennis

jackrabbit
Joined: Apr 27, 2005

Fight Against the Machine of Deth!


Posted: Nov 1, 2013 07:24 PM    Msg. 1 of 3       
need help makeing batch selectable menu. for cmd



like...

select option 1

select option 2

select option 3

and want to be able to select them with my arrow keys

I was looking in to the choice command but still don't see how to make my menu selectable with the arrow keys.

http://users.cybercity.dk/~bse26236/batutil/help/CHOICE_E.HTM

my current set up uses numbers instead.

batch code

--------------

@echo off

cls

:menu1

cls

echo " Welcome to My Menu "

echo " Please select your command! "

echo listcommands is 1

echo internet explorer is 2

echo



set /P _commandselection=1-2:

if "%_commandselection%"=="1" goto listcommands

if "%_commandselection%"=="2" goto internet explorer



:listcommands

start "listcommands " listcommands

pause

goto menu1



:internet explorer

start "internet explorer" internet explorer

pause

goto menu1

-------------------------------------

can anyone help?

this video shows what im trying to make.

http://www.youtube.com/watch?v=vQh3FHS2puA
he's using some thing called ckey.exe I have been serching for it but I cant find it.
im trying to bulid a RTE Program for halo if you know what that means.
and I just need this for the menu layout of the program.
I already have everything else.
but I don't come acrosst to many people who program In the ancient lang of dos and batch and c
everyone now days is using c++ or c# or vb.
hope someone can help?
Edited by jackrabbit on Nov 1, 2013 at 07:24 PM


jackrabbit
Joined: Apr 27, 2005

Fight Against the Machine of Deth!


Posted: Nov 2, 2013 01:49 PM    Msg. 2 of 3       
Woh! Smack!
That is amazing & it works to perfect! =)
Wow I thought I needed a .exe to do this for sure.

I have been searching on the internet for days for this.
You really saved me I hope i can put it to use. now. thanks so much for your time.

is it possible you can change the wasd to the arrows and conferm with enter insted of c?
its funny you dint fine anything in there as old as dos is the choice command only works on vista and up not even xp. computers use that command in console from what I have have come to find.
you cant even guess how hard I searched for days on the internet only to find noting. on what should be so simple.

that you tube video was the best i could find and oddly hes only sending the code out in privet emails for people who like and subscribe to his channel and send requests.

but this is so much better because I don't even need an external .exe
Edited by jackrabbit on Nov 2, 2013 at 02:08 PM


jackrabbit
Joined: Apr 27, 2005

Fight Against the Machine of Deth!


Posted: Nov 2, 2013 04:00 PM    Msg. 3 of 3       
I am I'm trying to build an amazing menu.
I don't really understand why there are extra stuff in the error level part?

If the first one is...

if "%errorlevel%"=="1" goto option 1
if "%errorlevel%"=="2" goto option 1
if "%errorlevel%"=="3" goto option 2

and the second one is...

if "%errorlevel%"=="1" goto option 2
if "%errorlevel%"=="2" goto option 2
if "%errorlevel%"=="3" goto option 1

How do I add my 3ed and 4th options to the menu?
What do I need to do to extend this further?
It seems to me like there should not even be an error level 3 in there right now because I only have 2 buttons? or is there something I'm missing?
Edited by jackrabbit on Nov 2, 2013 at 08:00 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 8:10 AM 282 ms.
A Halo Maps Website