Jump to content

Creating a level: Difference between revisions

667 bytes added ,  Yesterday at 21:30
m
no edit summary
mNo edit summary
mNo edit summary
Line 187: Line 187:


==Todo: update workflow==
==Todo: update workflow==
Update mod depot to integrate this ...
When you unpacked the folders shared and lab into the GameDataFolder your setup should look like this. With the shared folder in the GDF you can easily create more level projects. Be sure to update the build.cmd for these projects.
{{Tree list}}
* Oni
** AE
*** Tools
**** OniSplit.exe
*** GameDataFolder
**** level3_Final.dat (created from lab.xml via build.cmd)
**** level3_Final.raw (created from lab.xml via build.cmd)
**** shared (global resource folder)
**** lab (project folder)
***** lab.xml
***** build.cmd
***** post-create-patches (for overwriting the static image lab\env\images\GOO.tga)
****** TXMPGOO.oni
****** TXMPGOO.xml (provided as example for combined oni creation and patching via build.cmd)
****** TXMPGOO_*.tga
{{Tree list|end}}
 
build.cmd
  OniSplit -create:level out lab.xml
  OniSplit -create:level out lab.xml
  OniSplit -create:txmp out env/markers/*.tga
  OniSplit -create:txmp out env/markers/*.tga
  REM use quote signs for folders names the contain spaces
  REM use quote signs for folder names the contain spaces
  OniSplit -create post-create-patches post-create-patches/*.xml
  OniSplit -create post-create-patches post-create-patches/*.xml
  copy /Y post-create-patches\*.oni out
  copy /Y post-create-patches\*.oni out
Line 199: Line 218:
  Oni.exe -noswitch
  Oni.exe -noswitch


Known issues of current lab demo:
Known issues of lab demo:
* Motocycle anim (OBAN) is to low
* Motocycle anim (OBAN) is to low
* second scene block shows no motorcycle
* second scene block shows no motorcycle
* TXMPgoo gets imported as static image, needs a better copy from post-create-patches folder
* uses an automated fix for updating TXMPgoo


==Terminology==
==Terminology==
8,979

edits