Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,896 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

spaceeinstein

[VC] MiniConsole v2

Recommended Posts

spaceeinstein

I am very hesitant about releasing this but many people have an interest in it, so here it is. This was born out of my need to debug the game more quickly and efficiently so there isn't very many functionalities.

 

Introduction

MiniConsole is a plugin for Grand Theft Auto: Vice City. It allows you to type commands into the game and modify the game's behavior with ease. It is the spiritual successor of my previous CLEO-based MiniConsole and my first stand-alone ASI plugin release.

 

Installation

Console

The console is rudimentary but it is enough to perform basic tasks. Press the ~ (tilde) key to toggle the console. Alphanumeric and some other characters can be typed into the input of the console. Press the backspace key to delete a character from your input. Press the ↑ (up arrow) or ↓ (down arrow) key to cycle through the lines visible in the console.

 

Commands

There are few restrictions on what values you can input so that you can explore the full potential of the game. Be careful as the game may not be able to handle the result. A text box appears if the input is successful.

  • AREA GET

    Gets the current interior number.

  • AREA SET

    Sets the current interior number.

  • CAR COORDINATES GET

    Gets your current vehicle's coordinates.

  • CAR COORDINATES SET

    Sets your current vehicle's coordinates. You can use -100 for your z to place your vehicle on the highest solid ground at the location.

  • CAR COORDS GET

    See CAR COORDINATES GET.

  • CAR COORDS SET

    See CAR COORDINATES SET.

  • CAR HEALTH GET

    Gets your current vehicle's health.

  • CAR HEALTH SET

    Sets your current vehicle's health.

  • CAR LOCK GET

    Gets your current vehicle's lock state.

  • CAR LOCK SET

    Sets your current vehicle's lock state.

  • CAR MASS GET

    Gets your current vehicle's mass.

  • CAR MASS RESET

    Resets your current vehicle's mass.

  • CAR MASS SET

    Sets your current vehicle's mass.

  • CLEAR

    Clears the console.

  • CREATE

    Spawns in any vehicle. You can use the vehicle's model index, model name, texture dictionary name, or game name.

  • HELP []

    Prints a list of available commands. The input for the page is optional and defaults to 1.

  • MISSION

    Launches the mission.

  • PLAYER ARMOR GET

    Gets your player's armor.

  • PLAYER ARMOR SET

    Sets your player's armor.

  • PLAYER ARMOUR GET

    See PLAYER ARMOR GET.

  • PLAYER ARMOUR SET

    See PLAYER ARMOR SET.

  • PLAYER COORDINATES GET

    Gets your player's coordinates.

  • PLAYER COORDINATES SET

    Sets your player's coordinates. You can use -100 for your z to place your player on the highest solid ground at the location.

  • PLAYER COORDS GET

    See PLAYER COORDINATES GET.

  • PLAYER COORDS SET

    See PLAYER COORDINATES SET.

  • PLAYER HEALTH GET

    Gets your player's health.

  • PLAYER HEALTH SET

    Sets your player's health.

  • PLAYER MASS GET

    Gets your player's mass.

  • PLAYER MASS RESET

    Sets your player's mass to 70, essentially resetting your mass.

  • PLAYER MASS SET

    Sets your player's mass.

  • TIME GET

    Gets the current game hour and minute.

  • TIME SET []

    Sets the game hour and minute. The input for the minute is optional and defaults to 0.

  • TIMESCALE GET

    Gets the time scale.

  • TIMESCALE SET

    Sets the time scale.

  • TP

    See PLAYER COORDINATES SET.

  • WANTED MAXIMUM GET

    Gets the maximum wanted level.

  • WANTED MAXIMUM SET

    Sets the maximum wanted level.

  • WANTED SET

    Sets the current wanted level.

  • WEAPON AMMO GRANT

    Adds ammo to your player's weapon. You can use the weapon's model index, model name, or texture dictionary name.

  • WEAPON AMMO SET

    Sets ammo to your player's weapon. You can use the weapon's model index, model name, or texture dictionary name.

  • WEAPON GIVE

    Gives any weapon to your player. You can use the weapon's model index, model name, or texture dictionary name.

  • WEATHER GET

    Gets the forced weather type.

  • WEATHER RESET

    Sets the forced weather type to -1, essentially resetting it.

  • WEATHER SET

    Sets the forced weather type. Other acceptable values are SUNNY, CLOUDY, RAINY, FOGGY, EXTRA SUNNY, EXTRASUNNY, and HURRICANE.

This mod has been tested only on VC v1.00 US but should theoretically work on v1.01 and Steam.

 

Videos

I have many videos that showed me utilizing older iterations of this plugin.

https://www.youtube.com/watch?v=Ko8GUSb7DSo

https://www.youtube.com/watch?v=N9x17qv3-A8

https://www.youtube.com/watch?v=TW_12UfS-80

https://www.youtube.com/watch?v=P6AWjI5_0PY

 

Thanks especially to ModelingMan for providing a basis that made this plugin possible and Silent for console commands suggestions.

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
iFarbod

This is great, Will there be a GTA3/SA version by any chance?

Edited by iFarbod

Share this post


Link to post
Share on other sites
Evil empire

This looks very interesting, it would even more if you could add a code to empty the streets.

Share this post


Link to post
Share on other sites
Silent

Hate to be that guy, but... source? :-D I'm genuinely interested in how it's structured because a mod like this screams for a feature to register your custom commands.

 

EDIT: wow I noticed just now you can start missions with it - guess test CLEO scripts to do such are now useless :-D

Edited by Silent

Share this post


Link to post
Share on other sites
Silent

RwJ3MlR.jpg

 

 

 

 

Also, one thing I miss having in this are CLEAR and HELP commands - though I have no clue how the latter would work seeing how the console shows only 10 last messages and there's a lot more options in there.

Share this post


Link to post
Share on other sites
theNGclan

Wow, this is very cool! Would be awesome to see more commands, like player models and weapons. Maybe even a III / SA version. Gonna try this out when I get home!

Share this post


Link to post
Share on other sites
Silent

I am very hesitant about releasing this but many people have an interest in it, so here it is. This was born out of my need to debug the game more quickly and efficiently so there isn't very many functionalities.

Let's see if space can be summoned by quoting his post...

Edited by Silent

Share this post


Link to post
Share on other sites
spaceeinstein

Sorry, I've been busy. Version 2.1 is now released. There are a ton of behind-the-scenes improvements to the code and two new commands are added: CLEAR and HELP.

consolehelp_th.jpg

 

I might make a console for III if you are interested in it. The main reason why I only made one for Vice City is because I'm actively modding Vice City.

Share this post


Link to post
Share on other sites
KNN.

Would be nice if you could include SET MONEY command

Share this post


Link to post
Share on other sites
spaceeinstein

It has been implemented as "PLAYER MONEY SET" (along with ADD and GET) but I haven't gotten around to releasing an update. Other future commands include "SCRIPT MISSION" (instead of "MISSION"), "SCRIPT VARIABLE SET/GET", and "EXTRACOLO(U)R SET/CLEAR".

 

It'll be a while before the next update. Any additional suggestions in the meantime?

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
KNN.

Freeze value flag, after SET TIME 12 34 1 for freeze and 0 for unfreeze, or atleast pause rendering physics function.

I did that for my old trainer.

Edited by HM128

Share this post


Link to post
Share on other sites
pinospin

Can u make the inf value instead of 9999999999999...? Or 9*10^99 as inf?

Share this post


Link to post
Share on other sites
pinospin

Btw when I set the weather into 120 something in vc start crazy, especially ridiculously LONG trees and very TALL water waves

Share this post


Link to post
Share on other sites
MarcolinoGTA

Hey, i'm kinda new in this thing, and i does not know how to activate and use the mod. Someone can help me?

Share this post


Link to post
Share on other sites
Thugsworth

Hey, i'm kinda new in this thing, and i does not know how to activate and use the mod. Someone can help me?

Press the ~ key to activate/deactivate the console.

Share this post


Link to post
Share on other sites
MarcolinoGTA

It's not working :(

Share this post


Link to post
Share on other sites
Helv
Posted (edited)

It's not working :(

You need to switch your keyboard language to English (you can do this using Alt+Shift, and then you can change it back to the original language using the same keys)

 

That did it for me.

 

 

As for ideas, maybe a command to change a vehicle's color?

Edited by Helv

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.