Page 2 of 2

Re: Fake Console Breakthrough!

Posted: Mon Jul 13, 2009 4:24 pm
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.

Re: Fake Console Breakthrough!

Posted: Mon Jul 13, 2009 5:14 pm
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.

Re: Fake Console Breakthrough!

Posted: Wed Jul 15, 2009 12:57 pm
by Par3210
i tried all of this but none of it worked... :cry:

Re: Fake Console Breakthrough!

Posted: Wed Jul 15, 2009 4:00 pm
by Teancum
Guess you're out of luck then.

Re: Fake Console Breakthrough!

Posted: Thu Jul 16, 2009 6:11 am
by Par3210
yeah. :(
Oh well.