Author Topic: Scripting Guide  (Read 23332 times)

Offline Duke64

  • Administrator
  • *****
  • Posts: 1684
  • T:REP 6523
  • Sixty Four
    • View Profile
    • Duke64Nukem.com
Re: Scripting Guide
« Reply #20 on: September 26, 2017, 07:45:26 PM »
Man we were just talking about Doom does this xD You're awesome thanks! Under "Turok 2 tools" on Turok Sanctum. Just pm me if any changes to that post are needed there.

https://turoksanctum.com/turok-2-api/
Dinosaur Hunter
"Its time to make tracks"
"You are tiny grasshopper"
"Suck it down"
"Boo, No soup for you"
"Arrrgghhhh"
"I live again"

Offline Rok

  • Global Moderator
  • *****
  • Posts: 633
  • T:REP 1968
    • View Profile
Re: Scripting Guide
« Reply #21 on: September 27, 2017, 01:05:44 PM »
Have no idea how you do these things but really cool. I'm an absolute noob in scripting so if I ever try it I would definitely use this. Good work!
Raptor Rok is metal.

Offline Jay Doomed

  • Global Moderator
  • *****
  • Posts: 803
  • T:REP 2632
    • View Profile
Re: Scripting Guide
« Reply #22 on: September 29, 2017, 10:03:05 AM »
Wow that's crazy thanks for this. That's very nice and helpful too.
"Whatever it is, it doesn't belong in this world."

Offline BehemothProgrammer

  • Endtrail
  • ****
  • Posts: 224
  • T:REP 791
    • View Profile
Re: Scripting Guide
« Reply #23 on: October 23, 2017, 07:27:11 PM »
I added the AngelScript Array class in so autocomplete would work for it and added some more notes on the mainpage of the help to include some known bugs in the game.
Turok 2 Co-Op Mod

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

Offline vis

  • Endtrail
  • ****
  • Posts: 228
  • T:REP 853
    • View Profile
Re: Scripting Guide
« Reply #24 on: October 23, 2017, 07:37:03 PM »
So I finally took the time to get a decent IDE up and running with AngelScript and Turok 2. I've included instructions and download links in the first post. So if you are thinking about working with T2 scripts no matter your skill level, I highly recommend following those instructions.



Tnx, man! : ) I just hope next remaster patch will move things on positive scale, in mp... : O
(GoT) vis *RS*
 :nuke:

Offline Jay Doomed

  • Global Moderator
  • *****
  • Posts: 803
  • T:REP 2632
    • View Profile
Re: Scripting Guide
« Reply #25 on: October 24, 2017, 03:27:29 PM »
I added the AngelScript Array class in so autocomplete would work for it and added some more notes on the mainpage of the help to include some known bugs in the game.

As soon as I get time to check it out I will. Thanks for good work.
"Whatever it is, it doesn't belong in this world."

Offline BehemothProgrammer

  • Endtrail
  • ****
  • Posts: 224
  • T:REP 791
    • View Profile
Re: Scripting Guide
« Reply #26 on: November 07, 2017, 06:37:57 PM »
I wasn't sure where to put this additional info I've collected about T2 so I just throw it into a text file here - https://pastebin.com/raw/jjbgSStB

It tells you what the behaviour property values means for EnemyAIComponent. The meaning of EventLink Trigger Types for some components. Mission Objectives. Mission Teleports. Cinema Types. Hidden cvars. and all the mode state values. All stuff for when your making SP maps.
« Last Edit: November 07, 2017, 06:38:30 PM by BehemothProgrammer »
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: Scripting Guide
« Reply #27 on: November 24, 2017, 10:27:34 AM »
This was a little thing I made to help enter EnemyAI flag values, think people might find it useful. https://www.dropbox.com/s/b3chdu3sig32ybp/T2Flags.zip?dl=0

And here's Model and Animation data editors for both Turok: Dinosaur Hunter and Turok 2 in Unity. https://www.dropbox.com/s/n3cng6coohfwjqi/TurokModelAnimEditors.zip?dl=0
« Last Edit: January 27, 2018, 06:47:53 PM by BehemothProgrammer »
Turok 2 Co-Op Mod

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

Offline Dinomite

  • Ban
  • *
  • Posts: 228
  • T:REP 2223
    • View Profile
Re: Scripting Guide
« Reply #28 on: November 29, 2017, 01:16:52 AM »
EventLynx

Offline Jay Doomed

  • Global Moderator
  • *****
  • Posts: 803
  • T:REP 2632
    • View Profile
Re: Scripting Guide
« Reply #29 on: November 29, 2017, 10:51:06 AM »
EventLynx

Basically that's what they are xD

Behemoth thanks the flag tool could be useful for me.

 :campaigner:
"Whatever it is, it doesn't belong in this world."

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal