Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

[WIP|C#] Speech Recognition Mod


Rugz007
 Share

Recommended Posts

So Guys Yes......

 

So What Should Be The Name To The Mod?

 

This Mod Is A Open Source Mod So I Will Upadting My Pastebin Every Upadate

 

Done List:

1) Wanted Level (Weibren Help)

2) Crash fix (Lord Of Bongs Help)

3) Helispwaner

4) Social Commands

5) Bike And Car Spwaner

 

To Do List:

1) Some Of Watch Dogs Features (I Think Only Destroy Engine, Alarm, Horn,Lights )

2) Reload (WIP By Wirbrendh)

3) Loading Other Mods Like If We Say Iron Man

4) Lets First Finish These And Release V.1.0

 

Credits List:

LordOfBongs

Weibrendh

And My Own Software JARVIS For Inspirition Of These Mod

 

BETA Version: http://www.gta4-mods.com/script/speech-rocognition-mod-beta-f28162

 

Code: http://pastebin.com/pPsFA10h

 

Guys Thank You

 

I Am Inviting Every Modder To Make This Mod More Awesome !

Edited by Rugz007
  • Like 1
Link to comment
Share on other sites

Guys Can You Provide Me somethings Like :

 

1) god Mod

2) vehicle god mod

Link to comment
Share on other sites

Hey, in the script it says this:

case "Dont Leave Me Alone":                case "Increase wanted level":                    Player.WantedLevel++;                    currentFunction = null;                    break;                 case "Leave Me Alone":                case "Decrease wanted level":                    Player.WantedLevel--;                    currentFunction = null;                    break;

What does that

case "Dont Leave Me Alone":andcase "Leave Me Alone":

do? Those are cases without a script to run.. You should remove that.

Link to comment
Share on other sites

Nope

 

What It Does is as same as the others

 

if u say leave me alone or decrease wanted level it would do the same thing

Link to comment
Share on other sites

Then u need this:

case "Dont Leave Me Alone":                    Player.WantedLevel++;                    currentFunction = null;                    break;case "Increase wanted level":                    Player.WantedLevel++;                    currentFunction = null;                    break; case "Leave Me Alone":                    Player.WantedLevel--;                    currentFunction = null;                    break;case "Decrease wanted level":                    Player.WantedLevel--;                    currentFunction = null;                    break;

And the watchdogs siren function:

case "Siren on":                if (Player.Character.isInVehicle())                {                    Player.Character.CurrentVehicle.SirenActive = true;                }            case "Siren off":                if (Player.Character.isInVehicle())                {                    Player.Character.CurrentVehicle.SirenActive = off;                }
Edited by Wiebrendh
Link to comment
Share on other sites

And the near vehicle....... Ithink i will use targets like julios iron man old targets so we can do it with specific car

Link to comment
Share on other sites

hey Weibren let Me Correct You So U Dont do this mistake in future

            case "Siren off":                if (Player.Character.isInVehicle())                {                    Player.Character.CurrentVehicle.SirenActive = false;                    // you had written "off" instead of "false"                }             break;

and after every case u need to write "break;"

Edited by Rugz007
Link to comment
Share on other sites

Yeah i know so i need like that

 

about watch dogs, this is not good idea

Link to comment
Share on other sites

So Guys My Script Is Working Awesome.........

Weibrendh I Am Trying To Fix It :/

Link to comment
Share on other sites

LordOfTheBongs

Okay ^^

 

@wiebren - Your Siren Code Doesnt Work :/

when something doesnt work, you need to explain why it doesnt work or else how can he fix it?

Link to comment
Share on other sites

Hmm weird, that code sounds logic to me. It is when you are in your car, and not other cars.

Link to comment
Share on other sites

yeah it when you sit in a car right? its not working :/

reload script done?

Link to comment
Share on other sites

RELEASED! YEAH! :D HAPPY VERY MUCH !

 

 

Download Link Up !

Link to comment
Share on other sites

Nice! And does someone knows in c# how to use multiple flags in the animation?

I use this:

Player.Character.Animation.Play(AnimSet, AnimName, 8, AnimationFlags.Unknown09);

And i need unknown09 and unknown11 together

Link to comment
Share on other sites

Come On Rappo... 1st You Approved Myy Mod Had 6 Downloads In 2 Min Now again Not Approved :/

Link to comment
Share on other sites

LordOfTheBongs

Nice! And does someone knows in c# how to use multiple flags in the animation?

I use this:

Player.Character.Animation.Play(AnimSet, AnimName, 8, AnimationFlags.Unknown09);

And i need unknown09 and unknown11 together

these flags are bit flags and u use bitwise operators to combine multiple flags to turn on (google bit flags and bitwise operators)

 

use the or operator | ...

AnimationFlags allowMovement = AnimationFlags.Unknown01 | AnimationFlags.Unknown09 | AnimationFlags.Unknown11;
Edited by LordOfTheBongs
Link to comment
Share on other sites

I havent tested this myself, but I will later.

 

I dont remember the excact code to get the closest vehicle ( except the one you sit in, if you are sitting in a car ), but isnt stuff like that as simple as "GetNearCar.SomeFunction.Siren = True" ?

 

Been a while since I modded gta so I dont remember the functions or methods at all, but I still want to help.

Link to comment
Share on other sites

NTAuthority

Hey, in the script it says this:

 

What does that

 

do? Those are cases without a script to run.. You should remove that.

http://msdn.microsoft.com/en-us/library/06tc147t.aspx

 

perfectly valid C#; just means it executes the same code for both cases

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

Wouldnt this require everyone to have the Alex.txt file?

recognizer.LoadGrammar(new Grammar(new GrammarBuilder(new Choices(File.ReadAllLines(@"C:\Program Files\Alex SR program\Alex.txt")))));
Link to comment
Share on other sites

Sorry man... When i get home i will update it.... I was testing mine but realesed. Mod is working ^^

Link to comment
Share on other sites

@wiebren - it has no traniners but when we try to siren on or off it doesnt do anything.....

Link to comment
Share on other sites

Guys cam u tell me how to make a weapon wheel....and how to make jarvis stop listening and make him start listening :/ sorry guys out of town cant work :( ...

Link to comment
Share on other sites

i didnt read your source code but, its possible to you recognize a model name? like if i say "Spawn sabregt", it spawn a sabregt? that would be very cool, the problem is that my english is not that good and i would fail spawning some models ^^

Link to comment
Share on other sites

Yeah but its not added it.....and just try to say i think he will understand your speech

Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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