Everything posted by luckylavs
-
How do I get more than 3 peds to attack the player?
In my "OnKeyDown" function, I create a bunch of peds, give them a weapon, and tell them to fight against the player. For example, to spawn my ped called npc1: var npc1 = World.CreatePed(PedHash.Beach01AFY, Game.Player.Character.GetOffsetInWorldCoords(new Vector3(0, 10, 0))); npc1.Weapons.Give(WeaponHash.Machete, 1, true, true); npc1.Task.FightAgainst(Game.Player.Character); The problem is, in the game -- only 3 of them will chase the main player at a time. The other ones that spawn, get their weapon okay, but they just stand there and watch. Anyone have an idea?
-
How do I change the model of the jailer downtown?
Thanks for your responding LMS. Just one follow-up question to this, but any developer can answer... If it is not yet possible to change the ped models in the downtown jail... I'm wondering if the following can be used as a viable workaround? Before I tell you the idea, I would just like to explain a bit about my thought process. I presently suspect (although I don't know this for certain) that with respect to those LSPDFR mods that allow for jailing -- when the player drives up to the jail area with the arrested individual, the mod just transports/teleports that player to the downtown jail area. So even though there are lots of jail points all over the map, this whole idea of there being multiple jails is an illusion -- there is really just one jail area. Therefore, my proposed solution would be to create a new jail area, using a map editor for example. Then, somehow tweaking those other mods in such a way that instead of them transporting/teleporting the player into the downtown jail area -- where peds can't be edited -- it will teleport them to the new jail area. Would such a solution be workable? I don't have the developer experience to know if there is some technical reason why such a solution would be too difficult -- or even impossible -- to implement. Thanks in advance.
-
How do I change the model of the jailer downtown?
Noobish question here... In the downtown jail there is a jailer which is the same model every time you go in... How would one go about changing that model to a different one? In various mods, I often see lines like these in XML files: <Peds> <Ped comp_shirt="2" comp_pants="1" comp_decals="2" prop_glasses="1" tex_glasses="1" prop_hats="1">S_M_Y_HWAYCOP_01</Ped> </Peds> Looks like an instruction to spawn a pedestrian of a certain model. I figure there might be one for the jailer somewhere also, but if there is, I don't know where to look. The other idea I had was to make the change using a Map Editor, such as what is shown below. https://www.youtube.com/watch?v=tJBaimDb4LE I guess this tool lets you fly around the map and add/remove objects/pedestrians, whatever you want. Is this map editor the better approach? Thanks in advance
-
How do you place suspects inside a jail cell?
The below video is for Arrest Manager, at about 2:30 you can see the officer goes in the jail with a suspect: https://www.youtube.com/watch?v=aMPVXwKgpBo&feature=youtu.be I want to be able to do this. But I'm not sure whether if I install arrest manager -- if it is going to screw up my system. I tried putting in LSPDFR+ (also from Albo) and I wound up having to reinstall everything. Later I read that Albo mods aren't working with the newest version of LSPDFR. On the other hand, the first pinned topic by ZLFC says that Arrest Manager DOES work in LSPDFR... Can anyone verify this one way or the other? The second related question is: Once it is installed -- how do you even get the menu for going inside the jail? In the video at the link above, -- the police car pulls up (somewhere?) and the menu just appears. However, there is no glowing marker which would indicate that this is where you need to go. Is he just driving and parking onto the jail icon on the minimap? Thanks in advance