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.
Fake Console Breakthrough!
Moderator: Moderators
- [RDH]Zerted
- Gametoast Staff
- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
- Maveritchell
- Jedi Admin
- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Fake Console Breakthrough!
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.[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.
- Par3210
- Jedi
- Posts: 1033
- Joined: Sun Jun 14, 2009 10:31 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Owning people in SWBF2
- Contact:
Re: Fake Console Breakthrough!
i tried all of this but none of it worked...
- 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: Fake Console Breakthrough!
Guess you're out of luck then.
- Par3210
- Jedi
- Posts: 1033
- Joined: Sun Jun 14, 2009 10:31 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Owning people in SWBF2
- Contact:
Re: Fake Console Breakthrough!
yeah.
Oh well.
Oh well.