More of a suggestion than a question.

Management front office desk. Ask away.

Moderators: TresCom Support Team, TresCom Webteam, TresCom Board Managers

Post Reply
User avatar
jetblack
Parasaurolophus
Parasaurolophus
Posts: 443
Joined: Thu Jun 04, 2009 1:53 pm
Antispam: No
Location: Twitter!
Contact:

More of a suggestion than a question.

Post by jetblack »

We have a small section of the t-script reference that relates to AI, but no real cohesive dino AI reference. I thought it'd be a good idea for a thread at least on the subject.
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: More of a suggestion than a question.

Post by Draconisaurus »

Hmmmm. Can you describe your idea of a "cohesive AI reference"? machf does list all the values there, IIRC..
User avatar
jetblack
Parasaurolophus
Parasaurolophus
Posts: 443
Joined: Thu Jun 04, 2009 1:53 pm
Antispam: No
Location: Twitter!
Contact:

Re: More of a suggestion than a question.

Post by jetblack »

For example, raptor behavior. Or basic t-script.
Slugger
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 4720
Joined: Sat Jun 12, 2004 6:52 pm
Antispam: No
Location: Atlanta

Re: More of a suggestion than a question.

Post by Slugger »

Are you looking for examples of how to set certain behaviors? For example, to make a raptor timid or attack/back away?

There are various examples of how to code T-scripts on this forum, but the best resource are the released levels themselves. Concerning AI values, they're pretty much interchangeable between each creature (although some, like "TailSwipe", are tailored more to stegs than raptors).
0066521C: 'Cannot create local swap file - Is Trespasser installed??',0Ah,0
"Cold lino was the driving force behind world power!"
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: More of a suggestion than a question.

Post by Draconisaurus »

If what Slugger says is what you're looking for, then yes, the absolute best reference is the levels themselves, original and fan-made. Like if you want a protective mother who tries to rip you a new one if you hurt her baby, you look at the example of the stegos in "TC Ops Final". Having a memory of the levels is crucial.

Of course, new behaviors are developed from time to time. I used ActFeint and FeintTargetDistance in EastDock, which I don't think had been used before (?), to make the "friendly dinosaur" who hobbles around at the start. ActFeint only uses the Attack vocals and not the Bite vocals, and then the pissed-dilophosaur has a long-range bite target distance due to the spit, which was the only way to get a non-threatening dinosaur to make noises other than sniffing, for the "playful" chirps etc. that she makes in the movie.
Post Reply