lua command

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

lua command

Post 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
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: lua command

Post 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:
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: lua command

Post 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
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: lua command

Post 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...
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: lua command

Post 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.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: lua command

Post 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
Post Reply