Barclay's Library

Import whatever model URLs you need - library that does the heavy lifting

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/526336/1661654/Barclay%27s%20Library.js을(를) 사용하여 포함하는 라이브러리입니다.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

You will need to install an extension such as Tampermonkey to install this script.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
onlypuppy7
버전
1.1.4
생성일
2025-02-09
갱신일
2025-09-16
크기
11.4KB
라이선스
해당 없음

Barclay's - Shell Shockers Model Injector

built by onlypuppy7, based off libertymutual's code
> repository link

> greasyfork example script link
> greasyfork library link

How to use

1. Setup

Grab the game's original model files as reference.

NOTE: The old URLs for models are OUTDATED!

Going to simply /models/[model].glb will only give you the default models.

You must go to /models/full/ links.

Examples:

https://shellshock.io/models/full/egg.glb
https://shellshock.io/models/full/gun_m24.glb

2a. Replacing models

Create models in Blender with names that will overwrite the original's.

They MUST match.

2b. Replacing animations

{Guide coming soon.}

3. Importing into Barclay's

Upload to some file hoster.

GitHub usually works best for this type of thing.

Add the link to the arrays at the beginning of the example script.

You can add multiple models if desired, as well as many URLs as you like. The order of execution is from first to last, so GLBs that have models that target the same meshes as ones prior will overwrite the previous data.

Adding Barclay's to your project as a library

Add this line to the userscript meta, it will initiate the Barclay's library.

// @require      https://update.greasyfork.org/scripts/526336/user.js

If you don't like the idea of adding that, or you have an environment where you can't add libraries, then the code from the link can safely just be inserted into your code.

Then, to set the script's models add this:

BARCLAYS.modelURLs = [
    "https://link.to.file/model.glb",
];

After this, you need to decide how you want the script injecting. If you want to let Barclay's inject itself, add this:

BARCLAYS.init();

Otherwise, you can pass in the game's js from your own injection mechanism, for example like this:

js = BARCLAYS.applyBarclays(js);

Optionally, if you need to reinject models or such you can run this:

BARCLAYS.replaceModels([
    "https://link.to/your/model.glb",
]);

FAQ

Oh my god, onlypuppy7 made this! It's hacks and virus and a malware!

Please find a bathroom to do your business, because you appear to be full of shit.