Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
"Yeah I took a look into your script, nice they does not require that mods, because I don't use them. I just use britas armor pack, vannila weapon expansion, and other weapon mods.
I still have yet to learn how to add some itens there following the same method as you did, checking if the mod in installed and then running the functions.
One thing I did not understood and for that, you could open another fixed channel about FAQ / Questions so we can talk to you there.
Some stuff like the true or false in the script, I didnt get it. Also, you said to add the caliber but some items does not have caliber there and I don't know how to get that info for some mod items also."
The true and false is set for multiple quantities. I wouldn't suggest changing them at this point, as it might break the mod, but you can if you want.
The ammunition and attachments won't need calibers, just the magazines and guns. If the items in that table have calibers, you will need to add calibers. It won't show up otherwise. If you're adding weapons that have a different caliber than what is already there then you would need to add the caliber to the caliber table(vendorsWeapons[4]) as well as the item. To get that info, it's just the size of the bullet the guns/magazine use.
To add items from other mods you would need the mod id at the beginning of the ItemType. I apologize, I stated ItemName in the intructions, but it is ItemType. If you open the admin 'Item List' in game, the type field is the first one. Find the item you're looking for and then add the mod identifier. For example to add the ATM machine you would add {"Vendors.ATMMachine", 100}. The ID is not always the mod name though.
- For example, I do not use Brita's weapon pack. But I know the base item name that I want to buy, both ammunition and clip. How do I correctly introduce it inside the vendors price script?
In vendorsWeapons[1] I have the following:
As you can see, I added "40Rounds" ammo and its item name is base.40Rounds, then I removed the base. before adding it to the list as it seems right.
I have also added the caliber, as you mentioned:
Before that I have added
But all I can see in vendor, is a new context menu with the 40Rounds but nothing being selled, and when clicked/mouse over, nothing happens.
I'm not sure what mod they're from, but in Brita they're called 40HERound and 40INCRound.
You would need to change 40Rounds in the ammo table to 40HERound or 40INCRound. If it's not Base.40HERound you would need to add whatever mod ID instead of "Base".
Let me know if you need more help.
Also, since your posts aren't actually coming through I can't see your post history for the translation on the main page.
Their name is Base.40Rounds, Base.40ClipCan and Base.40Clip
respectively.
https://i.imgur.com/pfpgG41.png
I will make the changes you said and will try again.
About the mod ID instead of base, in ammo table I would need to change this:
to this then?
And now I have:
Since the 40ClipCan is the magazine, and 40Rounds is the ammunition.
I also have 13.2 Ammo (132Bullets) and Box of 13.2 Bullets (132Box) that I want to add. Will repeat the process.
Since 13.2 does not have a clip, just added the box and now the script look like this:
https://i.imgur.com/h76uhxV.png
Yes, but in the picture you sent it's listing the type(tipo) as 'Clip of 40MM Rounds'. Vendors is looking for the itemType. So whatever is listed in the type field is what you need to enter.
Ok. Changes will be made. Thanks!
Will let you know after changing it
Can't wait for new content of this mod! ;)
Vendors.OneDollar
Vendors.TenDollar
Vendors.HundredDollar
Vendors.ThousandDollar
ATM (Better Money System) would need to look for those items.