![]() |
Platform Development Progress - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43) +--- Thread: Platform Development Progress (/showthread.php?tid=6762) Pages:
1
2
|
Platform Development Progress - mfc - 07-18-2011 What do i want? I want to create a itr kind that replicates a part of main ground. It seems impossible. But i want to share the things that i found. 1. Every char and weapon is related to a main ground. I investigated MH-LF2's platform system: If somechar try to jump to another platform, he can't interact with that. Only way to interact with another platform is transforming to another char which loaded to be related the other platform. 2. I made some searches with cheat engine to understand how lf2 coordinates chars. X axis is so interesting. Except HK collesium it always changes oppose to game camera. But Y is more important for us. Every value changes oppose to the ground you related. I made the searches in this order: First search as unknown initial value. Then jump and press f2 immediatly. By you go higher, y value goes higher. Make your searches with "increased - decreased value" commands. You will find 4 values. You can freeze them, change them. I don't know what to do with these for now but it may be important... It's it for now but i will keep on investigating this subject. Post if you think you can help... RE: Platform Development Progress - Boop - 07-18-2011 https://spreadsheets.google.com/ccc?key=r5Xp6WYfcmlxDTUlwfdZHYQ#gid=0 We know the addresses of each character and the Y cord. The y cord is stored twice. Once as an int and once as a double. Ground is 0. I don't see why you want to make it an itr, or how that will even work as an ITR? That makes no sense. You'll need to detour every part of the code that references the ground and decide what Y to use for the ground. RE: Platform Development Progress - mfc - 07-18-2011 (07-18-2011, 04:54 PM)Lord Silva Wrote: https://spreadsheets.google.com/ccc?key=r5Xp6WYfcmlxDTUlwfdZHYQ#gid=0 I want to create an itr kind because we can restrict the boundaries with dcing easier. And how do i find the codes that references to the ground? With cheat engine i can only find changing values. But ground's height never changes... RE: Platform Development Progress - Boop - 07-18-2011 Ok, here is the secret to hex editing: ![]() Seriously though, if I knew the exact details of how it worked I would've done it by now. Telling you how it works would involve me doing it, and if I do it I may as well finish it and keep the glory for my self. A few tips: It won't explicitly say 0 , the compiler will optimize it and make it look weird. You can't just find it with cheat engine, you have to find where the physics and stuff is calculated and start reverse engineering from there. You already know the address of an objects y-axis, so see what writes to it when its falling and find out why it doesn't keep going below 0. RE: Platform Development Progress - mfc - 07-19-2011 Got it, Thanks. Silva, Your opinions and thoughts are so important for me. Things you said will give a direction to my work. I will keep investigating this subject. RE: Platform Development Progress - mfc - 09-14-2011 After a long time; here i'm continuing on this. As you said Silva, what did i do: 1) opened lf2 and cheat engine. 2) found the addresses which leads to y cords. 3) and attempt to find what writes to this address. 4) a little window opened lol. 5) there were 2 things but they are not what i want. 6) i jumped with my char and when i reached to the ground, something else added to the little window. 7) i copied the line number of that. 8) i closed every window. And opened the lf2 with olly. 9) pressed ctrl-g and pasted the line number. And pressed find lol. 10) here is the start of the code which makes us landed to ground i think. 11) i don't know what to do exactly here ![]() ... I copied the line and pasted notepad. And pressed f7 on olly and copied the line ......... I did this again and again until i reach to the end of it. I can't send what i found until next saturday... And i don't even know if they are necessary... I need your help Lord Silva... RE: Platform Development Progress - Boop - 09-15-2011 What you did takes 5 minutes at the most and anyone can do it. Like I said, there is no "help" in this situation. It's not like DCing, "helping" involves me doing everything for you. RE: Platform Development Progress - mfc - 09-15-2011 (09-15-2011, 09:42 AM)Lord Silva Wrote: What you did takes 5 minutes at the most and anyone can do it. Then you want more... I'll be back when I changed the height of the ground... (i think that will take a little time ![]() RE: Platform Development Progress - Boop - 09-18-2011 A lot of the stuff is done using the FPU and there are a lot of weird optimisations there. There are separate code branches for "falling"(when you are in state 12) and just landing normally. There is also a code section which checks if you are in the air or not to see if it should apply friction or not. Good luck. RE: Platform Development Progress - mfc - 10-19-2011 After some conversations with Azriel; Every object has a y value. If y-value>0 then apply gravity force on weapons and chars. So if i want to create another platform; i should create an area which will use this unequation: lf y-value>xx then apply gravity force. |