Giter Club home page Giter Club logo

streets's Introduction

streets

GTA IV - Street Names Mod

streets is a mod for Grand Theft Auto IV.

It displays the name of the current street and cross street the player is on, as well as for any target blips on the map.

Usage

While the mod is running it will display an overlay in the top right, showing your current location, as well as the location of any target blips.

Build Instructions

To build this mod run CMake from the root directory.

Requirements & Installation

To install and run this mod copy the .asi file from the bin/ directory to your GTA IV plugin/ directory.

If you have an asi loader it will automatically load the mod when you launch the game.

Version 1.0.4.0 of Grand Theft Auto IV is required.

Development

This mod works by creating a .dll to be injected when GTA IV is launched. After the .dll is injected it creates a new thread that registers native script functions from GTAIV.exe, and then also hooks onto DirectX 9 to draw an overlay before the scene is rendered.

Once this is completed, streets executes its mainloop and using the scripting interface finds the street names of the players location, and the location of any target blips and displays them on the overlay.

TODO:

  • Get street name information from coordinates
  • Get neighbourhood from coordinates
  • Display overlay
  • Get information of first blip
  • Iterate through blips
  • Display blip info for each blip
  • Cleanup overlay
  • Overlay opacity

streets's People

Contributors

iivlx avatar

Watchers

 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.