Fake Console Breakthrough!

Talk and share anything related to Star Wars Battlefront 2. No maps or mod announcements here. Use Work in Progress forum.

Moderator: Moderators

User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Fake Console Breakthrough!

Post by [RDH]Zerted »

Yes, typing all that in should work. I don't know the differences between ReadDataFileInGame and ReadDataFile. If you plan to do a lot of changes through the Code Console, I'd recommend creating your own FakeConsole commands. There should be instructions on it in v1.3's docs.

Any units added through AddUnitclass will be automatically tracked by patch. Meaning the normal FakeConsole commands will work as expected on any new units you add while the game has already started.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Fake Console Breakthrough!

Post by Maveritchell »

[RDH]Zerted wrote:Yes, typing all that in should work. I don't know the differences between ReadDataFileInGame and ReadDataFile. If you plan to do a lot of changes through the Code Console, I'd recommend creating your own FakeConsole commands. There should be instructions on it in v1.3's docs.
I've done a little testing on ReadDataFile/ReadDataFileIngame before (both before and after you'd made the code console), and I haven't been successful actually reading in new data in the ScriptPostLoad. If you're trying to modify something, it should be something that was already loaded in before the level started.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Fake Console Breakthrough!

Post by Par3210 »

i tried all of this but none of it worked... :cry:
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: Fake Console Breakthrough!

Post by Teancum »

Guess you're out of luck then.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Fake Console Breakthrough!

Post by Par3210 »

yeah. :(
Oh well.
Post Reply