Ładowanie...

Flats Mini-Game [LUA] 0.7

447598 2015 07 18 00001
447598 2015 07 18 00003

494

###########################
Flats a Mini-game in Lua
###########################

A simple game of shooting tires for $$.

  • $100 each tire
  • $1000 all four
  • Ped must be alive in car for flat to count
  • Cars must be on the same street as player, no sniping
  • Car will explode if you shoot out all four tires
  • Simple UI to ease game play with single key start/stop
  • Sound with score tally and payout
  • Wanted level still rises so you should be sneaky in your approach


[To Play]

[F8] To start Flats mini-game


[Installation]

  1. Install Script Hook https://www.gta5-mods.com/tools/script-hook-v
  2. Install the LUA script plugin for Scripthook https://www.gta5-mods.com/tools/lua-plugin-for-script-hook-v
  3. Download the flatsMiniGame file
  4. Put the flatsMiniGame.lua file in your \Grand Theft Auto V\scripts\addins folder.
  5. Text will appear over the mini-map when installed correctly


[Background]

This mod is something I created while learning Lua and GTA V modding. This is a work in progress, I welcome your testing and ideas. I am learning a lot by building this and welcome suggestions, code changes and improvements.

A big thanks to ZyDevs for all the help and support providing direction how to start with example code hints.
- Please visit his forum for modding info and download the GTA V Mod Creator here: http://www.developer-me.com/forums/index.php by ZyDevs.

[Known Issues]
  • There is a known delay of receiving reward after shooting tire. Some of this has to do with cars leaving the radius before being counted.
  • Four-wheel drive cars and motor cycles are not counted
  • Wanted level still rises, suggested using this with the Trainer to avoid police. will fix this next release.
  • Sound sucks


[Future features/improvements]
  • Would like to figure out how to track bullet impacts to improve performance and open new features and game modes.
  • Levels and timer
  • Remove wanted level and add new abilities
  • Better sound and effects. Looking for game sound hash list if anyone has one



[Share and learn]

I am new to Lua and GTA modding. Any suggestions on performance, or code improvements are welcome.

Github: https://github.com/adestefa/flatsMiniGame.git

This code is free to use and share, but please give credit and good will.
(CoreLogic http://www.developer-me.com/forums/member.php?action=profile&uid=29)
Show Full Description

Dodano: lipiec 18, 2015
Ostatnia aktualizacja: lipiec 18, 2015
Last Downloaded: 4 dni temu

All Versions

 0.7 (current)

494 pobrań , 24 KB
lipiec 18, 2015

10 Komentarzy