Quantcast

Jump to content

» «
Photo

[V|REL] Spawn Random Bodyguard

59 replies to this topic
jedijosh920
  • jedijosh920

    ⭐⭐⭐⭐⭐

  • Members
  • Joined: 01 Mar 2012
  • United-States

#1

Posted 25 April 2015 - 05:52 PM Edited by jedijosh920, 26 April 2015 - 10:46 PM.

aWTMc5r.jpg

 

Download Links:

 

https://www.gta5-mod...andom-bodyguard

 

http://www.mediafire...yguardsV1.1.asi

 

 

To install, place .asi file in root folder of your game with the ScriptHookV.dll

 

Press "End" Key in-game to spawn a random bodyguard with a pistol.

 

You can only have about 7 bodyguards, the other peds spawned after that will still protect you but won't follow.

 

Peds spawned are related to where you are at. (Ex: Fort Zancudo = Army Bodyguards)

 

Thanks to funmw2 for helping me with the relationship group problem.

 

 

Updates:
 
v1.1
-----------------------------------------
 
- Fixed Relationship Groups.
- Added protective combat hatred task.
- Fixed aggressive peds after spawning more than 7.
  • Carrythxd, Nico712, Neddo and 3 others like this

hristi
  • hristi

    Rat

  • Members
  • Joined: 03 Jan 2009

#2

Posted 25 April 2015 - 05:54 PM

Ohh can't wait to try this. Thanks!
  • jedijosh920 likes this

Bolcksta
  • Bolcksta

    The Protagonist

  • Members
  • Joined: 13 Sep 2013
  • None

#3

Posted 25 April 2015 - 06:14 PM Edited by Bolcksta, 25 April 2015 - 06:17 PM.

Do they get in your vehicle as well?

 

 

 

 

 

 

Edit: Do a scan report on Virus total please and post results.

 

My scanner reported something fishy about this file. 


LordVaktus
  • LordVaktus

    Player Hater

  • New Members
  • Joined: 25 Apr 2015
  • United-States

#4

Posted 25 April 2015 - 06:21 PM

Hello,

 

Great work on this mod -- I've been wanting bodyguards in GTA V for PC since release.

 

I would really appreciate it if you could add the ability to spawn SWAT (Tactical Police) bodyguards, instead of random bodyguards.

 

I'm sure it's possible through a simple line edit, and once done, could you reply with the link?

 

I would do this myself, however, I don't have permission from you to decompile it considering it's your work.

 

Thanks in advance.


Do they get in your vehicle as well?

 

 

 

 

 

 

Edit: Do a scan report on Virus total please and post results.

 

My scanner reported something fishy about this file. 

VirusTotal Scan Result (0 / 57):

 

https://www.virustot...sis/1429985995/


mis009
  • mis009

    Sweet Angel

  • Members
  • Joined: 01 Mar 2008
  • Denmark

#5

Posted 25 April 2015 - 06:25 PM

 

Download Link:

http://www.mediafire...wnBodyguard.asi

 

To install, place .asi file in root folder of your game with the ScriptHookV.dll

 

Press "End" Key in-game to spawn a random bodyguard with a pistol.

 

I believe you can only have about 8 bodyguards, after that they will just spawn as regular peds who are somewhat aggressive.

 

If anyone could make a good video for me on YouTube to post on here, that would be great!

 

Very nice indeed i wanna try lol...


Hurrikane
  • Hurrikane

    Chop

  • Members
  • Joined: 30 Apr 2007
  • None

#6

Posted 25 April 2015 - 06:27 PM Edited by Hurrikane, 25 April 2015 - 06:28 PM.

Link when put through my virus scanner is deleting said file...


Beer_Prince
  • Beer_Prince

    Player Hater

  • Members
  • Joined: 16 Apr 2015
  • None

#7

Posted 25 April 2015 - 06:28 PM

thank you dude .... and once again sorry. you know

  • jedijosh920 likes this

a_tavenner
  • a_tavenner

    Crackhead

  • Members
  • Joined: 20 Apr 2015
  • Brazil

#8

Posted 25 April 2015 - 06:43 PM Edited by a_tavenner, 25 April 2015 - 06:44 PM.

Something weird happened to me after installing this mod, which may or may not have something to do with the mod: upon pressing "end", around five bodyguards spawned at once, which shouldn't be the case according to the description. I tried to shoot them dead to try again, but the mod won't let you (jedijosh, I think you should change that). So I threw a grenade at the floor, which did the trick. Seconds later, the game froze up. Ctrl + Alt + Esc didn't help. All of a sudden, this screen shows up (not my photo, it's someone else's). First time it ever did. It accused a problem with some file that I can't remember except for its name prominently containing the word "watchdog".

 

Again, this never happened to me before, and the script seemed to malfunction in-game upon pressing "end", so... yeah. 

 

Some info: I'm on Windows 8.1. The Social Club window says it's updated to version 335.2 but the in-game splash screen says build 335.1, which has me a bit confused (I do know the game has been updated with a 170mb patch the last time). I get some crashes to desktop rarely, but nothing that freezes up the entire computer (that only happened once, in the launch day version, without the above screen showing up -- I just had to hard reboot). I can use Ctrl + Alt + Esc fine, and sometimes the computer itself will swiftly say it's not working and let me easily close the process. This mod came right before a hard, unprecedented crash.

 

If any more info is required, let me know.


Atharos
  • Atharos

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • None

#9

Posted 25 April 2015 - 06:50 PM Edited by Atharos, 25 April 2015 - 06:52 PM.

I'm so happy with this mod that i registered just to say thanks and to give some feedback

It would be nice if you could select god mode for your bodyguards, another thing that would be great is that if they could use the guns of the valkyrie for example, i tried to go with them in the insurgent, and they can use its turret although with a really slow rate of fire, but not the valkyrie's or savage's, in the valkyrie, they aim with the guns, but they never seem to shoot

  • jedijosh920 and Beer_Prince like this

K0ol-G-R4P
  • K0ol-G-R4P

    QB Representor

  • Members
  • Joined: 07 Nov 2005

#10

Posted 25 April 2015 - 07:19 PM

Works very well.

 

Hopefully in the next release its not random peds.

 

Here's the video you requested.

 

  • jedijosh920, Beer_Prince and a_tavenner like this

Beer_Prince
  • Beer_Prince

    Player Hater

  • Members
  • Joined: 16 Apr 2015
  • None

#11

Posted 25 April 2015 - 07:52 PM

Works very well.

 

Hopefully in the next release its not random peds.

 

Here's the video you requested.

 

really cool! :D


Deuce Deuce
  • Deuce Deuce

    -

  • Andolini Mafia Family
  • Joined: 12 Apr 2006
  • United-Kingdom

#12

Posted 25 April 2015 - 08:42 PM Edited by Deuce Deuce, 04 May 2015 - 02:37 PM.

Awesome mod! However, after a certain amount of "spawns" the game won't allow any more. Was this intentional?

  • undertaker fan likes this

kallas
  • kallas

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • United-States

#13

Posted 25 April 2015 - 09:07 PM

Awesome release! Can you release source code?


Skyprone
  • Skyprone

    Player Hater

  • Members
  • Joined: 21 Apr 2015
  • United-States

#14

Posted 25 April 2015 - 09:09 PM Edited by Skyprone, 25 April 2015 - 09:10 PM.

 

Awesome release! Can you release source code?

 

 

Im new here and new to modding in general.  I've looked through the native DB and I've stripped this from a forums post. 

 

ped = clone_ped(player_ped_id());

int group = get_player_group(player_id());

set_ped_as_group_member(ped, group);

task_combat_hated_targets_arou­nd_ped(0, 1000.0f, 0);

give_delayed_weapon_to_ped(ped­, Hash("weapon_pistol"));

set_ped_keep_task(ped, true);

 

How would I go about turning this into a .asi file and binding a key to execute it?

 

LOL I posted that on a YouTube video. You cant UNTIL he releases the SDK which is probably never, the way i got partially this to work is thru cheat engine

 

The SDK was released, by the way.


AgentWD40
  • AgentWD40

    GLITCHED

  • Members
  • Joined: 02 May 2009
  • Philippines

#15

Posted 25 April 2015 - 09:24 PM Edited by AgentWD40, 25 April 2015 - 09:31 PM.

Awesome mod! However, after a certain amount of "spawns" the game won't allow any more. Was this intentional?
 

maybe he didn't add remove dead bodys native, should help with freeing up ped pool.

 

SET_PED_GENERATES_DEAD_BODY_EVENTS(ped[i], true);

 

or

 

MARK_CHAR_AS_NO_LONGER_NEEDED(ped[i]);


Deuce Deuce
  • Deuce Deuce

    -

  • Andolini Mafia Family
  • Joined: 12 Apr 2006
  • United-Kingdom

#16

Posted 25 April 2015 - 11:13 PM

 

Awesome mod! However, after a certain amount of "spawns" the game won't allow any more. Was this intentional?
 

maybe he didn't add remove dead bodys native, should help with freeing up ped pool.

 

SET_PED_GENERATES_DEAD_BODY_EVENTS(ped[i], true);

 

or

 

MARK_CHAR_AS_NO_LONGER_NEEDED(ped[i]);

 

 

Thanks. Is there any way to reduce crashes using this script as well? I gather it's probably a CPU overload issue; but my thinking is that perhaps freeing up "dead" peds will put less pressure on the CPU / GPU and minimize crashing (I haven't actually tried adding this in yet though).

 

Also, would there be any reason why the bodyguards don't fill up the max capacity in some vehicles? For example, I can fit a full crew in the Insurgent, but in planes / jets with max capacities of 8+ only 2 will actually enter.


Hurrikane
  • Hurrikane

    Chop

  • Members
  • Joined: 30 Apr 2007
  • None

#17

Posted 25 April 2015 - 11:14 PM Edited by Hurrikane, 25 April 2015 - 11:39 PM.

qFrVISF.jpgrChHkSw.jpgXhsCgQL.jpgZBK3sby.jpgim9FLcn.jpgTcFBwO0.jpg

  • jedijosh920 and Prywatne like this

Prywatne
  • Prywatne

    Snitch

  • Members
  • Joined: 17 Mar 2014
  • Poland

#18

Posted 25 April 2015 - 11:16 PM

XhsCgQL.jpg

 

Nice :lol: :lol:


Ivey
  • Ivey

    GrandTheftModcast Podcast

  • Members
  • Joined: 19 Feb 2013
  • United-States

#19

Posted 25 April 2015 - 11:25 PM

Here's our try at showcasing the plugin. :)

 


ragemeter
  • ragemeter

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • Finland

#20

Posted 25 April 2015 - 11:34 PM

Does it spawn different models of npcs depending on where your character is at?


Ivey
  • Ivey

    GrandTheftModcast Podcast

  • Members
  • Joined: 19 Feb 2013
  • United-States

#21

Posted 25 April 2015 - 11:38 PM

Does it spawn different models of npcs depending on where your character is at?

 

Yea, that's how it seems.

  • ragemeter likes this

Acekiller.45
  • Acekiller.45

    Who's the ground now !

  • Members
  • Joined: 03 Aug 2013
  • Antarctica

#22

Posted 26 April 2015 - 12:40 AM Edited by Acekiler, 26 April 2015 - 12:47 AM.

 

Does it spawn different models of npcs depending on where your character is at?

 

Yea, that's how it seems.

 

Yes It will spawn the most common ped where you are like soldiers at the base ect  GX4Bdmt.jpg?1db4djTt.jpg?1


xxRichter
  • xxRichter

    IT'S WARIO TIME!

  • Members
  • Joined: 08 Dec 2010
  • North-Korea

#23

Posted 26 April 2015 - 12:50 AM Edited by TJGM, 26 April 2015 - 01:20 AM.

Download Links:

 

http://www.modmy5.com/en/mods/009db644

 

https://www.gta5-mod...andom-bodyguard

 

http://www.mediafire...wnBodyguard.asi

 

To install, place .asi file in root folder of your game with the ScriptHookV.dll

 

Press "End" Key in-game to spawn a random bodyguard with a pistol.

 

I believe you can only have about 8 bodyguards, after that they will just spawn as regular peds who are somewhat aggressive.

 

If anyone could make a good video for me on YouTube to post on here, that would be great!

 

Ha! Good work though, never thought you was gonna release it.

You should help me with my mods soon, finishing a mod menu.


gta4police
  • gta4police

    Police officer in LCPD

  • Members
  • Joined: 31 Jan 2014
  • None

#24

Posted 26 April 2015 - 04:02 AM

jedijosh920, could you make the extra bodyguards follow you on another vehicle when your vehicle is already full? Could you also make the option to adjust the spacing of your team formation? so they won't look like sticking to you like a glue?


ubtri
  • ubtri

    Zombie Killer

  • Members
  • Joined: 29 Jun 2010
  • United-States

#25

Posted 26 April 2015 - 04:18 AM Edited by ubtri, 26 April 2015 - 11:17 PM.

Instead of spawning all 8 bodyguards at once, can you edit this to spawn 1 bodyguard everytime you press the Delete key (up to 8 times)?

 

Also, I made a video!


Microbots
  • Microbots

    Player Hater

  • Members
  • Joined: 02 Apr 2013

#26

Posted 26 April 2015 - 05:17 AM

Is it true the game crashes if you aim at one of the bodyguards and they start shooting at each other? 


Fun 2
  • Fun 2

    Boss

  • Members
  • Joined: 30 Sep 2013
  • None
  • Most Knowledgable [GTA] 2015
    Most Helpful Member 2015
    Coolest Member 2015

#27

Posted 26 April 2015 - 05:30 AM

Hmm I assume one of the natives you use is limited to 8.

We will have to check which one so we can make the extra bodyguards follow you.


hristi
  • hristi

    Rat

  • Members
  • Joined: 03 Jan 2009

#28

Posted 26 April 2015 - 06:23 AM

Instead of spawning all 8 bodyguards at once, can you edit this to spawn 1 bodyguard everytime you press the Delete key (up to 8 times)?

This. Hope you can implement this soon and the limit of bodyguards.


frostygta
  • frostygta

    Collector

  • Members
  • Joined: 16 Feb 2014
  • England

#29

Posted 26 April 2015 - 06:37 AM

 

 

Does it spawn different models of npcs depending on where your character is at?

 

Yea, that's how it seems.

 

Yes It will spawn the most common ped where you are like soldiers at the base ect  GX4Bdmt.jpg?1db4djTt.jpg?1

 

Hey

 

How did you manage to spawn this is the game (the heist vehicle) could you let me know what mod please?


r34ld34l
  • r34ld34l

    PC Gamer

  • Members
  • Joined: 08 Apr 2012
  • Slovenia

#30

Posted 26 April 2015 - 06:54 AM

 

 

 

Does it spawn different models of npcs depending on where your character is at?

 

Yea, that's how it seems.

 

Yes It will spawn the most common ped where you are like soldiers at the base ect  GX4Bdmt.jpg?1db4djTt.jpg?1

 

Hey

 

How did you manage to spawn this is the game (the heist vehicle) could you let me know what mod please?

 

Pretty sure I saw it in Native Trainer, could be wrong.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users