Bool Act??? & Update T-script Reference
Moderators: TresCom Support Team, TresCom Board Managers, TresCom Developers
For instance, I have a bunch of compies. I stripped as many bool Act??? as i could to try to make them eat a dead animal. But all they ever do is run to when when i walk by. After i leave, they go back to ther meal. I even made them with no anger, some fear, and no bravery. They still run up and bite me. any suggestions.
Well, here it goes. I rearranged the keywords in the proper order (inverted) and separated related groups (well, at least, I intend to).
These are for data types, I believe (only the first letter, the rest are what I believe each letter stands for)
Code: Select all
b ool
c har?
i nt
f loat
s tring
Code: Select all
CInstance
CBackdrop
CLocationTrigger
CCollisionTrigger
CStartTrigger
CCreatureTrigger
CSequenceTrigger
CBooleanTrigger
CTimerTrigger
CVariableTrigger
CObjectTrigger
CMoreMassTrigger
Disturbance, CWaterDisturbance
CMagnet, MasterMagnet
SlaveMagnet
CAnimal
CGun
CMuzzleFlash
CHitSpang
CEntityWater
CTerrainObj
CSocket
IGNORE
CSubsystem
CEntityAttached
CSky
CLightDirectional
CTest
Settings
Player
Player Settings
AI Command
TerrainPlacement
Teleport, Marker
CParticles
Code: Select all
Class
Mesh
Physics
Code: Select all
Min
Max
Code: Select all
InitialState
MinHighTime
MaxHighTime
MinLowTIme
MaxLowTime
Toggle
Code: Select all
Close
Decay
SpangCount
Code: Select all
Armour
DamageMultiplier
DamagePerSecond
Mass
Density
Elasticity
Floats
Friction
Frozen
File
Impulse
Location
Material
Moveable
Planted
Open
Ratio
RotationRatio
Reset
Shadow
Small
SoundMaterial
Substitute
Tangible
Target
Type
Value
Code: Select all
HintID
Code: Select all
Volume
Code: Select all
Scale
MinScale
MaxScale
ScaleLimit
FogNear
FogFar
WindSpeedX
WindSpeedY
SubDivision
FillScreen
Code: Select all
CriticalHit
HitPoints
MaxHitPoints
Regeneration
ReallyDie
DieRate
Ouch
Fall
Code: Select all
Culling
ShadowCulling
CullMaxDist
CullMaxRadius
CullMaxDistShadow
CullMaxRadiusShadow
Priority
HardwareOnly
SoftwareOnly
NoLowRes
CameraFOV
PixelError
SubdivisionLen
AltPixelError
AltSubdivisionLen
AlwaysFace
NoCache
NoCacheAlone
CacheMul
Code: Select all
TeleportDestObjectName
HeightRelative
OnTerrain
SetPosition
SetOrientation
Code: Select all
FireDelay
FireCount
FireExpression
Probability
FireAtZero
ResetFire
ProcessStyle
RepeatPeriod
BoundVol
SequenceDelayMin
SequenceDelayMax
Code: Select all
Element1
Element2
SoundMaterial1
SoundMaterial2
MinVelocity
MaxVelocity
Code: Select all
CreatureDie
CreatureWake
CreatureSleep
CreatureCriticalDamage
CreatureDamagePoints
EvaluateAll
Code: Select all
MasterVolumeMin
MasterVolumeMax
ActionType
Sample
SpatialType
StopAfterFade
Attenuation
BoundaryVolume
MaxVolDistance
Emitter
Frustum
Mute
OutsideVolume
Looped
LoopCount
MaximumDistance
VolumeFader
Attach
Code: Select all
Bitmap
Center
Discard
XPos
YPos
Code: Select all
FogType
FogPower
FogHalf
Code: Select all
AmbientLight
FarClipPlane
NearClipPlane
Code: Select all
UseObject
PickUpObject
PutDownObject
Code: Select all
TriggerName
Code: Select all
TrrPixelTol
TrrPixelTolFar
TrrNoShadowDist
TrrNoTextureDist
TrrNoDynTextureDist
TrrMovingShadows
Code: Select all
NearTolerance
FarTolerance
NearZ
FarZ
FarZNo
SortPixelTol
MaxNumToSort
Sort2PartAt
Sort4partAt
TerrNearTolerance
TerrFarTolerance
TerrNearZ
TerrFarZ
UseSeperateTol
Code: Select all
PixelRatio
MinPixels
CacheAge
CacheActive
CacheIntersect
Code: Select all
CreatureEnterCount
CreatureLeaveCount
PlayerInTrigger
PlayerLeaveTrigger
PlayerEnterTrigger
ObjectInTrigger
ObjectLeaveTrigger
ObjectEnterTrigger
CreatureIntrigger
CreatureLeaveTrigger
CreatureEnterTrigger
TriggerActivate
PointTrigger
Code: Select all
ObjectName
Enable
Query
Code: Select all
LevelName
Code: Select all
AnimationName
Code: Select all
SequenceListenNames
SequenceOrderNames
SequenceEvalNowNames
SequenceFalsetriggerName
Code: Select all
X
Z
Code: Select all
Breakable
BreakStrength
Delta
Drive
Delay
AngleMin
AngleMax
CMagnet
Instance
Gender
Magnet
MasterObject
RestoreStrength
SlaveMagnet
SlaveObject
XTFree
YTFree
ZTFree
XFree
YFree
ZFree
HandPickup
ShoulderHold
Code: Select all
ResolutionRatio
Code: Select all
Strength
Interval
Radius
Code: Select all
AudioEnvironment
ReverbVolume
ReverbDecay
ReverbDamping
Code: Select all
Bumpiness
Bumpmaps
CacheIntersecting
Detail1
Detail2
Detail3
Detail4
DetailShadow
Diffuse
Emissive
Texture
Merge
Normals
Curved
Code: Select all
NumDoubleJoints
NumJoints
PRadius
PVA
Code: Select all
Reflect
Refract
RefractIndex
Specular
SpecularAngle
Split
Visible
Wrap
Unlit
Code: Select all
ClutStartColor
ClutStopColor
ClutReflectionColor
DefaultClutStartColor
DefaultClutStopColor
DefaultClutReflectionColor
Code: Select all
AlphaWaterProperties
NonAlphaWaterProperties
Code: Select all
Body
Foot
LeftFoot
RightFoot
LeftRearFoot
RightRearFoot
Hand
Head
Neck
Tail
ReverseKnees
Code: Select all
SubMaterial(00-99)
SubMaterialEnd
Code: Select all
Anim(00-99)
AnimB(00-99)
PLACEHOLDER
Frame
FreezeFrame
TrackTwo
DeltaX
DeltaY
AnimSubMaterial
Code: Select all
Vertex(000-999)
VERTEX_PLACEHOLDER
Model(00-99)
MODEL_PLACEHOLDER
A(00-99)
A_PLACEHOLDER
Code: Select all
Height
Alpha
R
G
B
AlphaChannel
MipMap
SkyFlatColour
Intensity
Code: Select all
Ammo
MaxAmmo
ROF
AutoFire
AltAmmoCount
AmmoPickup
AmmoAlmostEmpty
AmmoHalfFull
AmmoFull
AmmoReallyFull
Damage
TranqDamage
EmptyClipSample
RingSample
Range
Kick
Push
Barrel
RecoilOrg
RecoilForce
MFlashOrg
MFlashDuration
RandomRotate
MFlashObject(0-?)
MUZZLE_PLACEHOLDER
BOGUS
Code: Select all
ActEat
ActBite
ActJumpBite
ActFeint
ActRam
ActDrink
ActShoulderCharge
ActTailSwipe
ActOuch
ActHelp
ActHowl
ActSnarl
ActCroon
ActDie
ActLookAt
ActTaste
ActSniffTarget
ActCockHead
ActMoveToward
ActJump
ActMoveAway
ActDontTouch
ActWander
ActStalk
ActCircle
ActPursue
ActFlee
ActStayNear
ActStayAway
ActJumpBack
ActGetOut
ActDash
ActApproach
ActMoveBy
ActRearback
ActBackAway
ActCower
ActGlare
ActSniff
ActLookAround
ActNothing
ActTestHeadCock
ActTestHeadOrient
ActTestWagTail
ActTestHeadPosition
ActTestMouth
Code: Select all
Action(00-99)
Fear
Love
Anger
Curiosity
Hunger
Thirst
Fatigue
Pain
Solidity
Archetype
AIType
AIMass
Danger
HumanFear
HumanLove
HumanAnger
HumanCuriosity
HumanHunger
HumanThirst
HumanFatigue
HumanPain
HumanSolidity
DamageFear
DamageLove
DamageAnger
DamageCuriosity
DamageHunger
DamageThirst
DamageFatigue
DamagePain
DamageSolidity
Bravery
Team
Speed
Mouth
AI
Climb
Dinosaur
Pathfind
Vocal
TerrainPathfinding
SenseTerrain
SenseObjects
SenseAnimates
WakeUp
Sleep
StayNearMax
StayNearOK
StayNearTarget
StayAwayMin
StayAwayOK
StayAwayTarget
BiteTargetDistance
FeintTargetDistance
Width
HeadReach
TailReach
ClawReach
JumpDistance
JumpUp
JumpDown
WalkOver
WalkUnder
JumpOver
CrouchUnder
MoveableMass
UpAngle
DownAngle
Code: Select all
NodesPerSec
MaxNodes
TimeToForgetNode
TimeToForgetInfluence
MaxPathLength
MaxAStarSteps
Code: Select all
Solid
Dust
Log
Number
Velocity
Lifespan
Size
Length
Gravity
StuckGravity
Spread
Threshold
Code: Select all
TextPosition
TextDisplayTime
TextAtTop
OverlayText
ResourceID
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
- Draconisaurus
- T-Rex Killer
- Posts: 14045
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
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
-
- -=TresCom Developer=-
- Posts: 4720
- Joined: Sat Jun 12, 2004 6:52 pm
- Antispam: No
- Location: Atlanta
I'll tell you right now, that some of those values are only used internally by Tres, and we don't have access to them.
@chronzerg - Anne has the armor value, it's used in $AnneBody.
"Cold lino was the driving force behind world power!"
Now, my idea is that any so far unidentified ones may be related to unused (in the retail game) actiontypes. I was trying to see if there was any relation between the order in which the various classes are listed and the order teh various values are grouped. I also attempted to get an idea of what some unused values might be used for by looking at other values grouped right before or after it.
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
- Draconisaurus
- T-Rex Killer
- Posts: 14045
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Code: Select all
ResolutionRatio
Strength
Interval
Radius
Code: Select all
ObjectName
Enable
Query
Code: Select all
group Trig_EnableFloaters00 = {
string Class = "CLocationTrigger"
bool PlayerEnterTrigger = true
int FireCount = 1
group Action00 = {
int ActionType = 15
string ObjectName = "PylwFuelBarrel00-02"
bool Enable = true
}
...
Yes, char is a valid data type (class CCharValue), but it's not used by any of the original code. It's rather trivial, a case of String of size 1... so you wouldn't do much with it, except maybe for an input system which we know is pretty freeform in the game. They probably included it as a C++ novelty.Machf... that is very cool. Just finished going through them. I may end up testing some on my own... want to see what "TextAtTop" could do. Also, char???! Wow! I don't think anyone knew trespasser supported that datatype. There might not be any known values that currently use it... and one might as well just use int anyway, which is why I think we've never seen char used. But, it's possible BR could use chars in one of his new action types...? Would be interested to see what he has to say about that (hoping he reads this).
I have a list of all the 36 AT class names somewhere... I'm documenting stuff at the moment, so when that's done I'll put up the list along with other info. I don't think that "Query" goes with AT15, though.These must be for ActionType 15. It was discovered by Big Red I believe, we never figured out exactly what it was for... I tried using it to make objects in the RapValley pond start floating around before you got there but it didn't work.
edit: Ah, I had put the list of the ATs in the ATX docs after all...
"
These are the names of the 36 default Trespasser ActionTypes
as they would have appeared in the Trespasser source. They
are, in truth, the names of the classes of each ActionType.
AT00 - CVoiceOverAction
AT01 - CAmbientAction
AT02 - CMusicAction
AT03 - CFadeMusicAction
AT04 - CShowOverlayAction
AT05 - CSetFogAction
AT06 - CSetRendererAction
AT07 - CSetTerrainAction
AT08 - CSetImageCacheAction
AT09 - CSetAIAction
AT10 - CSetPhysicsAction
AT11 - CSubstituteMeshAction
AT12 - CSetSortAction
AT13 - CSetSkyAction
AT14 - CSetAlphaWaterAction
AT15 - CWaterOnOffAction
AT16 - CLoadLevelAction
AT17 - CSetAnimatePropertiesAction
AT18 - CTeleportAction
AT19 - CSaveLevelAction
AT20 - CMagnetAction
AT21 - CAnimateTextureAction
AT22 - CHideShowAction
AT23 - CSoundEffectAction
AT24 - CWakeAIAction
AT25 - CDelayAction
AT26 - CScriptedAnimationAction
AT27 - CSetVariableTriggerAction
AT28 - CSetHintAction
AT29 - CAudioEnvironmentAction
AT30 - CSubstituteAIAction
AT31 - CEndGameAction
AT32 - CControlPlayerAction
AT33 - CAISystemAction
AT34 - CTextAction
AT35 - CWaterDisturbanceAction
"
It would be possible to get an exact list of which values are associated with which AT by looking through the assembly code; that's what I did with the list of unknown AT values, get all the value names and types the game "officially" scans for and uses in the code itself. However, it just happens to be a horribly long process which I doubt anybody would truly want to take part in, even if I explained it thoroughly (you'd also have to know assembly).
http://atx.trescom.org/
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
- Draconisaurus
- T-Rex Killer
- Posts: 14045
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Machf I agree, we need a new t-script reference page. Some things on the original page are just plumb wrong, such as "PlayerExitTrigger" which should be "PlayerEnterTrigger" and a few other things, not to mension all the discoveries about new ATs...
Code: Select all
NearTolerance
FarTolerance
NearZ
FarZ
FarZNo
SortPixelTol
MaxNumToSort
Sort2PartAt
Sort4partAt
TerrNearTolerance
TerrFarTolerance
TerrNearZ
TerrFarZ
UseSeperateTol
PixelRatio
MinPixels
CacheAge
CacheActive
CacheIntersect
And these may be for ActionType 4, "Show Overlay":
Code: Select all
Attach
Bitmap
Center
Discard
XPos
YPos
@BigRed: I'm listening, in case you want to give more details about the process...
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
-
- -=TresCom Developer=-
- Posts: 4720
- Joined: Sat Jun 12, 2004 6:52 pm
- Antispam: No
- Location: Atlanta
I tried this (I was attempting to get "Round #" to flash up on the screen) and Tres crashed whenever I entered the trigger. Granted, it could've been scripted incorrectly. Perhaps with these new values, and some free time, I'll try it again (although anyone else is welcome to beat me to it ).machf wrote:Sounds to me like this would display a bitmap on the screen? Useful for some type of HUD?
"Cold lino was the driving force behind world power!"