https://github.com/scrivener07/fo4_scopes
A Fallout 4 framework for loading custom scopes and optics.
https://github.com/scrivener07/fo4_scopes
bain fallout-4 papyrus scaleform
Last synced: 4 months ago
JSON representation
A Fallout 4 framework for loading custom scopes and optics.
- Host: GitHub
- URL: https://github.com/scrivener07/fo4_scopes
- Owner: Scrivener07
- License: mit
- Created: 2017-09-09T13:45:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T16:50:17.000Z (over 6 years ago)
- Last Synced: 2025-02-13T20:56:13.906Z (over 1 year ago)
- Topics: bain, fallout-4, papyrus, scaleform
- Language: Papyrus
- Homepage: https://www.nexusmods.com/fallout4/mods/30644/
- Size: 150 KB
- Stars: 14
- Watchers: 4
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Fallout 4 Scopes Framework
A Fallout 4 framework for loading custom scopes and optics.
Check out the [video playlist](https://www.youtube.com/playlist?list=PLdEgiq4kaju3CYBlhULuza2JnbikUS18Q) for work in progress footage.
### Features
* Framework allows all new scope and optic crosshairs for weapons.
* Easily create custom content. No data plugins, no scripts!
* Optional advanced API for scopes to interact with Papyrus scripting.
* "it just works" 😉
### Requirements
* Requires a computer, PC only.
* Requires the latest version of Fallout 4.
* Requires the latest version of F4SE.
### Installation
* Install with your preferred mod manager, or copy the files into your Fallout 4 data directory.
* Activate `Scopes.esm` anywhere within your load order.
* Download and install mods that make use of this framework.
* Launch the game.
### Mods
* [Wattz Laser Gun](https://www.nexusmods.com/fallout4/mods/26386)
* [LAER (Laser Assisted Electrical Rifle)](https://www.nexusmods.com/fallout4/mods/30868)
* [XM2010 Enhanced Sniper Rifle](https://www.nexusmods.com/fallout4/mods/36750)
### Acknowledgements
Thanks to the F4SE team for their continued efforts to make mods like this possible.
# Authors
This section is for modders who would like to create a custom scope overlay.
The process is simple.
Create a vector based image such as `.svg` or `.ai` for your scope overlay.
Then import your vector image into new flash file (`.fla`), publish the `.swf` to a directory that matches a valid weapon scope object modification. Thats it!
## Notes
With this system a single physical (`.nif`) representation of a scope is paired with a single visual (`.swf`) representation of a scope. A unquie resource identifier for the `.swf` file path is derived from the omod's world model path.
Your scope omod must also add the `HasScope` keyword to a weapon via its property modifiers.
If your scope omod model is `Meshes\Weapons\44\44Scope.nif` then your scope overlay will be autoloaded from `Interface\Weapons\44\44Scope.swf`.
* Adobe Illustrator
* * Illustrator requires RGB color mode.
* Adobe Flash (Adobe Animate)
* * Document dimensions must be `1280x720` in size.
* * Overlay must be centered on the stage.
# Developers
The AS3 source uses an external package from [UI Library {c37b191ae21e1a392850a736ed2b09263c577dee}](https://github.com/Scrivener07/FO4_Scripting/tree/c37b191ae21e1a392850a736ed2b09263c577dee/Data.UI.Library/Interface/Source/Fallout_Library)