Your starting position code only works if the first thing the player does is start a new game; you need to modify the function at 004BCBFC as well. The viewport thingy doesn't seem to work at all though. In my ida database I have that address marked as being part of the array of perks...Helios said:Hi, this is my code for changing Viewport and Start Position with Engine.
The .ini options: StartXPos=, StartYPos=, ViewXPos=, ViewYPos=
<snip>
The Code is for main.cpp
Edit: I think you're 0x200 off. Again, changing those addresses only works if you click new game straight away though; load/cancel/new breaks it. It'll need a hook in the ResetWorldMapVars function.
Edit2: OK, sfall 1.24 is up. As well as being able to set start position/viewport in ddraw.ini, I added some script functions to let you read or change it in game.
I can't think of a way to do it. Doesn't mean it's not possible, of course, just that I don't know how.Josan12 said:My quesiton is: can these animations be set to play AFTER the
inventory screen is closed?