Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 29th September 2009, 05:02 AM   #1
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default MOD: nudge in Texture Coordinate Editor

Add cursor key control to move the selection inside the TCE.

This mod requires editing of internal AC3D script files. If this is done wrong, you could stop AC3D from working. We recommend this is tested on an alternate installation/copy of AC3D.

With a text editor, edit tcl/ac3duvedit.tcl
Go to near the end of the file and find these two lines:

Code:
    bind .uvedit s { set uvmode surface ; ac3d uv_selectmode 0 ; uv_do_sensitivity } 
    bind .uvedit v { set uvmode vertex; ac3d uv_selectmode 1 ; uv_do_sensitivity }
After these, insert this text:

Code:
    set nudge_dist 0.01
    bind .uvedit <Up> "ac3d uv_move_relative 0 $nudge_dist"
    bind .uvedit <Down> "ac3d uv_move_relative 0 -$nudge_dist"
    bind .uvedit <Left> "ac3d uv_move_relative -$nudge_dist 0"
    bind .uvedit <Right> "ac3d uv_move_relative $nudge_dist 0"
The value for 'nudge_dist' here (0.01) can be changed - this is the distance that the selection will move when one of the keyboard arrow keys is pressed.

Last edited by Andy; 29th September 2009 at 05:10 AM.
Andy is offline   Reply With Quote
 

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



All times are GMT -4. The time now is 07:18 PM.


AC3D Forum
(C) Inivis Limited 2020