Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help with finding addresses related to an enemy NPCs faction

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Boso
How do I cheat?
Reputation: 0

Joined: 24 Jul 2018
Posts: 6

PostPosted: Wed Jul 25, 2018 12:00 am    Post subject: Help with finding addresses related to an enemy NPCs faction Reply with quote

I am playing around with Cheat Engine again, and managed to find enemy health values easily. But I want to achieve making an enemy npc's faction being on the player's side. I have no idea how I would achieve this, as there is not anything in the game that already does this so it makes it a bit harder.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Wed Jul 25, 2018 2:07 am    Post subject: Reply with quote

the game differentiate enemies from allies and player.
its usually done by checking some members of player/npc entity, maybe '1' used to indicate this is the player, and '0' for enemies. (or any values)

anyhow, its possible only if the game have AI-Allies by flipping the number of that member of enemy npc.

otherwise you need to write your own ai function. (which require lot of work)

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Boso
How do I cheat?
Reputation: 0

Joined: 24 Jul 2018
Posts: 6

PostPosted: Wed Jul 25, 2018 2:14 am    Post subject: Reply with quote

Ok it might not be that bad because in Medal of Honor Frontline some levels you have ally soldiers which seem to be complete copies of the enemies since they use the same animations. I guess I should get both an ally and enemy and dissect the data structure and compare?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites