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
lua command
Moderator: Moderators
-
nobody3
- Rebel Sergeant

- Posts: 188
- Joined: Wed Jun 15, 2011 8:30 am
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: lua command
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:
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: lua command
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.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
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
-
nobody3
- Rebel Sergeant

- Posts: 188
- Joined: Wed Jun 15, 2011 8:30 am
Re: lua command
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...
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...
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: lua command
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.
-
nobody3
- Rebel Sergeant

- Posts: 188
- Joined: Wed Jun 15, 2011 8:30 am
Re: lua command
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
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
