Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

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

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    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. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. 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. 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
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Rugz007

[WIP|C#] Speech Recognition Mod

Recommended Posts

Rugz007

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

Share this post


Link to post
Share on other sites
Rugz007

Guys Can You Provide Me somethings Like :

 

1) god Mod

2) vehicle god mod

Share this post


Link to post
Share on other sites
Wiebrendh

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.

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
Wiebrendh

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

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
Wiebrendh

Owh you want to edit the siren of other cars :/

Share this post


Link to post
Share on other sites
Rugz007

Yep :3

Share this post


Link to post
Share on other sites
Rugz007

Yeah i know so i need like that

  • Like 1

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
julionib

Yeah i know so i need like that

 

about watch dogs, this is not good idea

Share this post


Link to post
Share on other sites
Rugz007

Okay ^^

 

@wiebren - Your Siren Code Doesnt Work :/

Share this post


Link to post
Share on other sites
Rugz007

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

Weibrendh I Am Trying To Fix It :/

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
Wiebrendh

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

Share this post


Link to post
Share on other sites
Rugz007

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

reload script done?

Share this post


Link to post
Share on other sites
Rugz007

RELEASED! YEAH! :D HAPPY VERY MUCH !

 

 

Download Link Up !

Share this post


Link to post
Share on other sites
Wiebrendh

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

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
PlayPrey

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.

Share this post


Link to post
Share on other sites
Rugz007

Heehehe now it is avaible for download ^^

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
PlayPrey

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")))));

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites
julionib

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

Share this post


Link to post
Share on other sites
Rugz007

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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