Wiki

Clone wiki

LCPD Device / Home

LCPD Device - GTAIV Modding

LCPD Device is a very customizable device interface for scripting inside of the GTA IV game. Instead of remembering a large number of hotkeys, you can use it as a graphical interface to interact with your scripts on GTA IV. Better yet, LCPD Device has been build in order to allow 3rd party developers to create new applications for it and extends its functionalities.

Features

User Summary

Developer Summary


Installation Guide

In order to start using the LCPD Device, you just need to follow the simple steps below:

Requirements

Installation

  • Download the "LCPD Device - User Package" from the Download section.
  • Copy all contents from the package to the folder "scripts" inside of your main GTAIV or EFLC folder (eg. D:\Games\Grand Theft Auto IV\GTAIV\scripts).

Installing Components

Installing third party components is a very easy task, you need go to the "LCPDDevice" folder inside of your "scripts" folder (eg. D:\Games\Grand Theft Auto IV\GTAIV\scripts\LCPDDevice).

Therefore, you will see the following directory structure:

├── LCPDDevice/
│   ├── config.ini
│   ├── apps/
│   │   ├── <App>/
│   │   │   ├── <App>.dll
│   │   │   ├── config.ini
│   │   │   ├── icon.png
│   │   │   ├── layout.xml
│   │   │   ├── <specific files>
│   ├── data/
│   │   ├── collections/
│   │   │   ├── README.txt
│   │   │   ├── cars.xml
│   │   │   ├── weapons.xml
│   ├── lang/
│   │   ├── README.txt
│   │   ├── en-us.xml
│   ├── logs/
│   │   ├── README.txt
│   │   ├── <Application Name>.log
│   ├── skin/
│   │   ├── Default/
│   │   │   ├── config.ini
│   │   │   ├── default_icon.png
│   │   │   ├── device.png

Here is the definition of each directory:

  • apps: Here you can install, enable or disable third party applications. In order to install new apps, just copy the app folder to this folder.
  • data: Here you can find all default data for GTA infos such as collections for GTA cars, weapons and places.
  • logs: Here you can find all logs created by installed applications.
  • skin: Here you can find all installed skins. In order to install a new skin, just copy the skin folder to this folder and change the selected skin parameter on the main "config.ini".
  • lang: Here you can find all language strings displayed in game by the main application. Installed applications can use these strings or read their version of strings.

Configuration

The main configuration file is located under the LCPDDevice directory and it is named config.ini. You can open this file with any text editor (Recommended: Notepad++) and edit its values to your taste.

File Structure

Any INI file have one or more sections and each section have one or more key value pairs, for example:

[Section1]
UniqueKey1=MyValue
UniqueKey2=MyValue
UniqueKey3=MyValue

[Section2]
UniqueKey1=MyValue
UniqueKey2=MyValue

It is important to notice that the keys must be unique for each section (it means that different sections might have same key).

Basic Configuration

  • General
    • Enabled : Define if the LCPD Device is enabled or not.
      • Values: True | False.
    • Skin : Define the skin to be loaded by the plugin.
      • Values: Skin directory name.
  • Keys
    • DeviceToggle : Define the key to toggle (open/close) the in-game device.
    • DeviceToggleModifier : Define the key modifier to be checked when the toggle key is pressed.
      • Values: Alt | Control | Shift

#!plain

Do not copy this script over any modding web site. If you want this mod to be displayed on your website, contact me for uploading so I can track and always keep them updated. Breaking this rule, will imply on a DCMA Takedown request to the website host company, and they always follow it.

THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 

Updated