Wojak Posted August 18, 2010 Share Posted August 18, 2010 (edited) INFO This resource adds a Hunter helicopter that will fallow the race lieder trying to kill him (but it may accidentally kill other players too). There were some race maps where some players started as racers, and rest as hunrers, and now every one can race, and the bot will do the hunting IMPORTANT NOTES this script works only with the race gamemode, it will work with any race map. the helicopter has the ability to fly through objects, but I'm not planning to fix it, i want to keep this script simple, as it is USE iff you want it on all maps just start it iff you want it on a specyfic maps add: <include resource="race_huntbot" /> to map's meta.xml file New in version 1.1: - added the x rotation support depending on the bot speed, this makes the bot look more natural (no more things like in the video on 1:45). - bot will only shoot when in first player sync range. - fixed some annoying bugs. - added the settings system including: - unit - non; accepted value >= 0; default – 20; this value is used to predict the passable player position, the larger this value, the longer will be the distance between the player and the calculated position (proportional to the player speed) - unit – ; ; accepted value >= 0.5; default – 5.2; this is the ai loop refresh rate, the lower this value, the more actual information’s about the player (in not recommend to set this to low though, creating a instant killing machine is not to fun for the racers). Note that messing with above values may improve or screw up the bot ai, when you change one of them you should change the other ass well (if you increase one and decrease the other, you will screw up for shore). - unit – [km/h]; value >= 10; default – 5.2; bot will not go faster then that. - unit – ; value >= o; default – 25; how many seconds bot should wait after the map starts (race countdown displays “GO”). - unit – ; value >= 5; default – 30; how many seconds bot should wait after detecting the first player death (bot may not detect first player death, if map respawn time is lower than bot aispeed). Bot will search for the settings in maps meta.xml (you don’t need to add all the settings there, just the ones you want to change), if there are no settings there, it will search them in his own meta.xml (you may use the resource meta.xml ass global settings), if this settings are somehow wrong, it will use the default from the lua file. - other changes (this version is using functions from the fallowing resources: mapmanager; missiontimer) Known problems: When a new player joins while bot is waiting, recourse missiontimer will post warnings… What next?: - no hunting zones that may be added using map editor - ability to change the helicopter model (Police Maverick, Cargobob) - improved aiming - voting “do you want to play with huntbot?” on map starting - DD/DM (race maps with no checkpoints) support - Maybe something else But I’m not promising nothing feel free to comment, report bugs, ask questions and post ideas. http://img340.imageshack.us/i/mtascreen ... 12935.jpg/ http://img840.imageshack.us/i/mtascreen ... 11200.jpg/ http://img820.imageshack.us/i/mtascreen ... 11134.jpg/ VIDEO DOWNLOAD https://community.multitheftauto.com/index.php?p= ... ils&id=985 race_huntbot.zip 1.1, size: 3.85 KB Edited October 11, 2010 by Guest Link to comment
dzek (varez) Posted August 18, 2010 Share Posted August 18, 2010 I think the best in your script is the IDEA I havent seen it in action, but i believe it's as cool as idea. Maybe you can post some youtube videos? Link to comment
Xierra Posted August 19, 2010 Share Posted August 19, 2010 Lol, that's the same one that I want to tell! I really wanna see this in action with Youtube. Link to comment
Wojak Posted August 19, 2010 Author Share Posted August 19, 2010 ok i edited the first post and added the video, as you can see the video sux, so i recommend to experience this script in game Link to comment
BinSlayer1 Posted August 29, 2010 Share Posted August 29, 2010 wow this is so awesome unfortunarely, the mta community is down for the time being could you upload/mirror it somewhere else please? Link to comment
Wojak Posted September 6, 2010 Author Share Posted September 6, 2010 Ok, so I added the mirror Note that this is not the version from the community, see the first post for more info. Link to comment
dzek (varez) Posted September 6, 2010 Share Posted September 6, 2010 these links to images on imageshack - are links for thumbnails, not the actual images Link to comment
Wojak Posted September 6, 2010 Author Share Posted September 6, 2010 these links to images on imageshack - are links for thumbnails, not the actual images links updated Link to comment
qaisjp Posted July 4, 2011 Share Posted July 4, 2011 Wow, this is brilliant! I also looked at your other video ( ), carmageddon - beautiful! Link to comment
rt2 Posted February 18, 2012 Share Posted February 18, 2012 As a noob, I must as the question if this could be used with a hire interface in some locations in the MTA:SA map, to hire bounty hunters for other players? Can multiple hunters run simultaneously? Can the Bounty humters be based on different vehicles/peds depending on the amount you pay for the bounty? Could you use bounties from several different faction in MTA:SA, when AI is included more affluently. IE Hitman ped Ballas Bounties, Ballas single ped/Ballas Car with 4 peds/Etc... Police person/police biker/police cars/choppers/SWAT Military service officer ped/humvee with peds/Attack chopper/Fighter/Fighter wing reporter with camera/camera truck/camera chopper. Link to comment
Wojak Posted February 22, 2012 Author Share Posted February 22, 2012 This specific resource adds exactly 1 (one) helicopter that will fallow an exactly 1 (one) player – race lieder. Furthermore this resource will only work with RACE gamemode and only if the map has at lest 1 race checkpoint. So if You want the stuff You listed, You need to find a different resource, or script it yourself. (all this stuff should be possible to create) Link to comment
rt2 Posted February 22, 2012 Share Posted February 22, 2012 Thankyou good sir, this information has been most helpful. I cannot share with you enough the appreciation at your work and its capacity to be able to give me ideas for the MTA:SA engine. I will study teh scripting harder and see if I can find a way to create the aforementioned ideas. Thankyou very much. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now