GTAMP.com

Grand Theft Auto Media Press
It is currently Wed Dec 13, 2017 3:40 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Nov 20, 2017 5:20 pm 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
Is it possible to increase health for guard that follows the player during missions?

For example mission: Gang Car Bang [redneck]


Last edited by Master15 on Tue Nov 21, 2017 9:57 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Nov 21, 2017 8:25 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 1068
you can do it the same way as with your other question, just increase the value

_________________
yur sa'nok ngeyƤ


Top
 Profile  
 
PostPosted: Tue Nov 21, 2017 9:57 pm 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
elypter wrote:
you can do it the same way as with your other question, just increase the value


How do i find value for guards -> cheat engine?


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 12:12 am 
Offline
Boss
User avatar

Joined: Tue Mar 04, 2008 6:51 am
Posts: 1290
Location: GTAMP.com
I found the guard ped addresses by writing a gta2 script that changes ped ID to ped address and then I used cheat engine to search that ped address and got some green values.

Guard 1 5D28CC
Guard 2 5D28D0
Guard 3 5D28D4
Guard 4 5D28D8
Guard 5 5D28DC
Guard 6 5D28E0
Guard 7 5D28E4

Read 5D28CC, add 0x216 to that result, read 2 bytes from the new result and then you have the health value for the guards.

I could write GTA2 script for it but since we don't have an easy way to inject script into compiled missions like Residential, it would be easier to write a trainer or use cheat engine. A trainer would be cooler since it will work on all levels without the user having to compile anything.


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 3:20 am 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
Read 5D28CC, add 0x216 to that result, read 2 bytes from the new result and then you have the health value for the guards.

1. Load cheat engine and find GTA2.exe

2. First go to redneck telephone to summon the guards.

3. Type 5D28CC and scan? 0x216 <- confusing part. Need some assistance.

I like fooling around with guards, like punching down swat police like piece of cake. The issue is the limited health per guard. This definitely fix this.

Btw, thanks for helping me out.


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 4:03 am 
Offline
Boss
User avatar

Joined: Tue Mar 04, 2008 6:51 am
Posts: 1290
Location: GTAMP.com
No need to search since I already gave the pointers, you add them manually or even easier, just load this table: http://gtamp.com/GTA2/gta2ganghealth.ct

Image


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 9:08 am 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
Thanks for helping me out [respect]


Top
 Profile  
 
PostPosted: Wed Nov 22, 2017 2:58 pm 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
I set health at 10,000 HP then freeze value, everything work fine except -> minions is subject to explosive damage.

It is possible to make them invulnerable like Claude Speed.


Top
 Profile  
 
PostPosted: Thu Nov 30, 2017 11:09 am 
Offline
Boss
User avatar

Joined: Tue Mar 04, 2008 6:51 am
Posts: 1290
Location: GTAMP.com
In GTA2 script, you'd do SET_CHAR_INVINCIBLE (minion,ON).

In Cheat Engine, you have to read 5D28CC for Guard 1, add hex 208 and set that to 9999 decimal for untimed invulnerability.

I updated the Cheat Engine table with invulnerability for the guards. Push i to make them invulnerable*.

http://gtamp.com/GTA2/gta2ganghealth.ct


Top
 Profile  
 
PostPosted: Thu Nov 30, 2017 1:17 pm 
Offline
Mugger

Joined: Fri Nov 03, 2017 8:51 pm
Posts: 13
Many thanks again Sektor :)

Another funny request in combination with gang members -> Is it possible to increase number cops pursuing the player`?

Multiply number of cops to 2x or 3x and if possible increase number of SWAT vans to 2 instead of 1.

Imagine 20 or 30 policemen chasing the player with invulnerable guards :D


Top
 Profile  
 
PostPosted: Thu Nov 30, 2017 2:26 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 1068
you could add bots that act like cops. i did that in tyty army with pseudo wanted levels that are higher than regular army. there is a vehicle with flamethrower people chasing you and an explosive truck

_________________
yur sa'nok ngeyƤ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group