安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题




There might be problems if your pistol's abilities are using shotgun fxrep in the linked .ab files. If that's the case, you could try cloning the shotgun .ab files, and updating the FX (e.g. actionFxName) to use the Pistol versions instead, while keeping the rest of the ability the same. You might also need/want to update the prereqStrings to make sure they're valid for your weapon.
So far I haven't touched the abilities yet, unfortunately I really don't know where to start with that cause I'm not sure how to connect abilities to the gun specifically, and I don't want to run the risk of making every pistol suddenly be able to turn into shotguns (granted the fear is absurd cause I'm tweaking the weapon in the my gunrange module).
Also at the moment I'm using text file on my gun range module since I don't want to mess the main campgain with buggy weapons.
/data/modes/dc single (shotgun).mode.txt
/data/abilities/shoot (shotgun burst).ab.txt
This line in your .item file links the gun to the mode:
abilityModes: "DC Single (Shotgun)"
The editor will then read:
/data/modes/dc single (shotgun).mode.txt
The mode file includes multiple lines that link the mode to abilities:
abilities: "Shoot (Shotgun Single)"
abilities: "Shoot (Shotgun Wide)"
That causes the editor to read:
/data/abilities/shoot (shotgun single).ab.txt
/data/abilities/shoot (shotgun wide).ab.txt
Those abilities have the all of the actual data needed for attacks: how many bullets they take, what the range is, what animations to use, etc.
I suspect that you're having trouble because you're trying to use shotgun abilities on a pistol item. You might need to make a new mode file (like data/modes/dc single (roomsweeper).modes.txt), and link that to new ability files (like data/abilities/shoot (roomsweeper single).ab.txt). Try linking a single custom ability first to see if it works, then add more.
Thanks for helping out with this mate. At the moment I'm having this issue. Pretty sure it's a simple naming issue but I can't seem to get it to work.
I simply copied the shotgun mode folder (made the proper abilities and Modes folders) and just renamed it to (roomsweeper).mode.txt and took the shoot (roomsweeper single).ab.txt placed it in the proper folders. and the top error line is what I get.
/data
/data/abilities
/data/abilities/shoot (roomsweeper single).ab.txt
/data/items
/data/items/remington roomsweeper.item.txt
/data/modes
/data/modes/dc single (roomsweeper).mode.txt
I'm not sure if case sensitivity matters, but to be consistent I always name files with all lower-case.
Make sure to update the IDs inside your copied files to match the new name of the file. For example, the first line in your .ab.txt file should be something like:
id: "Shoot (Roomsweeper Single)"
instead of:
id: "Shoot (Shotgun Single)"
I just made sure the ID and save .txt were all lower case, then went to the Remington and made sure it said "dc single (roomsweeper)"
And now it worked. Thanks for having patience with me mate.
How did you go converting it to a bytes file? To do so, you can just select 'Publish Content Pack to' in the editor, save the zip file wherever you want, then unpack it to find the bytes version of your item.txt file inside.
Now, if you want to put your new gun version in the HK campaign, you have two choices as I see it:
1) Backup the old "pi 2 remington roomsweeper.item.bytes" file in your "Shadowrun Hong Kong\ContentPacks\HongKong\data\items" game folder, then replace it with your new one.
2) Create a new small mod that 'duplicates' the Hong Kong campaign but uses the original as a dependency (so you don't need copies of all the files, just the "data\stories\story.story" file), and place your new version of the Roomsweeper in that mods' "data\items". You will need to start a new game for that way to work, but it means not having to overwrite any files.
If you need help with option 2 (since it's harder to explain than to actually do, IMO), check out my mods on the Shadowrun Hong Kong Nexus[www.nexusmods.com] (Slap Patch and Old School) to see how I did something similar, or drop me a line privately and I'll help you do it.