Page 1 of 1

lua command

Posted: Mon Dec 02, 2013 11:20 am
by nobody3
I noticed there are some unknown commands in modtools debug .exe's fake console

I saw there was Frame Rate command that could be used (Shows framerate) and some others which i didnt see before i think

Does anyway know what lua commands to use to activate those? Thanks

Re: lua command

Posted: Mon Dec 02, 2013 3:34 pm
by Lorul1
I was searching for the "kill all AI" command from the fake console in my post here. No one knew the command so we (gametoast) ARE missing some. HOWEVER he creator of the fake console knows them, you should ask the creator WITH AN ADMINS PREMISSION for the command you want. It IS against the rules to private message other people to ask them questions. Sorry if I wasn't of much help but that the only answer I can come up with. :greeny:

Re: lua command

Posted: Mon Dec 02, 2013 3:51 pm
by Teancum
nobody3 wrote:I noticed there are some unknown commands in modtools debug .exe's fake console

I saw there was Frame Rate command that could be used (Shows framerate) and some others which i didnt see before i think

Does anyway know what lua commands to use to activate those? Thanks
Fake console commands cannot be activated via lua. Some can be replicated with some slick coding, but you can't call a console command via lua.

Also, I listed all commands taken directly via hex editor from the game's exe. You can find them in the topic below. Just be aware they aren't all documented.

http://www.gametoast.com/forums/viewtop ... 27&t=12469

Re: lua command

Posted: Mon Dec 02, 2013 6:18 pm
by nobody3
oh, I see, I got confused then because I used some other commands in map lua script I think SetAllowBlindJetJumps (or something like that) and I saw the same thing in fake console...

anyways, so how can I get the framerate command which is in debugger exe's fake console? I searched in the topic you mentioned but couldnt find it...

Re: lua command

Posted: Tue Dec 03, 2013 7:15 am
by Teancum
The retail version of the exe only has one fake console command. To use the other one's you'll have to use the modtools exe.

Re: lua command

Posted: Tue Dec 03, 2013 8:05 am
by nobody3
yes thats what I meant by debugger exe, mine is called "BF2_modtools_NoDVD"
so is it possible to get the commands from it's fake console? specifically framerate command?
Id like to use it on console (When I figure out how to add fake console commands there anyway xD) but without knowing the actual command that needs to be added to it Ive no idea