Last active
April 12, 2017 21:51
-
-
Save ronyx69/69130ffd46ab3573f0968aedd11c88eb to your computer and use it in GitHub Desktop.
Script for creating your own theme decals.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You MUST use a unique diffuse texture (put whatever texture in it) to avoid unforeseen consequences! | |
// Import a decal or a big decal as usual and run this script using the texture tag you want: | |
//themedecal-grass | |
//themedecal-cliff | |
//themedecal-sand | |
//themedecal-gravel | |
//themedecal-ruined | |
//themedecal-oil | |
//themedecal-ore | |
//themedecal-pavement | |
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as PropInfo; | |
asset.m_mesh.name="themedecal-grass"; //CHANGE THE TAG HERE | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment