lucasvinbr / GTA5GangMod

a mod that tries to create a gang and turf system similar to that of Gta San Andreas
MIT License
34 stars 9 forks source link

Zix Edits #7

Closed zixum closed 6 years ago

zixum commented 7 years ago

GTA5GangMod-zixrev1.zip

Hey, I haven't got git set up on my windows machine - i use linux at work with some GUI nonsense, truth is i'm a real scrub when it comes to git and i couldn't find a way to message you. So here is my current WIP you requested.

It doesn't contain much:

It means sometimes allies may not arrive if they get out of their car too far away or they'll be too much of a distance away to be useful. Ideally i'd like to do something tidier with this, perhaps if its a friendly vehicle send a message to the player saying backup couldn't get to them and attempt to respawn. If the player's not near any road access they should go figure. Either that or a toggle config option for "get out and walk if backup vehicle stuck"/"attempt respawn if backup vehicle stuck"/"attempt respawn if backup vehicle stuck x3 then get out and walk".

But it solves the whole enemies dropping in from behind and blasting you with a shotgun so i'm happy with it for now.

zixum commented 7 years ago

oops - i see why the TASK_EVERYONE_LEAVE_VEHICLE worked and not the function, its because everyoneleavesvehicle() is already outside the if statement below XD, so it would of ran twice hence causing problems, so really that whole if statement may aswell not exist, woops!

I'll try and do something about getting git set up and making more tidy edits if you'd like, back to work tomorrow though so no promises on a timeframe :P

zixum commented 7 years ago

GTA5GangMod-zixrev4.zip

My changes cleared up a bit, i wont be making any further changes for a few days and when/if i do/you want me to i'll make it properly over git.

Changes:

Know issues:

lucasvinbr commented 7 years ago

Thanks a lot for the changes, but I think I'm going to take a closer look on them in the weekend only ahahaha

zixum commented 7 years ago

Not a problem

lucasvinbr commented 7 years ago

Finally got to adding the changes hahahah. Thanks a lot for contributing, and sorry for taking so long to update