|I was looking through the script and I can understand it, but of course I don't know what all the GTA functions do/are. Is there are listing of what they do? I think ill try and make my own mods hehe, Alice ftw.|
I've been trying to lend a hand over at the modding wiki to get it more complete, but the full list, along with descriptions (and some usage examples) for the more common ones is available at: http://www.gtamoddin...Native_function
Also, one of my favorite things about Alice is that it's really easy to get started with, and by the nature of Lua, the source code for any Alice mod is readily available.
|Btw. I had to change the binding from 'insert' to 'page up' and 'page down' on the body gaurd mod because Im using a mac keyboard which doesn't have insert lol. For some reason 'end' doesn't work on this keyboard either on the riot mod.|
That's the other reason I love Alice - once you get a list of ASCII key codes, you can customize your mods to use whatever buttons you want.
For the End button in the riot script though, try holding the button down for a few seconds. If that doesn't work, it's possible that Mac and PC use different ASCII codes for End, but I don't think they do.
|Also, do you think there is a chance you could make it so that you could call in police back-up (by pressing a key) as you can when you get in a police car?|
It might be possible - using OpenIV you can decompile and look at R*'s scripts. If we could find the script that controls police backup, you could use whatever method R* used to get it to happen. That might be something to try for one of your first mods
|would it be possible to make it so that when you shoot the bad guys the police don't come after you, as if you were on a mission (without using fixed no wanted cheat).|
Unfortunately, R* seems to have set up so that if you fire a weapon, you get a wanted level, whether you hit anyone or not. So even if we found some way to tell it "this person is alright to shoot", you'd still get a wanted level for firing the weapon.
The way it works for missions is the R* scripts use the native functions "CLEAR_AREA_OF_COPS" and "SET_CREATE_RANDOM_COPS" to clear all the cops out of the area, and turn off the random spawning of police officers. So the reason you don't get a wanted level during missions is that there's just no cops around to see you. We could of course copy that functionality, but then there'd be no cops around.
My Never/Always Wanted
mod does let you adjust your current wanted level, though - so if you want both cops and rioters shooting at you, you can bump it up - and once you get tired of the cops, bump it back down. Still not a perfect solution, but it's good for a bit of fun