Skip to content

Instantly share code, notes, and snippets.

@ronyx69
Last active July 6, 2018 08:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ronyx69/3647e6a293ba789380fa56dd514a0b3f to your computer and use it in GitHub Desktop.
Save ronyx69/3647e6a293ba789380fa56dd514a0b3f to your computer and use it in GitHub Desktop.
Tags a rotors shader vehicle sub mesh for Rotors FlipXZ mod.
// FlipXZ Script
// Tags a rotors shader vehicle sub mesh for Rotors FlipXZ mod.
var subMesh = 1; // vehicle sub mesh id, starting from 1
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as VehicleInfo;
asset.m_subMeshes[subMesh].m_subInfo.m_UIPriority = 120122;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment