Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating script support, taking requests
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Updating script support, taking requests

Spoiler below!

PHP Code: (Select All)
SetFallDamageActive(bool); 
A function that sets falldamage active and inactive


PHP Code: (Select All)
SetPlayerJumpHeight(float); 
Sets the jump height of the player


PHP Code: (Select All)
SetPlayerInteractionRange(float); 
Sets how far the player can reach.
(I don't know how much realism this one will add, but if it's easy to include, why not?)


And more screen effects with colors, instead of only the sepia one. Gray-tone, setting the contrast, etc.

Ability to call functions when the player presses a button on the keyboard or mouse

PHP Code: (Select All)
AddRepeater(stringasNamefloat afTimestringasFunction); 
Adds a repeater to the script that keeps calling.

asName = Name of the repeater
afTimer = Time in between repeating
asFunction = Name of the function
void MyFunc(string &in asRepeater)


PHP Code: (Select All)
StopRepeater(stringasName); 
asName = Name of the repeater


PHP Code: (Select All)
ActivateInsanityEffect(stringasEffectbool abActive); 
asEffect = Name of the insanity effect
abActive = true or false to activate or deactivate


PHP Code: (Select All)
TurnWheelToSpeed(stringasNamefloat afAccfloat afGoalSpeedint alStatebool abResetSpeed); 
Turns a wheel, like a valve, at a defined speed and direction.
asName = Internal name of wheel
afAcc = Acceleration
afGoalSpeed = Desired speed
alState = End state of wheel. 1 = Right. 0 = Middle. -1 = Left.
abResetSpeed = determines whether the speed is reset after goal speed is reached.


Also some stuff to the monsters would be cool.

PHP Code: (Select All)
ForceEnemyRun(stringasNamebool abActive); 
Forces the monster to run.

PHP Code: (Select All)
AddEnemyPatrolNodeRepeat(stringasNamestringasFirstNodeNamestringasSecondNodeNamestringasThirdNodeNamefloat afWaitTimestringasAnimation); 
Forces monster to patrol between the desired pathnodes. When reaching the first pathnode, he will wait the waittime, then continue to the second pathnode etc. If no third pathnode is specified, it will go back to the first pathnode again.

So it goes like First, Second, Third, Second, First, Second, Third etc.



Trying is the first step to success.
(This post was last modified: 08-27-2013, 03:40 PM by FlawlessHappiness.)
08-27-2013, 01:54 PM
Find


Messages In This Thread
RE: Updating script support, taking requests - by FlawlessHappiness - 08-27-2013, 01:54 PM



Users browsing this thread: 1 Guest(s)