Loading...
0 files liked
7 comments
0 videos
0 uploads
0 followers
  • Default

    Hey there, sorry if this has been asked already -- looked but didn't notice it -- is the objectives limit 20 on this like it was on BAM? I've just created a fun mission using BAM where I'm in a speedboat picking up NPC passengers and doing the circumference of the island dropping them off at various points -- they also eventually stand up in the boat and bounce out it if you hit the waves hard enough -- anyway, I can't have more than 20 stops on the routes with BAM, can I have more with this version?

    20. sep 2018
  • Default

    @alebal

    You could try DeliverVehicle which is what I'm doing with this bus mod that I'm working on. So, for example, Objective[1] would be DeliverVehicle and you define the x,y,z of where you want to pick up the player and then my_peds[1] would define the NPC and the location it is to spawn at, similar x.y.z as in the objective, but maybe just next to it so you don't run him over when you get there! lol

    When you arrive at the blue circle, the NPC would then spawn next to you and as long as you selected passenger seat and "respect" group type, he should jump right on, I would think. Cheers.

    30. apr 2017
  • Default

    @aimless

    Phew! After 3 days of farting around with this, I finally get it! lol You can disregard the previous post. I wasn't changing the waypoint number which explains why they were just standing there. I just completed an entire trip and they were getting on and off the whole way. Thanks for your previous help, dude. It's an awesome mod!! Now, I can start tweaking this to make it even better Cheers.

    29. apr 2017
  • Default

    @aimless

    Okay, so this is what I have and it isn't working...any ideas why?:

    The my_vecs0.txt file looks like this:
    [settings]
    my_vecs0Count = 1
    my_vecs0[0]Model = Bus
    my_vecs0[0]Positionx = -814.77
    my_vecs0[0]Positiony = -90.932
    my_vecs0[0]Positionz = 37.725
    my_vecs0[0]Heading = 296.383
    my_vecs0[0]PrimaryColor = WornTaxiYellow
    my_vecs0[0]SecondaryColor = WornWhite
    my_vecs0[0]Livery = 0
    my_vecs0[0]my_vecsNumber = 1

    The my_peds1.txt file looks like this:
    [settings]
    my_peds1Count = 1
    my_peds1[0]Model = cs_prolsec_02
    my_peds1[0]Model2 = 0x1E9314A2
    my_peds1[0]Positionx = -459.253
    my_peds1[0]Positiony = -14.889
    my_peds1[0]Positionz = 45.639
    my_peds1[0]Heading = 1.335
    my_peds1[0]Task = 20
    my_peds1[0]Weapon = Unarmed
    my_peds1[0]Group = 3
    my_peds1[0]SeatPosition = 0
    my_peds1[0]my_peds_variation = Default
    my_peds1[0]my_peds_Accuracy = 60
    my_peds1[0]my_peds_Health = 100
    my_peds1[0]my_peds_Armour = 0
    my_peds1[0]my_peds_Invincible =
    my_peds1[0]my_peds_DrivingSpeed = 60
    my_peds1[0]my_peds_DrivingStyle =
    my_peds1[0]my_peds_CombatEngaugeRange = 30
    my_peds1[0]my_peds_group_numb = 1
    my_peds1[0]my_peds_can_exit_vehicle = True

    The my_taskSeq1.txt file looks like this:

    [settings]
    my_taskSequences1Count = 4
    my_taskSeq1[0]Type = EnterVehicle
    my_taskSeq1[0]Minutes = 0
    my_taskSeq1[0]Seconds = 1
    my_taskSeq1[0]WalkSpeed = 2
    my_taskSeq1[0]Heading = 0
    my_taskSeq1[0]WanderGuardRange = 5
    my_taskSeq1[0]SeatPos = 0
    my_taskSeq1[0]VecSpeed = 20
    my_taskSeq1[0]DriveStyle = 828
    my_taskSeq1[0]DriveToStopRange = 5
    my_taskSeq1[0]VecFollowHeliHeight = 15
    my_taskSeq1[0]repeat = False
    my_taskSeq1[0]Positionx = -459.253
    my_taskSeq1[0]Positiony = -14.889
    my_taskSeq1[0]Positionz = 45.639
    my_taskSeq1[1]Type = Pause
    my_taskSeq1[1]Minutes = 0
    my_taskSeq1[1]Seconds = 42
    my_taskSeq1[1]WalkSpeed = 2
    my_taskSeq1[1]Heading = 0
    my_taskSeq1[1]WanderGuardRange = 5
    my_taskSeq1[1]SeatPos = 0
    my_taskSeq1[1]VecSpeed = 20
    my_taskSeq1[1]DriveStyle = 828
    my_taskSeq1[1]DriveToStopRange = 5
    my_taskSeq1[1]VecFollowHeliHeight = 15
    my_taskSeq1[1]repeat = False
    my_taskSeq1[1]Positionx = -459.253
    my_taskSeq1[1]Positiony = -14.889
    my_taskSeq1[1]Positionz = 45.639
    my_taskSeq1[2]Type = FollowNavMeshToCoord
    my_taskSeq1[2]Minutes = 0
    my_taskSeq1[2]Seconds = 1
    my_taskSeq1[2]WalkSpeed = 2
    my_taskSeq1[2]Heading = 0
    my_taskSeq1[2]WanderGuardRange = 5
    my_taskSeq1[2]SeatPos = 0
    my_taskSeq1[2]VecSpeed = 20
    my_taskSeq1[2]DriveStyle = 828
    my_taskSeq1[2]DriveToStopRange = 5
    my_taskSeq1[2]VecFollowHeliHeight = 15
    my_taskSeq1[2]repeat = False
    my_taskSeq1[2]Positionx = -459.253
    my_taskSeq1[2]Positiony = -14.889
    my_taskSeq1[2]Positionz = 45.639
    my_taskSeq1[3]Type = ReactAndFlee
    my_taskSeq1[3]Minutes = 0
    my_taskSeq1[3]Seconds = 1
    my_taskSeq1[3]WalkSpeed = 2
    my_taskSeq1[3]Heading = 0
    my_taskSeq1[3]WanderGuardRange = 5
    my_taskSeq1[3]SeatPos = 0
    my_taskSeq1[3]VecSpeed = 20
    my_taskSeq1[3]DriveStyle = 828
    my_taskSeq1[3]DriveToStopRange = 5
    my_taskSeq1[3]VecFollowHeliHeight = 15
    my_taskSeq1[3]repeat = False
    my_taskSeq1[3]Positionx = -459.253
    my_taskSeq1[3]Positiony = -14.889
    my_taskSeq1[3]Positionz = 45.639

    Expand to read the full comment
    28. apr 2017
  • Default

    @aimless

    Hey, I know you suggested I start over, but I have updated onixer's mod with my own enhancements and it works almost perfectly except for trying to use Task = 20 instead of Task = 6 to load the passengers.

    To clarify that, it works perfectly with Task = 20 for the first passenger, but doesn't work at all for the rest of them. So, there's either a bug or I am just not using it right -- it's probably the latter. Story of my life, really. :)

    Here's what I'm trying to do: Each passenger is to follow a sequence of 3 steps. One, "EnterVehicle" which the first one does no problem. Two: "Pause". I actually have a script of my own that sets a random amount of pause time between 30 seconds and 5 minutes. Again, the first passengers sits there for his pause duration, no problem. Three: "FollowNavMeshToCoord" which, after the pause, causes the passenger to get up and exit the bus. They will do it as soon as I come to a complete stop following the completion of their pause, which means they could exit at any time and not just at a bus stop, which I think is perfect for a GTA setting. In one test, the lady exited when I stopped in traffic and she immediately got run over by a truck. Good times.

    My problem is none of these 3 steps work with the passengers at each subsequent bus stop (i.e. each subsequent objective). They spawn when I arrive and then just stand there frozen. Even if I drive off, they don't follow me.

    Perhaps what I'm trying to do isn't even possible, but can I have multiple "my_peds" running their own task sequences at the same time? This is ultimately what I'm trying to achieve, so that it would be a completely random and different experience on each bus trip. I still can't get more than 4 of them on the bus at any time, but that's okay if I can get some of them to randomly exit and then be replaced by new spawns at the next bus stop, which is basically what occurs in real life. The fact that they'll exit at random times and potentially kill themselves in the process is fine by me -- this isn't OMSI Bus Simulator after all! lol

    Sorry for the long-winded answer -- just want to explain myself fully. In a nutshell, how do I properly code it so that each ped is running his/her own task sequences concurrently? Do I need just the one mytaskSeq0 file since it's the same 3 sequences for everyone or do I need one set for each ped or one file for each objective or how does it work exactly? Cheers.

    Expand to read the full comment
    27. apr 2017
  • Default

    @aimless

    Well, that's a shame that we can't have a busload of NPCs, but I see where you're going with the code, so I'll give that a try and report back. Thanks for the help! Cheers.

    25. apr 2017
  • Default

    @aimless

    I am working on modifying onixer's Bus Driver mod and I have a couple of questions related to a problem I'm having.

    The main issue is that no matter which bus I use, it seems to allow only 4 NPCs. Once I try and pick up a 5th passenger, he/she just stands there on the sidewalk staring at me and the bus door doesn't open. Once I drive away, he/she runs after the bus like a dog. lol

    So, question 1 is: can I adjust some value somewhere to allow more than 4 NPCs on a bus?
    Question 2 involves the other related issue in that once they're on the bus, they don't get off until the end of the line. How would I code the mission to force an NPC to get off at some point along the route, which would then (I assume) free up a seat for another NPC. Is that possible? If so, could you describe the code I'd need to do it, please? Cheers.

    24. apr 2017