Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Feedback Suggestions and improvements v
« Previous 1 … 18 19 20 21 22 … 36 Next »
E2 Sub Color
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
E2 Sub Color
30-07-2018, 07:50 AM,
#2
frdhog Offline
Hasn't finished a ship in 2 years
****
Posts: 72
Threads: 31
Joined: Feb 2016
RE: E2 Sub Color
entityConfusedetSubMaterial(materialIndex, override)
Bearing in mind that textureIndex is an integer and that override is a string for the new material.
You'll need manually test to find the material index if you are just after a single prop. Otherwise you might need to create a function to search through the materials to find the right one to override.
I don't believe there is much if any documentation of the function so try examining Pho's PCPU Lib file, I've personally learnt a lot from it.
Good luck
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
E2 Sub Color - by Ethan Vondwarf - 23-07-2018, 06:20 PM
RE: E2 Sub Color - by frdhog - 30-07-2018, 07:50 AM
RE: E2 Sub Color - by Ethan Vondwarf - 30-07-2018, 12:39 PM
RE: E2 Sub Color - by frdhog - 30-07-2018, 12:53 PM
RE: E2 Sub Color - by Veegi - 30-07-2018, 04:25 PM
RE: E2 Sub Color - by Ethan Vondwarf - 30-07-2018, 08:54 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.