Log in to reply
 

[SCRIPT] [WIP] - Lively World



  • @Eddlm Great progress! First screenshots kind of funny because the ninef engine is in the back and the front is the trunk but its all good, the drivers that are racing im sure your aware of this but they do end up crashing a lot of the time. speaking of the drivers will there be a way to edit and modify the race cars that spawn like how we can add cars to the drag meets script you made? I want a jdm look myself. Marked out some areas of the map where the street gang peds actually have weapons..

    http://imgur.com/a/hTdzA

    blue is marabunta, the rest im sure you know


  • MODERATOR

    @Eddlm

    Hmmm, how do you organize and launch these events?



  • @ikt I have a single timer that, every few seconds, checks for all nonimportant events , AKA scenarios, and fires all which meet the requirements. These scenarios are then added to a blacklist, while they're in there, they can't launch.

    The blacklist removes a single scenario from itself every minute.

    I've now redesigned the system though. The blacklist is gone, replaced with a set of timers that serve as cooldown for each scenario.

    The new system selects a random scenario randomly and tries to launch it every few seconds, instead of trying to launch them all. This spreads out the scearios very nicely, and makes zone-specific scenarios more unpredictable, as they don't spawn the moment the player steps in the zone now.

    I plan on doing the same for Events, that is, important scenarios like the Hunter or Drug deals.

    I'd like to make it so static events (Drug Deals for now) are blacklisted forever until the player travels far enough from the current area, to avoid them repeating. I'll probably just give them enormous timers so either a) the player has time to move around, or b) the next drug deal is so separated from the first that they seem unrelated, and therebefore more fitting.


    @Eddlm Great progress! First screenshots kind of funny because the ninef engine is in the back and the front is the trunk but its all good, the drivers that are racing im sure your aware of this but they do end up crashing a lot of the time.

    Both true, the first is fixable but I'm not going to bother right now (lets handwave it saying LS Citizens are that stupid), and the GTA AI, that one is not fixable, sadly. I can make them overtake more carefully and see it it fixes the problem.

    speaking of the drivers will there be a way to edit and modify the race cars that spawn like how we can add cars to the drag meets script you made? I want a jdm look myself.

    Its possible, but not planned for now. I'd like to improve their behavior before allowing customization like that.

    Marked out some areas of the map where the street gang peds actually have weapons..

    http://imgur.com/a/hTdzA

    blue is marabunta, the rest im sure you know

    Thanks. I already have mapped the Ballas, Families and Vagos, but not Marabunta Grande.



  • Got another idea - Random crimes
    where a guy robs other guy/girl and you can either watch , stop the criminal (+ either give the money or something back to the owner or keep it for yourself) like Random events in GTA V or Watch Dogs 1
    And maybe something like Parties?
    For example lowrider meet where people are dancing in their cars or some sort of Night racing (Similiar to yours Drag meets) or even normal parties like Dancing Pedestrians or something like this



  • if anyone could tell me how to add a spoiler text i would appreciate id like to respect eddims attempt to keep this thread consolidated an so i can write neater @Eddlm A suggestion for your drugdeal events if ur talking small scale 1. Might not need to blacklist as you could have one guy posted up making consecutive hand-to-hands or walking down the street dealing as he goes where animations could just be mistaken for friendly gestures as in real life. 2. So many relationship.dats making for constant wild drivebys but maybe for once they stop the car then shoot,peel out/hop out and do walkup 3. Police rodney kingin' the shit outta gangs/previously mentioned drug dealer. 4. Bar fights/shootings(no way balla/fam could ever share strip club peacefully)



  • @HeySlickThatsMe

    Got another idea - Random crimes

    Planned. :stuck_out_tongue_winking_eye:

    And maybe something like Parties?
    For example lowrider meet where people are dancing in their cars or some sort of Night racing (Similiar to yours Drag meets) or even normal parties like Dancing Pedestrians or something like this

    Also planned but much harder to code and handle. If it happens, it will be near/past 1.0.


    @kinghippo2000

    if anyone could tell me how to add a spoiler text i would appreciate id like to respect eddims attempt to keep this thread consolidated an so i can write neater

    If you're writing and not quoting, I don't mind long posts. Its the repeated text that I don't like, wastes space.
    What you could do is to properly space your text, like i'm going to do below. Makes it easier to understand and read.

    @Eddlm A suggestion for your drugdeal events if ur talking small scale

    1. Might not need to blacklist as you could have one guy posted up making consecutive hand-to-hands or walking down the street dealing as he goes where animations could just be mistaken for friendly gestures as in real life.

    The drug dealer is static, handling a guy walking around then stopping and setting up a deal would be real tedious, and not neccesary. I'm aiming for credibility, but not realism nor simulation.

    1. So many relationship.dats making for constant wild drivebys but maybe for once they stop the car then shoot,peel out/hop out and do walkup

    I've added a driveby event already. The guys don't step out of the car, though. They simply drive up to the target (could be you), stop, shoot from the car, then flee the scene.

    1. Police rodney kingin' the shit outta gangs/previously mentioned drug dealer.

    Planned, too.

    1. Bar fights/shootings(no way balla/fam could ever share strip club peacefully)

    Not planned, for now.

    Also, English is not my first language and you're giving me a hard time trying to understand half the stuff youre saying. Take that into account.


    v0.2.8

    Fixed

    • Tow events crashing the game. Turns out I didn't limit how many times the script tried to get a suitable position, hence the freeze.

    Improved

    • The main handlers. Events should now be way more spread out and more unpredictable to happen.
    • Carjacker event. It is now a handled event, meaning the carjacker is smarter and will
    • The hunter now has a dog or a car, random.

    Added

    • Gang Drivebys, in Vagos/Ballas/Families territories. Only the Vagos, Ballas and Families participate for now.


  • ^ if you would ever get back to the Bar Fights idea then you can use some Animations from Crystal maze Mission as far as i know , at the start there's a Bar fight with good animation



  • @Eddlm For the racers an idea so that there is less crashing could be to have them race on the highways instead where its mostly a ring around the whole map and maybe have modified cars that occasionally spawn in traffic in the city.

    Experienced a small bug with the drive by system.. Vagos came through shot target as intended, target didnt die and shot back but the families viewed the target as hostile and started shooting him too. Also my relationships file is edited why didnt the families start shooting at the vagos on site? One time a dog was selected to be a target and another time in the vagos area the attacker spawned without a weapon.

    alt text



  • alt text

    This will greatly enhance highway traffic. :P

    Next update should contain that, bugfixes and some sort of traffic spawner for helicopter, planes and boats.


  • MODERATOR

    @Eddlm The helicopter of the screenshot is pilotable? That can be really cool to steal some when bored XD



  • @Reyser No, its not, sadly. I've tried to spawn them and try to keep them over the trailer via their own physics but they fall off, so now its attached to the trailer, welded, basically.


  • MODERATOR

    @Eddlm Ok np, atleast they will be seen as different traffic vehicles anyway :)



  • @Eddlm I was trying to shorten my words to save space on thread but now I know that's not what you meant so I'll be more proper but your english is probably better than mine I didn't pass ninth grade..in the south. Anyways some ideas:

    • Riots- I don't mean riot mode where everyone's fighting, and I'm not asking you to burn down LS. I'm thinking more like
      -Small protest. *Getting broken up by LSPD. *Peds attacking vehicles. *Throwing objects. *Flipped cars in street. *Small fires(molotov)
      Which leads me to->
    • Vandalism- *Generic hoodlums smashing a parked vehicle at night. *Mobsters bombing a car.
      *Gangs extorting businesses-For instance; *They argue with/threaten clerk, *Then start smashing place, *Then attack him.


  • @kinghippo2000 this is an excellent idea. could have protester crowds marching down streets in road wide mobs



  • @kinghippo2000

    @Eddlm I was trying to shorten my words to save space on thread but now I know that's not what you meant so I'll be more proper but your english is probably better than mine I didn't pass ninth grade..in the south. Anyways some ideas:

    • Riots- I don't mean riot mode where everyone's fighting, and I'm not asking you to burn down LS. I'm thinking more like
      -Small protest. *Getting broken up by LSPD. *Peds attacking vehicles. *Throwing objects. *Flipped cars in street. *Small fires(molotov)
      Which leads me to->
    • Vandalism- *Generic hoodlums smashing a parked vehicle at night. *Mobsters bombing a car.
      *Gangs extorting businesses-For instance; *They argue with/threaten clerk, *Then start smashing place, *Then attack him.

    @brighteyedeas

    @kinghippo2000 this is an excellent idea. could have protester crowds marching down streets in road wide mobs

    I appreciate the suggestions, but you guys are -like most people- focusing too much on violence.

    With Lively World, I mainly aim to exploit the game's features (specially underused ones) to make playing it a richer experience.
    Examples:

    • Using the ingame's scenarios to make people interact with their cars
    • Use the game tows' ability to actually tow cars by making them appear in traffic actually towing cars
    • Use the game's lore (Gang rivalry) to make gangs a little more active, having them attack eachother
    • Increase the presence of tuned cars using the game's tuning system
    • Use the game's taxi system having taxis actually work properly, picking people up or dropping them off

    First and foremost, taking an underused feature and bringing it to the spotlight is what I want to do.

    Implementing new content (Protests, LSPD activity, rabid dogs, street performers, etc) is less important for me. I may implement some of that stuff if it's easy to implement and doesn't take too much of my time (rabid dogs will be easy), but if it does, it will probably not be done, for now.


    There's also the issue of complexity. Some of your suggestions imply a lot of code to be handled properly. I can't just spawn a bunch of peds holding protest banners and a few cops at a random street, I'd need to figure a way to cut traffic there, so it doesn't run over the protesters. I'd need to make the cops actually disperse the protests, otherwise it isn't lively at all.

    I'd also need to manually set up different sets of coordinates for it to work, as it involves multiple peds+vehicles(cops) and therebefore they need to spawn in the right places, and look proper. The cop's relative positions to the protesters needs to be right, protesters need to be facing down the street, not a random angle, etc. That, or a LOT of code magic to calculate it properly.

    And that's a lot of hours of work.

    Compare the latest feature, trailers with random vehicles in it. It took an hour to do, because how simple the concept is.
    I just needed to find trucks without a trailer, spawn one behind them, then spawn a vehicle on top, and attach it.
    Then I forget about the whole thing and let it despawn when the game deems fit.

    Much simpler, adds to the game (brings unused features into the light), doesn't melt my brain trying to handle multiple entities and their role in the event...

    If you want to know what will make it into the script, just ask yourself these questions:

    • Does it spawn new entities instead of using what's already spawned by the game?
    • Does the event develop?
    • Does the event involve multiple peds? Multiple vehicles?
    • Can the player interact with it?

    The more "yes" 's you get, the more unlikely it is.



  • @Eddlm it would be interesting to mod a car to replace the taxis to look more like an uber car


  • MODERATOR

    Hmmmm. What about public transport? I see a lot of buses but most time they just drive randomly. It'd be neat if they actually dropped off/unloaded passengers and new passengers board randomly near/at a bus stop.

    You'd need a big list of coordinates of this though.



  • @Eddlm

    1. People:
    • Couples stays on the grass (forest etc) with their dog
    • More people in the forest, mountains with their backbag
    • Rednecks meetings, drinking beer, party and stuff
    • Couples having sex in car on a non-populated road.You can use the animations from the hookers
    • People looking at clothes stores windows
    • bodybuilders poses and peds taking pics
      ETC
    1. Cars:
    • Cars meeting...or two rich guys meeting to show their supercars
    • Limosine with police escort like one police bike ahead and one in the back but very rare to happen
    • Supercar SPYDER type with 1 guy and a hot ped(girl) speeding on highway or two supercars speeding on highway
    • Off road vehicles on mountains
    • Police patroling on grove street in the night
      ETC
    1. Planes:
    • it will be nice to see two lazers or one driving around above the downtown or airport but again very rare to happen
    • or helicopeters landing on skycrappers
    1. Also u can try to make the beach more alive cuz there is a dead PLACE :(:
    • peds racing with their jet sky
    • peds doing bunch of stuffs on the beach
    • Also at sunset ppl taking photos of the sun
    • Even boats meeting
      ETC

    --You called your mod LIVELY WORLD and you don't want violance so here it is.Make the game more alive with these.Also you are the only modder around here who take care of these game aspects.So I think you are our only chance for making this game alive once for all.
    P.S: I invested some minutes in this big text so I will appreciate if you just consider making some of these.Thank you



  • @ikt said in [SCRIPT] [WIP] - Lively World:

    Hmmmm. What about public transport? I see a lot of buses but most time they just drive randomly. It'd be neat if they actually dropped off/unloaded passengers and new passengers board randomly near/at a bus stop.

    You'd need a big list of coordinates of this though.

    I have a script about it, but it works for the player. Multiple sets of stops where buses cycle through.
    And yeah that would be the main issue. I might try to do something regardless.

    Another issue is handling the bus arriving at the bus stop, as IRL buses actually park at the stops, not just stop in the middle of the road. That part is proving to be tricky, as the buses have a big turning radius and thus the AI doesn't handle them well.


  • MODERATOR

    @Eddlm Just had an idea to implement:

    When an accident occurs (traffic), the drivers should leave their cars (if they're alive) and talk between them (calling police because of the accident) or fight (random value maybe?), something that actually doesn't happens. I was driving around when saw 2 cars crashing and they didn't stop driving, as if nothing happened between them.

    I think that's needed to add realism to the game :)



  • @Reyser given how badly the AI drives, that would stop half the traffic in the area :laughing:

    I have similar plans, but first I want to implement a simpler system, where the ped just gets out, does something fitting then resumes driving, or "calls" the police or tow, without them actually coming yet.

    You see, for all these police-related stuff, I actually want to wait untill I have a working emergency response framework that can take care of that stuff.



  • @Eddlm

    Is there a way for pedestrians and vehicles not to show up and not to hang near the player?

    I was able to get into a towing car because he appeared immediately in front of me and rode a car washman who appeared suddenly at my car.

    Is there a way for people and vehicles to spend time in places where the camera is not currently facing the game? And at least a few meters away from the player?



  • @Eddlm I have come across something weird, not sure if you are aware of this but female gang members from ballas and families are spawning in downtown vinewood in cars similar to a popcycle edit and i know they spawn because they are red blips on my map because of my relationships file. When i removed the mod and drove around for about half an hour they didnt appear and when i put the mod back in they appear.



  • @Remix I'm working on improving that system, don't worry it won't be like that for long.

    @LDNENG said in [SCRIPT] [WIP] - Lively World:

    @Eddlm I have come across something weird, not sure if you are aware of this but female gang members from ballas and families are spawning in downtown vinewood in cars similar to a popcycle edit and i know they spawn because they are red blips on my map because of my relationships file. When i removed the mod and drove around for about half an hour they didnt appear and when i put the mod back in they appear.

    Only female? Also, you talk about it like its a bug, what's wrong with ballas and families driving normal cars around?

    Its probably the car replacer/spawner, because it creates random drivers from the current pool of peds.



  • @Eddlm yeh just females and male vagos.. Well i wasnt sure if this was what you intended or not thats why. Theres nothing wrong with it but its very often, maybe if it was less often it would feel more like a random act.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.