Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are allowed to use the assets in this file in mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Added randomised moods that different NPC types can have in each interaction to make responses more diverse
Simplified the way that officers calculate nearest player for actions
Officers accidentally were using Lethal force when doing a body search in actions -> now non lethal or arresting
IL2CPP Support (default game version)
Added Snapshot Camera to the mod allowing for image capture in real time from the NPC Perspective and used while prompting from AI to allow Gemini to interpret NPC surroundings and embed better
Now supports many languages and AI tries to prefer the user prompt language in the response
Fixed a bug with Action number system that caused Action id 0 (no action selected) to not pass mod internal rules
Deleted the Speech Content validation because Regex to support all languages would be impossible
Fixed a bug that caused movement inputs typing into the text fields even when not in the dialogue conversation
NPC Relationship is now evaluated and provided as a part of the system instruction to allow Gemini to adapt to the current NPC
Player Crime data is now evaluated and provided as a part of the system instruction when conversating with officers to encourage potential police actions
Dealers now get extra instructions to let the AI know if the dealer is unlocked or not
Customer data and current addiction levels get evaluated as additional customer info to allow Gemini to adapt to the Customer role
Changed UI to be cleaner
NEEDS MELON LOADER ( BOTH ALTERNATE AND DEFAULT VERSIONS ARE NOW SUPPORTED! )
Requirements
1. Acquire your free API Key: - Visit Google AI Studio. https://aistudio.google.com/apikey - Click on the Create API Key button to generate a new key. - Copy the API Key from the project you just created.
2. Enter the API Key in-game: - When interacting with NPCs, Workers, Dealers, or Police, look for the red input field in the left side of the screen. - Paste the copied API Key into this field to activate the AI features.
Side note: Request limit per day for the free model: 1500 Request limit per minute for free model: 15 Side note 2: If you run out of daily limit just make a new account and generate new key lol :D
- Creates an UI in every Dialogue for Gemini interaction - Embeds the current dialogue based on NPC type - Supports multiple languages - Allows Gemini to see everything from the NPC Perspective - Gemini can Choose from the actions performed after each dialogue!
Employee
Action1: Make Surprised sound
Action2: Make Disagreeing sound
Action3: Start being annoyed
Action4: Try resigning from the job
Action5: Increase your Daily Wage
Officer
Action1: Talk to Police Radio
Action2: Make sounds that command the player
Action3: Increase Suspicion level
Action4: Player committed crime, try to arrest
Action5: Body search the nearest Player
Dealer
Action1: Increase aggression
Action2: Make Annoyed sounds
Action3: Make Thinking sounds
Action4: Decrease Dealer Payment Cut
Action5: Increase Dealer Payment Cut
Citizen
Action1: Start Panicking
Action2: Thank the Player
Action3: Make Acknowledge sounds
Action4: Fall down Funnily
Action5: Walk away
Installation Steps:
Install Melon Loader from a Trusted Source like https://melonwiki.xyz/
Drag the DLL file into the Mods folder and you are good to go!
IMPORTANT! "alternate" or "alternate-beta" branch users download the IntelligentDialogue-Mono "default" or "beta" branch users download the IntelligentDialogue-IL2CPP
Contribute, Build from Source or Verify Integrity -> GitHub
Finance the development or support my creations -> Ko-fi