Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions newmodels_red/models_alt/s_mod_list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
-- This causes the mod to stay in memory, be careful when enabling for big mods
-- » 'filteringEnabled' (engineLoadTXD)
-- » 'alphaTransparency' (engineReplaceModel)
-- » 'physicalPropsGroup' : GROUP_ID (number), used for engineSetModelPhysicalPropertiesGroup
--
-- > New parameters added in newmodels v6:
--
Expand Down
3 changes: 3 additions & 0 deletions newmodels_red/scripts/core/server_logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ local function parseModListEntry(modelType, modInfo)
if modInfo.alphaTransparency then
settings["enableDFFAlphaTransparency"] = true
end
if type(modInfo.physicalPropsGroup) == "number" then
settings["physicalPropsGroup"] = modInfo.physicalPropsGroup
end
if modInfo.metaDownloadFalse then
settings["downloadFilesOnDemand"] = true
end
Expand Down