Log in to reply
 

Learning to script - is this project possible?



  • Hello guys! I am learning as a programmer, and I wanted to get into scripting. I actually know what I want to do, and I wanted to ask if it's possible and what tools I need.

    Here's what I want to do: basically, I want to focus my GTA on street racing and car chases. I wanted to know if you believe it's possible to:
    -Have cops chase you with faster cars with the higher stars level
    -Nobody freakin shoot (although there's a mod for that already)
    -Making this work with addon cars
    -Put cars into "classes", Forza-style
    -AI drivers roaming around the city
    -No foot pedestrians
    -Main menu with race, car selection, ecc
    -"Career mode"
    -All of this should be active ONLY if I trigger it, like entering a specific building or entering a certain code

    This is something I want to make for me, mainly. I always desired a mod like this (expecially years ago with a low-spec pc and only San Andreas to quench my thirst). I know there are some scripts to do certain things I listed, and I want to use them if possible.



  • Many things are possible through the power of scripting. Problem is that this may hinder the possibilities of your project- this community is so secretive nobody really shares any legitimate tutorials on how to script for this game.

    Only thing I ever found was: 0 responses to multiple threads and 1 youtube video on how to make a single key on your keyboard activate god mode. That's about it.

    Good luck, hopefully someone will actually be a lad and teach others how to make mods for the community.



  • @GTAV-Noob-Modder117 said in Learning to script - is this project possible?:

    Many things are possible through the power of scripting. Problem is that this may hinder the possibilities of your project- this community is so secretive nobody really shares any legitimate tutorials on how to script for this game.

    Only thing I ever found was: 0 responses to multiple threads and 1 youtube video on how to make a single key on your keyboard activate god mode. That's about it.

    Good luck, hopefully someone will actually be a lad and teach others how to make mods for the community.

    What I would really need is some good documentation if available



  • Sadly, yeah, its not easy to find actual documentation about scripting in this community. Only snippets.

    I know all of the features you want is possible, do keep in mind it would be a monstrous effort which will take you a year minimum. The only thing I wouldn't know how to make true is peds/police not shooting anyone - i have only found workarounds, but not true solutions.

    The rest is matter of putting time into it, really. I have done most of that stuff with my scripts, so it is definitely possible.



  • To be more precise, what of these did you manage to achieve? Besides the ones you already show'd me on Discord I mean

    @Eddlm said in Learning to script - is this project possible?:

    Sadly, yeah, its not easy to find actual documentation about scripting in this community. Only snippets.

    I know all of the features you want is possible, do keep in mind it would be a monstrous effort which will take you a year minimum. The only thing I wouldn't know how to make true is peds/police not shooting anyone - i have only found workarounds, but not true solutions.

    The rest is matter of putting time into it, really. I have done most of that stuff with my scripts, so it is definitely possible.



  • -Have cops chase you with faster cars with the higher stars level - Realism Dispatch Enhanced does this.

    -Nobody freakin shoot (although there's a mod for that already) - Realism Dispatch Enhanced does this, I believe.
    For normal peds its easy to prevent them from using their guns.

    -Making this work with addon cars - Street Races/Drag Meets can save/load add-on cars no problem.
    -Put cars into "classes", Forza-style - Street Races can create specific classes and add cars to them. Check its Racers.xml file.
    -AI drivers roaming around the city - Lively World spawns racers around.
    -No foot pedestrians
    Function.Call(Hash.SET_PED_DENSITY_MULTIPLIER_THIS_FRAME, 0.0f);
    Function.Call(Hash.SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME, 0.0f);

    -Main menu with race, car selection, etc - NativeUI can make that possible, Street Races makes use of it.

    "Career mode" - Haven't done this yet, but I'm working on one. Its matter of coding the logic for it, its actually harder to come up with a working progression system than coding it, I would argue.

    -All of this should be active ONLY if I trigger it, like entering a specific building or entering a certain code - Street Races and Drag Meets require the player to actually join the race or otherwise actively be present for them to exist/work.



  • Can some moderators move this to Work in Progress? I plan to use this thread to give various updates on the development


  • MODERATOR

    @Madatek I think it'd be best to create a new topic.


Log in to reply
 

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