Can I change the editor to use within console mode?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

Can I change the editor to use within console mode?

Post by grb »

Hi all,
Does anyone know if I can change the editor used for editing scripts while in console mode to something other then the NOTEPAD.exe editor?

thanks for any help
cheers
grb
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

It's not exactly notepad.exe but it's an ingame notepad. You can't change it.
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Alt Enter

Post by tltrude »

If you hit Alt + Enter your game will be in a window on the desktop.
Tom Trude,

Image
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

jv_map, tltrude,

Post by grb »

Thanks for answers.... So much for that one. I tried using the ALT +
Enter Key sequence to put the game into a Window, but for what ever
reason, it does not work on my MS/ME machine. I have plenty of memory
(383mb main ram, high end video card,) AND NO background processes
running other then the Ethernet drivers. In short a pretty stable system.
I am not asking you to respond .... to this problem....just indicating that
ALT + Enter doesn't work on my machine, or at least hasn't in the past.

cheers
grb
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

developer mode

Post by tltrude »

I have Windows ME and it works for me. Maybe you just need to turn on developer mode. Here is what I have set in my desktop shotcut for the game:

"C:\Program Files\EA GAMES\MOHAA\MOHAA.exe" +set cl_playintro 0 +set ui_skip_eamovie 1 +set ui_skip_titlescreen 1 +set ui_skip_legalscreen 1 +set developer 1 +set thereisnomonkey 1 +set cheats 1 +set ui_console 1
Tom Trude,

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

You can also try alt + tab or stupid windows key + d
Image
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

tltrude and jv_map...

Post by grb »

Will try your suggestions. LT....I always start the game with +developer blah blah. So that is not the issue. All you showed in the shortcut I have on my icon. Perhaps the ALT +TAB and or control-d key sequences will
work.

thanks guys.
grb
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

not control key, the stupid key with the windows logo that drops u to desktop when u try to crouch...
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

looked it up

Post by tltrude »

I looked it up in the SDK game commands doc and this will put the screen in a window.

r_fullscreen 0

You can bind it to the F8 key or whatever. "r_fullscreen 1" makes it go back to full screen. When you are in the windowed mode the screen is still 100%, so all you see is the taskbar at the bottom and the thin header bar at the top. You can change that too with this command:

viewsize 50

It is normally "viewsize 100". Here is what I have about binding keys:

________________________________________________________________
Basic Commands


cmdlist - returns a list of all game commands.


bind "key" "command" - will "bind", or assign, any command to any key.
altbind "key" "command" - allows you to bind a command to [Alt] + any key
altbindlist - returns a list of all current Alt binds
ctrlbind "key" "command" - allows you to bind a command to [Ctrl] + any key
ctrlbindlist - returns a list of all current Ctrl binds

Note from tltrude: You can also bind more than one command to a key like this:

bind "key" "command; command"
altbind "key" "command; command"
ctrlbind "key" "command; command"

examples:

bind a "+moveleft; +leanleft"
bind d "+moveright; +leanright"


unbind (x) - will unbind key X
unaltbind (x) - will un-Alt-bind key X
unctrlbind (x) - will un-Ctrl-bind key X
unbindall - will wipe out all active binds. Be careful!


say "message" - can be used to bind a pre-written global message.
sayteam "message"- can be used to send out a pre-written message to your team only.
exec (filename) - will execute commands stored in a .cfg file.


kill - causes you to commit suicide.
quit - quits Allied Assault.

Basic Settings


cvarlist - returns a list of all game variables.


name "xxxx" - allows you to change your player name.
sensitivity "x" - sets your mouse sensitivity. Usually set between 5 and 20.
m_filter "x" - toggles the mouse filter on and off (0 / 1).
fps "x" - toggles framerate information on your screen (0 / 1).
cheats "x" - toggles cheats on and off (0 / 1).

________________________________________________________________
Tom Trude,

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I don't think altbinds nor ctrlbinds work :(
Image
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

alcoholic, jv_map, tltrude......

Post by grb »

thanks for your feedback. Tom, I will try the r_fullscreen and viewsize
stuff just for the heck of it.

ALT + TAB key sequence works on my machine.

I believe one could simply type in the console.....
r_fullscreen 0 ; viewsize 50 for instance without having to bind commands to keys, though I must admit I do use keys to give me full health when in a real pinch etc..

No need for any response at this point unless someone wants to add info
for general forum knowledge concerning stuff in this thread.

cheers.
grb
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

what script editor are you talking about?

oh, and those last few commands to take of the 3 intro screens were a big help! THanks!
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

smartaiguy wrote:what script editor are you talking about?
Type 'notepad' or 'editscript' in console ;).

You can even use a command line like:
notepad maps/dm/mymap.scr
Image
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

ok, thanks
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

OMG, theres really a built in script editor, I spent a month writing my own !!!!!!!!!!

Image
Post Reply