Dinos wont attack

Creating new content for Trespasser!

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

Post Reply
User avatar
General Kenobi
Parasaurolophus
Parasaurolophus
Posts: 424
Joined: Fri Oct 13, 2006 7:36 pm
Location: United States

Dinos wont attack

Post by General Kenobi »

I need help, The Dilo in my level wont attack, it just walks around and doesnt even make noises, like roars or growls.
I'm using Dracos contest level base, and the dinos came with it. I looked into the Bool acts and float values. but nothing helps. I can walk right up to it and slap it, and push it with my body and it does nothing.
ValueTable for instance 12509 "Dilophosaur-01" :

group Dilophosaur = {
int Archetype = 0
int Team = 15
bool MipMap = false
bool ActGlare = true
bool ActLookAround = true
bool ActNothing = true
float MoveableMass = 0.650000
float Width = 0.750000
float HeadReach = 2.000000
float TailReach = 3.700000
float JumpDistance = 2.000000
float JumpUp = 2.000000
float JumpDown = 1.000000
float WalkUnder = 1.000000
float WalkOver = 4.000000
float JumpOver = 3.750000
float CrouchUnder = 1.000000
float HitPoints = 75.000000
float ReallyDie = -30.000000
float Regeneration = 1.000000
float CriticalHit = 35.000000
string Class = "CAnimal"
int PVA = -2
int NumJoints = 21
int NumDoubleJoints = 6
bool Curved = true
string Type = "Raptor"
string Head = "$DilophosaurHead-00"
string Body = "$DilophosaurBody-00"
string Tail = "$DilophosaurTail-00"
float Diffuse = 0.900000
float Specular = 1.250000
float SpecularAngle = 16.000000
string SoundMaterial = "RAPTOR-FOOT"
float BiteTargetDistance = 1.250000
bool ActSnarl = true
bool ActDie = true
bool ActPursue = true
bool ActWander = false
bool ActNothing = false
bool ActSnarl = true
bool ActApproach = true
string DetailShadow = "$DilophosaurSh"
bool ActGetOut = true
float Anger = 1.000000
float Bravery = 0.900000
float Hunger = 0.900000
float WakeUp = 75.000000
float Sleep = 150.000000
}
Anyone see what I did wrong, or should add? I want them to be super aggresive.
The other dinos like the raptors and t-rex seem fine and attack me.
Image
Image
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Dinos wont attack

Post by machf »

Use the original level where the Dilophosaurus was released... there are several triggers and stuff that has to go with it.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
glitchhunter09
Pteranodon
Pteranodon
Posts: 792
Joined: Sun Sep 07, 2008 3:08 pm
Location: Bloomington, IN, USA

Re: Dinos wont attack

Post by glitchhunter09 »

Are you trying to get it to bite or are you trying to get it to spit? If you're trying to get it to bite, use" bool ActBite = True" without the quotation marks. Doesn't look like your code has it. It has the target distance for the bite though strangely.... As for sounds, depends upon what animal type you're using. Most often, if you're not using custom sounds, people tend to use the Velociraptor's sounds for it. Also I don't see "bool ActEat = True" either so add that, otherwise, your Dilo won't eat you if it kills you or something else and will just walk away. Same goes for the compies that came with the Contestlev as well iirc.

Oh and to set a dinosaur to use a certain retail dino sound set use this command: int Dinosaur = (specify number here)
Here's the numbers for each dino vocal set:
0 = Raptor
1 = T-rex
2 = Parasaurolophus
3 = Triceratops
4 = Stegosaur
5 = Brach
6 = Albertosaur

As for getting it to spit, it's a little bit more complicated and involves some triggers and the ATX patch's projectile system to work properly. There should be good triggers and an example of the code that comes with East Dock and the TC Spitter Test Level as well.

Also, it's a good idea to look at the T-script reference as well. It helped me out a lot while modding. There's actually a link to it in machf's signature. ;) (as well as several other board members signatures as well.)
Second Illiteration
Albertosaurus
Albertosaurus
Posts: 2365
Joined: Wed Mar 05, 2003 9:28 pm

Re: Dinos wont attack

Post by Second Illiteration »

Yeah it might not make sounds because it doesn't have assigned vocal cubes.

Just had a thought that it would be cool to have an updated TPDC that streamlined the process of adding/changing dinosaur vocals, and allowed you to save said vocal cubes.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Dinos wont attack

Post by machf »

But the vocal cubes depend on what sounds are in the .tpa files, and aren't part of the dinosaur mesh itself... and they may be shared among different dinosaurs, even.

(BTW, there is a MAXscript that apparently was used for the vocals...)
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
General Kenobi
Parasaurolophus
Parasaurolophus
Posts: 424
Joined: Fri Oct 13, 2006 7:36 pm
Location: United States

Re: Dinos wont attack

Post by General Kenobi »

thanks! that worked. They're still not that agressive, and still wont attack till I get really close.
Image
Image
glitchhunter09
Pteranodon
Pteranodon
Posts: 792
Joined: Sun Sep 07, 2008 3:08 pm
Location: Bloomington, IN, USA

Re: Dinos wont attack

Post by glitchhunter09 »

Try bool ActPursue = True This one usually makes them interested in you from a distance. Also, remember that the T-script reference is your friend. ;)
http://www.trescom.org/docs/tscript.html
Second Illiteration
Albertosaurus
Albertosaurus
Posts: 2365
Joined: Wed Mar 05, 2003 9:28 pm

Re: Dinos wont attack

Post by Second Illiteration »

machf wrote:But the vocal cubes depend on what sounds are in the .tpa files, and aren't part of the dinosaur mesh itself... and they may be shared among different dinosaurs, even.

(BTW, there is a MAXscript that apparently was used for the vocals...)

Yeah I know all that. I'm just saying, to me, the vocals are like a part of the dinosaur, meaning being able to change add those when adding a dinosaur, all in one convenient step/program would be nice.

I.E. something that could load up each of the vocal cubes, allow you to play a preview of the sounds and give you the option to replace, or create a brand new cube, then allow you to rename and export.
Post Reply