Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

MathiewMay

Uploaded by

MathiewMay

Virus scan

Safe to use

About this mod

The street vendors of Night City will now trade with you!

Requirements
Permissions and credits
Changelogs
Donations
Welcome to the Street Vendors Mod.
My mod allows you to trade with most of the street vendors you will encounter in Night City!

Manual installation process
To install this mod you will first need to install the Redscript mod.
If the mod is not working please make sure you also install cybercmd, it is not a requirement unless you also use REDmod.
If you are using RED4ext it seems to be recommended that you do not use cybercmd at the same time.

Once installed, download and extract the "r6" folder that is included in the mod's zip file to your game's root directory.

If you have the game on steam the root directory will be located at
"C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077" or "$HOME/.local/share/Steam/steamapps/common/Cyberpunk 2077"

If you have the game on the Epic Games store the root directory will be located at
"C:\Program Files\Epic Games\Cyberpunk 2077"

If you have the game on the GOG Galaxy Launcher the root directory will be located at
"C:\Program Files\GOG Galaxy\Games\Cyberpunk 2077"

Need help?
Join the my discord server https://discord.gg/RvswcavYQc

Support me.
If you like what I do and want to get frequent updates on what I am working on as well as fast support, you can join me on my patreon page
https://www.patreon.com/user?u=8618666

Showcase


If you like the mod please share it and endorse the page! if you have suggestions, questions, or find bugs please post them in the posts and bugs sections. I will be reading all of them. enjoy!

Special Thanks
NexusGuy999 and psiberx - help with interaction prompts.

For Developers
Spoiler:  
Show
With update 1.2.5 you can now modify or add your own items that street vendors can sell in your mod using the IGS (Inventory Generation System).

Street Vendors now add a new class called igsPool, this class is used to define what each type of vendor can sell, it has some basic properties.
igsPool.vendorTypeTarget: gamedataVendorType (define which vendor type this igsPool will be applied to)
igsPool.itemPool: array<String> (define which items are part of the base pool)
igsPool.poolQuantityMin: Int32 (define the minimum ammount of items the new randomly generated pool can contain)
igsPool.poolQuantityMax: Int32 (define the maximum ammount of items the new randomly generated pool can contain)
igsPool.itemQuantityMin: Int32 (each item in the new pool will have a quantity that is for sale, this defines the minimum it can be)
igsPool.itemQuantityMax: Int32 (each item in the new pool will have a quantity that is for sale, this defines the maximum it can be)

In addidtion there is also a public static function that is available to easly create igsPools.
let myPool = CreateIGSPool(vendorTypeTarget, itemPool, poolQuantityMin, poolQuantityMax, itemQuantityMin, itemQuantityMax);

Once you have created your igsPool you need to initialize it using this public static function.
InitNewIGSPool(gameInstance, isgPool);

Here are examples.
(Redscript)
let ClothingVendorPool = ["Items.MyClothing01"];

let myClothingIGSPool = CreateIGSPool(gamedataVendorType.Clothing, ClothingVendorPool, 1, 1, 4, 8);
InitNewIGSPool(gameInstance, myClothingIGSPool);