GithubHelp home page GithubHelp logo

arkalys59 / qtarget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasabirobby/qtarget

0.0 0.0 0.0 268 KB

A completely rewritten and optimised targeting solution based on bt-target

Home Page: https://forum.cfx.re/t/3984356

License: GNU General Public License v3.0

JavaScript 4.35% Lua 91.51% CSS 2.34% HTML 1.81%

qtarget's Introduction

Deprecated / unsupported

qtarget has been largely unmaintained, receiving some occasional fixes and tweaks . There are issues with the ways many features were implemented, some from trying maintain compatibility with bt-target, but mostly janky patches on top of underlying flaws.

Development on a replacement is ongoing at ox_target, which will try to implement some compatibility; however it cannot cover everything and will not attempt to patch poor-design decisions.

Some issues will be patched in qtarget if necessary, but it is dead (and should have been long ago).



Overview

qTarget is a high performance targeting solution that allows interaction with any predefined entity, model, entity type, or polyzone. At the mere cost of ~0.04ms while activated you can easily and safely replace markers and distance checking, instead relying on intuitive design to improve player experiences.

Features

  • Maintains compatibility with bt-target while providing improved utility and performance
  • Optimised and improved raycasting function allows interaction with a wider range of entities
  • Add generic options to apply for all players, peds, vehicles, or objects
  • Trigger an event or function after clicking an option, with the ability to pass any data through
  • Define distance on a per-option or overall basis when triggering qtarget function exports
  • Ability to redefine or remove options and add new options without replacing old ones
  • Update the option list when moving towards or away from a target with variable distances on their options
  • Support for entity bones, with built-in tables for opening vehicle doors
  • Support checking for job, items, or specific entities
  • Utilise the canInteract function for advanced checks to show or hide an option based on any trigger
  • Improved support when using ox_inventory

Preface

This resource is being actively developed and, as such, it is expected that there will be bugs, issues, and on occasion breaking commits. So long as you accept that this is a work in progress and not yet intended as a final product then we will provide support.

Credits

Issues

Please use the GitHub issues system to report issues.

qtarget's People

Contributors

thelindat avatar berkiebb avatar officialnoms avatar tyner0230 avatar antond15 avatar silvergolt avatar jiminykroket avatar lukewastakenn avatar mortalkiller avatar dolutattoo avatar dunak-debug avatar usermacieg avatar razerstv avatar xtrsyz avatar slewog avatar requestrip avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.