project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
26 Jul 2014, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 04-10-2009, 04:30 PM   #1
smee
Supporting Member

smee's Avatar
Default [Tip] Modeling Macro Unwrap

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:
convertTo $ TriMeshGeometry
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
modPanel.setCurrentObject $.baseObject
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
modPanel.setCurrentObject $.modifiers[#Unwrap_UVW]
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 3
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.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.

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


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
smee is offline
Last edited by Z-trooper; 04-10-2009 at 04:56 PM..
Reply With Quote
Old 04-10-2009, 04:39 PM   #2
[R-CON]Tomato-Rifle
PR:BF2 Contributor

[R-CON]Tomato-Rifle's Avatar
Send a message via MSN to [R-CON]Tomato-Rifle Send a message via Skype™ to [R-CON]Tomato-Rifle
Default Re: [Tip] Modeling Macro Unwrap

There are smiley faces in the Quote...


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-CON]Tomato-Rifle is offline Reply With Quote
Old 04-10-2009, 04:49 PM   #3
smee
Supporting Member

smee's Avatar
Default Re: [Tip] Modeling Macro Unwrap

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


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
smee is offline Reply With Quote
Old 04-10-2009, 04:55 PM   #4
DankE_SPB
Retired PR Developer

DankE_SPB's Avatar
Send a message via MSN to DankE_SPB Send a message via Skype™ to DankE_SPB
Default Re: [Tip] Modeling Macro Unwrap

use code tags [CODE ][ /CODE]
Code:
convertTo $ TriMeshGeometry
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
modPanel.setCurrentObject $.baseObject
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
modPanel.setCurrentObject $.modifiers[#Unwrap_UVW]
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 3
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 4
DankE_SPB is offline Reply With Quote
Old 04-10-2009, 04:57 PM   #5
Z-trooper
Retired PR Developer

Z-trooper's Avatar
Default Re: [Tip] Modeling Macro Unwrap

Quote:
Originally Posted by DankE_SPB View Post
use code tags
hehe, I changed it for him at the same time you wrote your post

"Without geometry, life is pointless"
Z-trooper is offline Reply With Quote
Old 04-10-2009, 04:59 PM   #6
smee
Supporting Member

smee's Avatar
Default Re: [Tip] Modeling Macro Unwrap

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


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
smee is offline Reply With Quote
Reply


Tags
macro, modeling, tip, unwrap
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:08 AM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2014, Project Reality.