banner
Rating
Voted0

Substitution of base objects

1
Mod version:1
Game version:1.0
The mod has been successfully tested for the absence of viruses
1649.29K14.53K

Report mod

  • image
modalImage

About This Mod

Requirements 


xNVSE

JIP LN NVSE

Johnny Guitar NVSE


Description.


A NVSE plugin that allows modders to change basic objects to other objects using a configuration file.

This is the Base Object Swapper port from Skyrim Special Edition.


With this fashion you can 


Randomly assign different model variations to misses.

Replace worn-out static with unique variants.


and more!


Usage


The variation registration should be written to an ini file in the Data/BaseObjectSwapper folder (for example, Data/BaseObjectSwapper/MyMod.ini).

The general format is as follows:


[Form.]

origBaseID|swapBaseID|transformOverrides|chance

origBaseID|swapBaseID,swapBase2ID,swapBase3ID|transformOverrides|chance


[Ref.]

origRefID|swapBaseID|transformOverrides|chance


[form|CellEDID,KeywordString,RegionEDID] (CellEDID,KeywordString,RegionEDID)

origBaseID|swapBaseID|transformOverrides|chance


ID can be formID or editorID of the object (required JohnnyGuitarNVSE).


ObjectFormID~ModName.esp or ObjectEditorID


origBase is the base object that you are trying to change (for example, a coffee pot).

origRef is a reference to a specific object you are trying to replace (for example, a specific coffee pot in a vacuum cleaner dam).


A swapBase is an object that you replace (for example, a new coffee pot model).


Location-based switching

Switch the form based on location.

Cell ID or zone editor is required.


. This replaces all the different CoffeeKettle objects in Doc Mitchell's house with a larger coffee pot.


[form|GSDocMitchellHouse].

Coffee Maker|Large saucepan



Replace keywords.

Modifies objects according to the keywords you inserted.

JIP LN NVSE is required.


Transformation override.

Changes the position, rotation, and scale of the object you want to replace.

pos position

rot - rotation

scale - Scale

The units are floating point numbers (20.0).


The A/R suffix allows you to specify relative and absolute transformations. For position/rotation

posR(1.0,5.0,100.0) sets the new position according to the reference base position.

posA(300.0,100.0,200.0) cancels the base position.


The scale is multiplier.

The scale can be arbitrary.

For example, scale(1.0/2.0) scales the reference between units 1.0 and 2.0.


Leave NONE if you do not want to override the transformation.


;Replace the various CoffeeKettle elements with broken variations between relative and random z positions 50 to 100 and random scales 1.0 to 1.50.


[Form.]

Coffee Kettle|CoffeeKettleCracked01|posR(10.0,5.0,50.0/100.0),scale(1.0/1.50)

  

You can also specify transformation overrides directly without changing the object; this requires the [Transforms] section.


[Transforms].

origBaseID|transformOverrides|Chance

origRefID|transformOverrides|chance


Transforms|CellEDID,KeywordString,RegionEDID] partition.

origBaseID|transformOverrides|chance


Affects modified objects.


[transformOverrides].

Leaf blower|rotR(-90,0,0),scale(2.0)


Chance.


The probability of accidental change/non-change of multiple changeable objects.


Probability (0 - 100)

Default value is 100


S/R Suffix

chanceS(50) - fixed random probability (maintained throughout all game sessions. Object references will always be changed)

chanceR(50) - chance is recalculated for each new game session.

Default S


[Form].

Randomly changes Base1, Base2, and Base3.


Base|Base1,Base2,Base3


50% chance of switching to PenBlue.

25% chance of switching to PenRed.


Pen01|PenBlue|No|Chance S(50)

Pen01|PenRed|NONE|Chance S(25)


50 chances (rolls every game session)


Pen01|PenBlue|No|Chance R(50)


Example:


[Form.]


Replace the handle with an ashtray.

0x00034057~FalloutNV.esm|0x0005B63C~FalloutNV.esm


[Reference].


(in the basement of REPCONN) Replace the specific link to the ashtray with a handle and scale it 100 times.

0x0008F1EE~FalloutNV.esm|0x0005B63C~FalloutNV.esm|scale(100)



Check the BaseObjectSwapper.log file in the FalloutNV directory for process details.


Installation.


Install as usual using the mod manager.


Credits


Source.


The xNVSE command.

lStewieAl for some REd enhancements

Similar Mods/Addons

Game Version *

1.0 (Base Object Swapper-83934-1-0-1701449301.7z)