Home Unreal Engine

Trying to copy multiple uvs multiple objects from map channel 1 to 2... Please Help!

polycounter lvl 5
Offline / Send Message
deohboeh polycounter lvl 5
I am planning to export a scene with 100+ unique objects to UT3 but I need a new light map channel for it to bake the light map...
http://forums.cgsociety.org/archive/index.php/t-586809.html
http://www.polycount.com/forum/showthread.php?t=86532

I downloaded both of these but I cant use them the install instructions seem vague... I am using 3ds max 2012... I can see that in channel info there is copy and paste into another channel but for only one object at a time... Its like I am so close yet so far... Help will be much appreciated I am on the last ledge of my project... I cant render my output in 3ds max so am learning udk to get it done faster...

Here are some WIP Pics! :D
ofwm0j.jpg
nxlvns.jpg

EDIT:

I found a script that solved my problem. Click on the object run script and then convert to editable poly...
Thanks to DenisT.
denisT wrote:
mapped fn doubleChannel node type:3 targetChannel:1 sourceChannel:2 collapse:off geometryOnly:on = if isvalidnode node do
(
	if (not geometryOnly or iskindof node GeometryClass) do
	(
		local count = node.modifiers.count
		ChannelInfo.CopyChannel node type targetChannel
		ChannelInfo.PasteChannel node type sourceChannel
		if node.modifiers.count > count do
		(
			node.modifiers[1].name = "CH" + targetChannel as string + "->" + "CH" + sourceChannel as string 
		)
		if collapse do collapseStack node
		ok
	)
)
/*
(
	mode = getCommandPanelTaskMode()
	if mode != #create do setCommandPanelTaskMode mode:#create
	doubleChannel (selection as array)
	if mode != #create do setCommandPanelTaskMode mode:mode
)
*/

I got the help from here
Sign In or Register to comment.