Options
Go to last post Go to first unread
FuegoAhegao3dx  
#1 Posted : Sunday, December 27, 2020 10:57:25 PM(UTC)
FuegoAhegao3dx

Rank: Member

Joined: 2/13/2016(UTC)
Posts: 29

Thanks: 13 times
Was thanked: 17 time(s) in 7 post(s)

Hey Meipe(or any one else reading this)


I created a few geografts for G8F and found that I could copy and paste the materials from G8 for decent results. I would like to release these geografts soon but I feel like telling the users to just copy and paste the materials is unprofessional and would lead to problems. I was wondering if you could point me in the direction of the copy material utility or some documentation of how I would go about creating my own version. Thank you.


Zattica  
#2 Posted : Thursday, December 31, 2020 5:37:09 AM(UTC)
Zattica

Rank: Member

Joined: 4/25/2015(UTC)
Posts: 14

Thanks: 1 times
Was thanked: 9 time(s) in 7 post(s)

Attached is a script that does what I think you are asking, and is probably a good starting point if not.


File Attachment(s):
Copy Geograft Surfaces From Parent.zip (2kb) downloaded 20 time(s).
thanks 2 users thanked Zattica for this useful post.
FuegoAhegao3dx on 12/31/2020(UTC), Meipe on 1/2/2021(UTC)
FuegoAhegao3dx  
#3 Posted : Thursday, December 31, 2020 9:19:40 PM(UTC)
FuegoAhegao3dx

Rank: Member

Joined: 2/13/2016(UTC)
Posts: 29

Thanks: 13 times
Was thanked: 17 time(s) in 7 post(s)

Originally Posted by: Zattica Go to Quoted Post


Attached is a script that does what I think you are asking, and is probably a good starting point if not.



I'm getting an incorrect node error. I opened the Script in notepad and tried to sus out where the error is but all that script is above my comprehension. I'm guessing I need to set the source and target variables? 


Zattica  
#4 Posted : Thursday, December 31, 2020 10:04:40 PM(UTC)
Zattica

Rank: Member

Joined: 4/25/2015(UTC)
Posts: 14

Thanks: 1 times
Was thanked: 9 time(s) in 7 post(s)
You need to update line 11 to match your surfaces.

var asSurfaces = [['Torso', 'Surface 1'], ['Torso', 'Surface 2']];

needs to become something like

var asSurfaces = [['Torso', 'Default']];

or

var asSurfaces = [['Face', 'Left Horn'], ['Face', 'Right Horn']];

which will copy (for example) the materials from the G8F Face surface to the Horns geograft Left Horn and Right Horn surfaces.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2026, Yet Another Forum.NET
This page was generated in 0.084 seconds.

Notification

Icon
Error