[Tip] Modeling Macro Unwrap

Making or wanting help making your own asset? Check in here
Post Reply
smee
Posts: 516
Joined: 2007-11-15 10:43

[Tip] Modeling Macro Unwrap

Post by smee »

Have found that doing a few little models that a macro can come in really handy.

it turns the poly to a mesh then creates 4 UVW channels with the 4 that are used. If you drag it to the tool bar it will create a button so with one press you can sort a model out :)

Code: Select all

convertTo $ TriMeshGeometry
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
modPanel.setCurrentObject $.baseObject
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
modPanel.setCurrentObject $.modifiers[#Unwrap_UVW]
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 3
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 4
This might be old hat for some but may help some.

Just copy the quoted and drag to your tool bar, of course you have to have a object to do it on. :) There's no smilie faces in the quote.
Last edited by Z-trooper on 2009-04-10 20:56, edited 1 time in total.
3 x 22" samsung 226bw. Matrox triplehead Quad Pro Q6600 "LGA775 Kentsfield" 2.40GHz (1066FSB) OC 3.2 , 8gb's of 1066mhz ram. 9800GTX OCX. 520mb. 3 x 320gbs samsungs. raid 0

Image
Tomato-Rifle
Posts: 2091
Joined: 2007-12-31 22:24

Re: [Tip] Modeling Macro Unwrap

Post by Tomato-Rifle »

There are smiley faces in the Quote... :?
Image
smee
Posts: 516
Joined: 2007-11-15 10:43

Re: [Tip] Modeling Macro Unwrap

Post by smee »

Yeah don't delete them couldnt see how to change that bit to plain text
3 x 22" samsung 226bw. Matrox triplehead Quad Pro Q6600 "LGA775 Kentsfield" 2.40GHz (1066FSB) OC 3.2 , 8gb's of 1066mhz ram. 9800GTX OCX. 520mb. 3 x 320gbs samsungs. raid 0

Image
DankE_SPB
Retired PR Developer
Posts: 3678
Joined: 2008-09-30 22:29

Re: [Tip] Modeling Macro Unwrap

Post by DankE_SPB »

use code tags

Code: Select all

[ /CODE]
[code]convertTo $ TriMeshGeometry
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
modPanel.setCurrentObject $.baseObject
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
modPanel.setCurrentObject $.modifiers[#Unwrap_UVW]
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 3
modPanel.addModToSelection (Unwrap_UVW ()) ui :o n
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 4
Z-trooper
Retired PR Developer
Posts: 4166
Joined: 2007-05-08 14:18

Re: [Tip] Modeling Macro Unwrap

Post by Z-trooper »

DankE_SPB wrote:use code tags
hehe, I changed it for him at the same time you wrote your post :D
Image
"Without geometry, life is pointless"
smee
Posts: 516
Joined: 2007-11-15 10:43

Re: [Tip] Modeling Macro Unwrap

Post by smee »

Thanks :)
3 x 22" samsung 226bw. Matrox triplehead Quad Pro Q6600 "LGA775 Kentsfield" 2.40GHz (1066FSB) OC 3.2 , 8gb's of 1066mhz ram. 9800GTX OCX. 520mb. 3 x 320gbs samsungs. raid 0

Image
Post Reply

Return to “PR:BF2 Community Modding”