Quantcast

Jump to content

» «
Photo

[VC] MiniConsole v2

VC WIP
13 replies to this topic
spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#1

Posted 29 March 2017 - 06:08 PM Edited by spaceeinstein, 09 April 2017 - 04:37 PM.

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.

InstallationConsole
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 <VAL>
    Sets the current interior number.
  • CAR COORDINATES GET
    Gets your current vehicle's coordinates.
  • CAR COORDINATES SET <X> <Y> <Z>
    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 <X> <Y> <Z>
    See CAR COORDINATES SET.
  • CAR HEALTH GET
    Gets your current vehicle's health.
  • CAR HEALTH SET <VAL>
    Sets your current vehicle's health.
  • CAR LOCK GET
    Gets your current vehicle's lock state.
  • CAR LOCK SET <VAL>
    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 <VAL>
    Sets your current vehicle's mass.
  • CLEAR
    Clears the console.
  • CREATE <VEHICLE>
    Spawns in any vehicle. You can use the vehicle's model index, model name, texture dictionary name, or game name.
  • HELP [<PAGE>]
    Prints a list of available commands. The input for the page is optional and defaults to 1.
  • MISSION <VAL>
    Launches the mission.
  • PLAYER ARMOR GET
    Gets your player's armor.
  • PLAYER ARMOR SET <VAL>
    Sets your player's armor.
  • PLAYER ARMOUR GET
    See PLAYER ARMOR GET.
  • PLAYER ARMOUR SET <VAL>
    See PLAYER ARMOR SET.
  • PLAYER COORDINATES GET
    Gets your player's coordinates.
  • PLAYER COORDINATES SET <X> <Y> <Z>
    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 <X> <Y> <Z>
    See PLAYER COORDINATES SET.
  • PLAYER HEALTH GET
    Gets your player's health.
  • PLAYER HEALTH SET <VAL>
    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 <VAL>
    Sets your player's mass.
  • TIME GET
    Gets the current game hour and minute.
  • TIME SET <HOUR> [<MINUTE>]
    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 <VAL>
    Sets the time scale.
  • TP <X> <Y> <Z>
    See PLAYER COORDINATES SET.
  • WANTED MAXIMUM GET
    Gets the maximum wanted level.
  • WANTED MAXIMUM SET <LEVEL>
    Sets the maximum wanted level.
  • WANTED SET <LEVEL>
    Sets the current wanted level.
  • WEAPON AMMO GRANT <WEAPON> <AMMO>
    Adds ammo to your player's weapon. You can use the weapon's model index, model name, or texture dictionary name.
  • WEAPON AMMO SET <WEAPON> <AMMO>
    Sets ammo to your player's weapon. You can use the weapon's model index, model name, or texture dictionary name.
  • WEAPON GIVE <WEAPON> <AMMO>
    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 <VAL>
    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=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.
  • Wesser, -Anti-, Blackbird88 and 21 others like this

iFarbod
  • iFarbod

    Breaking and fixing things!

  • Members
  • Joined: 17 Dec 2013
  • Unknown

#2

Posted 30 March 2017 - 08:52 PM Edited by iFarbod, 30 March 2017 - 08:52 PM.

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

  • Silent likes this

Evil empire
  • Evil empire

    Homie

  • Members
  • Joined: 23 Sep 2010
  • France

#3

Posted 02 April 2017 - 12:59 AM

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


Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#4

Posted 02 April 2017 - 06:32 AM Edited by Silent, 02 April 2017 - 06:34 AM.

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

Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#5

Posted 02 April 2017 - 09:03 AM

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.
  • Ezekiel and dkluin like this

theNGclan
  • theNGclan

    execute me (haha giddit)

  • Facade
  • Joined: 06 Apr 2011
  • United-States
  • Best Character 2016 [Niko Bellic Ped]
    Best Conversion 2016 [GTA: Underground] [Contribution]
    Best Topic 2014 [GTA V and Steam]

#6

Posted 04 April 2017 - 07:44 AM

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!

Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#7

Posted 05 April 2017 - 07:30 PM Edited by Silent, 05 April 2017 - 07:30 PM.

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...

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#8

Posted 09 April 2017 - 04:25 PM

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.
  • pinospin likes this

KNN.
  • KNN.

    ▓▒░_watch yerself_░▒▓

  • Feroci
  • Joined: 09 Jul 2006
  • European-Union
  • Best Map 2013 "ViceCityStories PC Edition"

#9

Posted 26 August 2017 - 06:37 PM

Would be nice if you could include SET MONEY command


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#10

Posted 26 August 2017 - 10:21 PM Edited by spaceeinstein, 26 August 2017 - 10:55 PM.

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?

KNN.
  • KNN.

    ▓▒░_watch yerself_░▒▓

  • Feroci
  • Joined: 09 Jul 2006
  • European-Union
  • Best Map 2013 "ViceCityStories PC Edition"

#11

Posted 28 August 2017 - 01:34 PM Edited by HM128, 28 August 2017 - 02:41 PM.

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.


pinospin
  • pinospin

    f*ck ME!!!

  • Members
  • Joined: 20 Jan 2016
  • Vietnam

#12

Posted 6 days ago

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

pinospin
  • pinospin

    f*ck ME!!!

  • Members
  • Joined: 20 Jan 2016
  • Vietnam

#13

Posted 6 days ago

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

pinospin
  • pinospin

    f*ck ME!!!

  • Members
  • Joined: 20 Jan 2016
  • Vietnam

#14

Posted 7 hours ago

Here is how the weather 120 in 2 different times
https://imgur.com/EkNesrb
https://imgur.com/zHcy5Yq





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users