Author Topic: Model And Animation Editor Scripts in Unity  (Read 35582 times)

Offline Victorious_Games

  • Raptor
  • ***
  • Posts: 123
  • T:REP 397
  • I AM TUROK!!
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #10 on: August 22, 2018, 03:46:21 PM »
So this works for Turok 2 as well?
Turok 2 Ascension MODDB Page: https://www.moddb.com/mods/turok-2-ascension

Offline raul

  • Iguana
  • *
  • Posts: 21
  • T:REP 70
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #11 on: March 06, 2019, 11:50:57 PM »
Thanks for sharing this tool with us! I went ahead and downloaded the tool and followed your tutorial. In unity everything looks good, but in the kex editor ( for turok dinosaur hunter) my model is insanely tiny. I must be missing a step. Ive tried several things, i need a bit of help please.

Offline DoomMarine23

  • Raptor
  • ***
  • Posts: 90
  • T:REP 230
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #12 on: March 07, 2019, 03:54:57 PM »
You probably just need to adjust your scale. Just grab a model from the game, if you need one, let me know and I'll do it for you.

After you get the model, import into your model editor, along with your new model, and just scale yours to match, and do your work in the unity editor again. Simple!

Offline raul

  • Iguana
  • *
  • Posts: 21
  • T:REP 70
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #13 on: March 07, 2019, 10:46:37 PM »
I tried doing some of those things, but maybe they are not the correct scale. Would you mind sending me one of yours? Or maybe i should extract one from the game? Thanks!

Offline DoomMarine23

  • Raptor
  • ***
  • Posts: 90
  • T:REP 230
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #14 on: March 08, 2019, 03:45:55 PM »
Sure, are you working on a first person model, or something that would exist in the world? They use different scales.

Offline raul

  • Iguana
  • *
  • Posts: 21
  • T:REP 70
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #15 on: March 08, 2019, 11:13:41 PM »
Im working on props for the world at the moment. Its weird before all these sweet plugins i made my own for maya that exported an obj at the correct scale for the turok engine. I am aware that from a modeling app to turok we have to scale stuff by 10x, when using fireseed it works fine. But for some reason when i try to scale stuff up in Unity it just wont take the changes into account. Is odd..im wondering im missing a step.

Anyway, to answer your question. im testing stuff out with a box that is 2 meters tall. I extracted a few models already and tried putting them into the unity engine to export them back in and even those show up tiny. So im definately doing something dumb. Thanks for helping!

EDIT---

I figured it out. I had to scale down my model 25%, so that it matches the  size of models in the game. And then scale it by 100 before exporting to unity to get it to export property. For some reason scaling my model in unity was not working. Oh well..
« Last Edit: March 09, 2019, 02:08:40 PM by raul »

Offline BehemothProgrammer

  • Endtrail
  • ****
  • Posts: 224
  • T:REP 791
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #16 on: May 17, 2019, 10:35:24 PM »
I just added my work on reading/writing Turok 2 map files that I used for my coop mod in this package. And thanks to Kaiser for telling me the map file format back then.
Turok 2 Co-Op Mod

QTurok | Turok: Mountain of the Sun | WolfenTurok 3D | and more...

Offline BehemothProgrammer

  • Endtrail
  • ****
  • Posts: 224
  • T:REP 791
    • View Profile
Re: Model And Animation Editor Scripts in Unity
« Reply #17 on: June 29, 2019, 05:45:00 PM »
I just added my work on reading/writing Turok 1 map files in this package (raw text outline https://pastebin.com/raw/psQ2ib0S. C# code is in the package).

All the file formats for Turok 1 and 2 Remaster are now known.

I also made a step by step explanation of the T1 map file format here.
« Last Edit: February 11, 2020, 05:09:30 PM by BehemothProgrammer »
Turok 2 Co-Op Mod

QTurok | Turok: Mountain of the Sun | WolfenTurok 3D | and more...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal