Mod Tool: Difference between revisions

396 bytes added ,  20 January 2013
m
no edit summary
m (fixing an image position and a link)
mNo edit summary
Line 492: Line 492:
| [32] open an explorer window
| [32] open an explorer window
| [33] working with hierarchies
| [33] working with hierarchies
|-
| [34] drag and drop (DnD) support for specific oni files
|
|
|}
|}


Line 1,276: Line 1,280:




{| border=0 cellpadding=0 align=right
{| border=0 cellpadding=0 style="float: right; padding-top: 10px"
| SelectNeighborObj obj 5<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5_tn.png]
| SelectNeighborObj obj 5<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5_tn.png]
|}  
|}
 
  ' '''[33] working with hierarchies'''  
  ' '''[33] working with hierarchies'''
   
   
  ' let's be sure we have an object selected
  ' let's be sure we have an object selected
Line 1,330: Line 1,333:
  msgbox "no object was selected"
  msgbox "no object was selected"
  end if
  end if
====Script ideas====
* import/export of flag collection
* import/export of patrol path collection
* import/export of weapons collection
* import/export of powerup collection
* [...]
* autoheal discontinuities (blue lines) of overlaying edges (for repairing google sketchup objects that weren't yet textured)
* making loops from parts of animations
* copying animation data from one character to another
The following sections are about ideas that are checked right now for their possibility of realization or already in the making.
=====Oni tools addon=====
{| border=0 cellpadding=0 align=right
| exported warehouse TVs<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/TRGV_Oni_to_ModTool.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/TRGV_Oni_to_ModTool_tn.png]
|}
* release date: Christmas ?
* current content
** Trigger volumes: import / add / export
** camera OBAN: import ([[wikipedia:Drag_and_drop|DnD]]) / export
Code needs improvement to ease integration of other file types.
=====Selection tracking camera=====
* https://dl.dropbox.com/u/139715/auto_selection_tracking.txt
' enable automatic tracking
set_auto_tracking ("yes")
' disable automatic tracking
set_auto_tracking ("no")
There could be other buttons to jump to previous/next object grouped under their parent.
SelectNeighborObj , 2
SelectNeighborObj , 3




=====Drag and drop support for specific oni files=====
'''[34] drag and drop support for specific oni files'''


  function XSILoadPlugin( in_reg )
  function XSILoadPlugin( in_reg )
Line 1,381: Line 1,345:
  in_reg.Minor = 0
  in_reg.Minor = 0
   
   
  in_reg.RegisterEvent "siOnDragAndDropEvent",siOnDragAndDrop
  in_reg.RegisterEvent "support_oni_DnD",siOnDragAndDrop
  'RegistrationInsertionPoint - do not remove this line
  'RegistrationInsertionPoint - do not remove this line
   
   
Line 1,394: Line 1,358:
  end function
  end function
   
   
  function siOnDragAndDropEvent_Init( in_ctxt )
  function support_oni_DnD_Init( in_ctxt )
  dim action
  dim action
  set action = in_ctxt.GetAttribute( "DragAndDropAction" )
  set action = in_ctxt.GetAttribute( "DragAndDropAction" )
  end function
  end function
   
   
  ' Callback for the siOnDragAndDropEvent event.
  ' Callback for the support_oni_DnD event.
  function siOnDragAndDropEvent_OnEvent( in_ctxt )
  function support_oni_DnD_OnEvent( in_ctxt )
  filename = in_ctxt.GetAttribute("DragSource")
  filename = in_ctxt.GetAttribute("DragSource")
  ' isolate file extension from full name
  ' isolate file extension from full name
Line 1,419: Line 1,383:
   
   
  ' Return value is ignored as this event can not be aborted.
  ' Return value is ignored as this event can not be aborted.
  siOnDragAndDropEvent_OnEvent = true
  support_oni_DnD_OnEvent = true
  end function
  end function
====Script ideas====
* addon to make easily use of onisplit within Mod Tool [done]
** supports drag and drop of onisplit
** onisplit's location will be saved and resaved in a txt
** updates scene property after txt changes
** loads txt on app start as scene property
** use backup onisplit from addon if user is to lazy for DnD
* import/export of flag collection
* import/export of patrol path collection
* import/export of weapons collection
* import/export of powerup collection
* [...]
* autoheal discontinuities (blue lines) of overlaying edges (for repairing google sketchup objects that weren't yet textured)
* making loops from parts of animations
* copying animation data from one character to another
The following sections are about ideas that are checked right now for their possibility of realization or already in the making.
=====Oni tools addon=====
{| border=0 cellpadding=0 style="float: right;"
| exported warehouse TVs<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/TRGV_Oni_to_ModTool.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/TRGV_Oni_to_ModTool_tn.png]
|}
* current content
** Trigger volumes: import / add / export
** camera OBAN: import ([[wikipedia:Drag_and_drop|DnD]]) / export
Code needs improvement to ease integration of other file types and other code pieces.
=====Selection tracking camera=====
* https://dl.dropbox.com/u/139715/auto_selection_tracking.txt
' enable automatic tracking
set_auto_tracking ("yes")
' disable automatic tracking
set_auto_tracking ("no")
There could be other buttons to jump to previous/next object grouped under their parent.
SelectNeighborObj , 2
SelectNeighborObj , 3




=====New camera animations=====
=====New camera animations=====
{| border=0 cellpadding=0 align=right
{| border=0 cellpadding=0 style="float: right;"
| last frame of OBANOutroCam02<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/Mod_Tool/camera_OBAN_examination_zpsaf16d39e.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/Mod_Tool/camera_OBAN_examination_tn_zpsc8295474.png]
| last frame of OBANOutroCam02<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/Mod_Tool/camera_OBAN_examination_zpsaf16d39e.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/Mod_Tool/camera_OBAN_examination_tn_zpsc8295474.png]
|}
|}
Line 1,622: Line 1,630:
'''(old notes in the following)'''
'''(old notes in the following)'''


{| border=0 cellpadding=0 align=right
{| border=0 cellpadding=0 style="float: right;"
| hierarchy breaker beta<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/hierarchy_breaker_beta.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/hierarchy_breaker_beta_tn.png]
| hierarchy breaker beta<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/hierarchy_breaker_beta.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/hierarchy_breaker_beta_tn.png]
|}
|}
8,452

edits