mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Merge remote-tracking branch 'gg/development-3.6' into development
Conflicts: Engine/source/T3D/gameFunctions.cpp
This commit is contained in:
commit
014b566014
29 changed files with 252 additions and 129 deletions
|
|
@ -482,7 +482,7 @@ datablock DebrisData( PlayerDebris )
|
|||
datablock PlayerData(DefaultPlayerData)
|
||||
{
|
||||
renderFirstPerson = false;
|
||||
|
||||
firstPersonShadows = true;
|
||||
computeCRC = false;
|
||||
|
||||
// Third person shape
|
||||
|
|
|
|||
|
|
@ -192,9 +192,9 @@ datablock ShapeBaseImageData(RyderWeaponImage)
|
|||
lightBrightness = 2;
|
||||
|
||||
// Shake camera while firing.
|
||||
shakeCamera = false;
|
||||
camShakeFreq = "0 0 0";
|
||||
camShakeAmp = "0 0 0";
|
||||
shakeCamera = "1";
|
||||
camShakeFreq = "10 10 10";
|
||||
camShakeAmp = "5 5 5";
|
||||
|
||||
// Images have a state system which controls how the animations
|
||||
// are run, which sounds are played, script callbacks, etc. This
|
||||
|
|
@ -361,4 +361,5 @@ datablock ShapeBaseImageData(RyderWeaponImage)
|
|||
stateSequenceTransitionOut[13] = true;
|
||||
stateAllowImageChange[13] = false;
|
||||
stateSequence[13] = "sprint";
|
||||
camShakeDuration = "0.2";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -212,7 +212,10 @@ function AIPlayer::singleShot(%this)
|
|||
// The shooting delay is used to pulse the trigger
|
||||
%this.setImageTrigger(0, true);
|
||||
%this.setImageTrigger(0, false);
|
||||
%this.trigger = %this.schedule(%this.shootingDelay, singleShot);
|
||||
%delay = %this.getDataBlock().shootingDelay;
|
||||
if (%delay $= "")
|
||||
%delay = 1000;
|
||||
%this.trigger = %this.schedule(%delay, singleShot);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue