Talk:Oni engine patches (Mac PPC): Difference between revisions

→‎BSL functions: how to determine function pointer hex?
(→‎BSL functions: how to determine function pointer hex?)
Line 310: Line 310:
:Updated the pointer-to-function for chr_location, should work now. Will add weapon_reset later today. Thanks for the crash report (but you should have linked to it ;) ). And I have no idea how you managed to mess up chr_focus the way you did ^_^ --[[User:Geyser|geyser]] 17:26, 9 October 2008 (CEST)
:Updated the pointer-to-function for chr_location, should work now. Will add weapon_reset later today. Thanks for the crash report (but you should have linked to it ;) ). And I have no idea how you managed to mess up chr_focus the way you did ^_^ --[[User:Geyser|geyser]] 17:26, 9 October 2008 (CEST)
::How did I mess up chr_focus?  When I first tried it, I was able to focus on the new character, but couldn't move him, then I read ssg's script command page and realized I needed the command ai2_takecontrol 1, so once I tried the script on that page, I realized chr_focus worked. [[User:EdT|EdT]] 23:35, 9 October 2008 (CEST)
::How did I mess up chr_focus?  When I first tried it, I was able to focus on the new character, but couldn't move him, then I read ssg's script command page and realized I needed the command ai2_takecontrol 1, so once I tried the script on that page, I realized chr_focus worked. [[User:EdT|EdT]] 23:35, 9 October 2008 (CEST)
::How did you determine the hex for the pointer to the function? For example the pointer to _SetMainCharacter is 00 04 19 6C [[User:EdT|EdT]] 05:47, 13 October 2008 (CEST)




Line 374: Line 375:


:geyser, weapon_reset works. I did a quick test of OTA and it runs fine, but its not 100% compatible, since I cannot access the menus, using the function keys. Going to Dev Mode and pressing F9 starts the recording, but the OTA menus do not appear, pressing F3 does not cycle arena.  [[User:EdT|EdT]] 23:35, 9 October 2008 (CEST)
:geyser, weapon_reset works. I did a quick test of OTA and it runs fine, but its not 100% compatible, since I cannot access the menus, using the function keys. Going to Dev Mode and pressing F9 starts the recording, but the OTA menus do not appear, pressing F3 does not cycle arena.  [[User:EdT|EdT]] 23:35, 9 October 2008 (CEST)


==BSL variables==
==BSL variables==
830

edits