Category:F4SE
The Fallout 4 Script Extender, or F4SE for short, is a community made modder's resource that expands the scripting capabilities of Fallout 4. F4SE supports the latest version of Fallout 4 and Fallout 4 VR available on Steam, PC only.
For the latest releases and documentation visit the official website http://f4se.silverlock.org/
Papyrus[edit | edit source]
Adds all new native Papyrus script objects.
Native Plugin API[edit | edit source]
Allows authors to extend Fallout 4 by writing c++ code.
Console Commands[edit | edit source]
Running GetF4SEVersion from the console will print the current version of F4SE. The currently installed version of F4SE is also shown in the PauseMenu next to the game version.
Logging[edit | edit source]
F4SE log files will be written to ...\<Documents>\My Games\Fallout4\F4SE\
.
These files contain useful information such as version information, loaded plugins, and debug messages.
Optionally, logging from Scaleform may be enabled by adding bEnableGFXLog=1
to the [Interface]
section of your F4SE.ini.
Create Fallout 4\Data\F4SE\F4SE.ini
if it doesn't exist.
[Interface]
bEnableGFXLog=1
Key Mappings[edit | edit source]
Customization of internal key mappings.
Copy CustomControlMap.txt to ...\Fallout 4\Data\F4SE\CustomControlMap.txt
.
Edit that file to set your bindings. The format is the same as Skyrim, it's a space-separated file.
The first column is the name of the internal keybind. The second column is the keyboard scan code that should activate the bind in hex, or 0xFF
if unbound.
Use google to find a table of scan codes. The third column is for mice, the fourth for controllers.
The next three columns control whether or not a control should be written to the user's config file.
The final column specifies which input layer the bind is associated with - you will probably not want to change that.
Scaleform[edit | edit source]
Scaleform is the middleware between Fallout 4 and Adobe Flash. This is the technology behind the games User Interface.
Translation Injection[edit | edit source]
F4SE adds support for Scaleform translation injection. Create your own translation file by adding a text file that matches your mod name to ...\Fallout 4\Data\Interface\Translations
.
For example, the mod HelloWorld.esp
may add English translations by creating ...\Fallout 4\Data\Interface\Translations\HelloWorld_en.txt
.
Menu Code Object[edit | edit source]
F4SE also provides a Scaleform code interface by installing a code object to the root of any registered menu.
To acquire the F4SE code object in AS3, use (stage.getChildAt(0) as MovieClip).f4se
or MovieClip(root).f4se
.
There are some cases when the installed F4SE code object on a menu root may be unreachable from your display object class.
With F4SE v0.6.8 and greater the code object may be received by implementing the onF4SEObjCreated
function on your display object class.
This function is called on the menu root document as well as first-level children.
package Shared.F4SE
{
public interface ICodeObject
{
function onF4SEObjCreated(codeObject:*):void;
}
}
Code Object[edit | edit source]
It is a good idea to wrap calls to the F4SE code object in a Try/Catch block.
AllowTextInput : Function(allow:Boolean):void
GetMembers : Function():void
CallFunctionNoWait : Function():void
SendExternalEvent : Function(eventName:String, *...):void
GetDirectoryListing : Function(path:String, match:String, recursive:Boolean):Array
MountImage : Function(menuName:String, mountPath:String, mountName:String):void
UnmountImage : Function(menuName:String, mountPath:String):void
plugins : Array
pluginName1 : [Object]
pluginName2 : [Object]
version : [Object]
releaseIdx : Number
minor : Number
major : Number
beta : Number
Pages in category "F4SE"
The following 200 pages are in this category, out of 244 total.
(previous page) (next page)A
C
G
- Get - DefaultObject
- Get - UI
- GetAccuracyBonus - InstanceData
- GetActionPointCost - InstanceData
- GetAllMods - ObjectReference
- GetAmmo - InstanceData
- GetAmmoCapacity - InstanceData
- GetArmorHealth - InstanceData
- GetArmorRating - InstanceData
- GetAttackDamage - InstanceData
- GetAttackDelay - InstanceData
- GetBodyWeight - ActorBase
- GetCameraState - Game
- GetConnectedObjects - ObjectReference
- GetConnectPoints - ObjectReference
- GetConstructibleComponents - ConstructibleObject
- GetConsumeSpell - WaterType
- GetContactSpell - WaterType
- GetCreatedCount - ConstructibleObject
- GetCreatedObject - ConstructibleObject
- GetCritChargeBonus - InstanceData
- GetCritMultiplier - InstanceData
- GetCurrentConsoleRef - Game
- GetDamageTypes - InstanceData
- GetDefaultObject - DefaultObject
- GetDescription - Form
- GetDisplayName - ObjectReference
- GetEmbeddedMod - Weapon
- GetEnchantment - Form
- GetEnchantmentValue - Form
- GetEncounterZone - Location
- GetEquipType - Form
- GetExtraParts - HeadPart
- GetF4SEVersion
- GetFavorites - FavoritesManager
- GetFlag - InstanceData
- GetFurnitureReference - Actor
- GetGoldValue - InstanceData
- GetHeadParts - ActorBase
- GetIconPath - Form
- GetInstalledLightPlugins - Game
- GetInstalledPlugins - Game
- GetInstanceOwner - Actor
- GetInstanceOwner - Weapon
- GetInventoryItems - ObjectReference
- GetInventoryWeight - ObjectReference
- GetKeywords - Form
- GetKeywords - InstanceData
- GetLevel - Perk
- GetLocation - EncounterZone
- GetLooseMod - ObjectMod
- GetMappedControl - Input
- GetMappedKey - Input
- GetMaterialSwap - ObjectReference
- GetMaxLevel - EncounterZone
- GetMaxRange - InstanceData
- GetMaxRank - ObjectMod
- GetMessageIconPath - Form
- GetMinLevel - EncounterZone
- GetMinRange - InstanceData
- GetMiscComponents - MiscObject
- GetName - Form
- GetNextPerk - Perk
- GetNumProjectiles - InstanceData
- GetNumRanks - Perk
- GetOutfit - ActorBase
- GetOutOfRangeMultiplier - InstanceData
- GetParent - Location
- GetParents - EquipSlot
- GetPluginDependencies - Game
- GetPluginVersion - F4SE
- GetPriority - ConstructibleObject
- GetPriority - ObjectMod
- GetProjectileOverride - InstanceData
- GetPropertyModifiers - ObjectMod
- GetRank - EncounterZone
- GetReach - InstanceData
- GetReloadSpeed - InstanceData
- GetRemapData - MatSwap
- GetResist - InstanceData
- GetScrapItem - Component
- GetScrapScalar - Component
- GetScriptVersionRelease - F4SE
- GetSightedTransition - InstanceData
- GetSkill - InstanceData
- GetSpeed - InstanceData
- GetStagger - InstanceData
- GetSWFPath - Perk
- GetTaggedForms - FavoritesManager
- GetTemplate - ActorBase
- GetType - HeadPart
- GetValidRaces - HeadPart
- GetVersion - F4SE
- GetVersionBeta - F4SE
- GetVersionMinor - F4SE
- GetVersionRelease - F4SE
- GetWaterType - Cell
- GetWeight - Form
- GetWeight - InstanceData
- GetWorkbenchKeyword - ConstructibleObject
- GetWorldModelPath - Form
- GetWornItem - Actor
- GetWornItemMods - Actor
I
L
O
R
- RegisterBasicCustomMenu - UI
- RegisterCustomMenu - UI
- RegisterForCameraState - ScriptObject
- RegisterForControl - ScriptObject
- RegisterForExternalEvent - ScriptObject
- RegisterForFurnitureEvent - ScriptObject
- RegisterForKey - ScriptObject
- RemapData Struct - MatSwap
- RemoveTaggedForms - FavoritesManager
- RightShift - Math
S
- Set - DefaultObject
- Set - UI
- SetAccuracyBonus - InstanceData
- SetActionPointCost - InstanceData
- SetAmmo - InstanceData
- SetAmmoCapacity - InstanceData
- SetArmorHealth - InstanceData
- SetArmorRating - InstanceData
- SetAttackDamage - InstanceData
- SetAttackDelay - InstanceData
- SetBodyWeight - ActorBase
- SetConstructibleComponents - ConstructibleObject
- SetConsumeSpell - WaterType
- SetContactSpell - WaterType
- SetCreatedCount - ConstructibleObject
- SetCreatedObject - ConstructibleObject
- SetCritChargeBonus - InstanceData
- SetCritMultiplier - InstanceData
- SetDamageTypes - InstanceData
- SetEmbeddedMod - Weapon
- SetEnchantment - Form
- SetEnchantmentValue - Form
- SetEncounterZone - Location
- SetEquipType - Form
- SetFavorites - FavoritesManager
- SetFlag - InstanceData
- SetGameSettingBool - Game
- SetGameSettingFloat - Game
- SetGameSettingInt - Game
- SetGameSettingString - Game
- SetGoldValue - Form
- SetGoldValue - InstanceData
- SetIconPath - Form
- SetKeywords - InstanceData
- SetLocation - EncounterZone