-
-
Save dannythehacker/29a3bce603cf9c3d516f51394d28cc04 to your computer and use it in GitHub Desktop.
BlipBloop's Gold Mod, iwanPlays' modifications https://youtube.com/iwanPlays
This file contains hidden or 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
| BlipBloop's Gold Mod code | |
| with iwanPlays' modifications | |
| WEAPON: | |
| START: | |
| for (int i = 0; i < base.GetComponentsInChildren<MeshRenderer>().Length; i++) | |
| { | |
| for (int j = 0; j < base.GetComponentsInChildren<MeshRenderer>()[i].materials.Length; j++) | |
| { | |
| base.GetComponentsInChildren<MeshRenderer>()[i].materials[j].color = new Color(0.99f, 0.85f, 0f); | |
| } | |
| } | |
| VEHICLE: | |
| DAMAGE: | |
| for (int i = 0; i < base.GetComponentsInChildren<MeshRenderer>().Length; i++) | |
| { | |
| for (int j = 0; j < base.GetComponentsInChildren<MeshRenderer>()[i].materials.Length; j++) | |
| { | |
| base.GetComponentsInChildren<MeshRenderer>()[i].materials[j].color = new Color(0.99f, 0.85f, 0f); | |
| } | |
| } | |
| ACTOR: | |
| DAMAGE: | |
| Material[] materials = this.skinnedRenderer.materials; | |
| materials[this.actorMaterialIndex] = new Material(Shader.Find("Specular")); | |
| this.skinnedRenderer.materials = materials; | |
| this.skinnedRendererRagdoll.materials = materials; | |
| this.skinnedRenderer.material.color = new Color(0.99f, 0.85f, 0f); | |
| this.skinnedRendererRagdoll.material.color = new Color(0.99f, 0.85f, 0f); | |
| for (int i = 0; i < base.gameObject.GetComponentsInParent<MeshRenderer>().Length; i++) | |
| { | |
| base.gameObject.GetComponentsInParent<MeshRenderer>()[i].material.color = new Color(0.99f, 0.85f, 0f); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment