The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Geany IDE For Amnesia Scripting
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#1
Geany IDE For Amnesia Scripting

Updated the tags file for amnesia scripting in the Geany IDE

I believe that I have not missed ANY new function at all (unless there were more then those I could find here.

If I have missed any PLEASE tell me!
If there's any bugs with these tags let me know and I'll get to fixing it right away!

My test's all worked perfectly but I haven't yet tested ALL of the new scripting functions.

Changelog
Spoiler below!

First Changes

Added all of the following tags to the tags file.

StringToFloat|float|(string&in asString)|
StringToInt|int|(string&in asString)|
StringToBool|bool|(string&in asString)|
MathSin|float|(float afX)|
MathCos|float|(float afX)|
MathTan|float|(float afX)|
MathAsin|float|(float afX)|
MathAcos|float|(float afX)|
MathAtan|float|(float afX)|
MathAtan2|float|(float afX, float afY)|
MathSqrt|float|(float afX)|
MathPow|float|(float afBase, float afExp)|
MathMin|float|(float afA, float afB)|
MathMax|float|(float afA, float afB)|
MathClamp|float|(float afX, float afMin, float afMax)|
MathAbs|float|(float afX)|
GetPlayerPosX|float|()|
GetPlayerPosY|float|()|
GetPlayerPosZ|float|()|
GetEntityPosX|float|(string &in asName)|
GetEntityPosY|float|(string &in asName)|
GetEntityPosZ|float|(string &in asName)|
GetBodyMass|float|(string &in asName)|
SetInDarknessEffectsActive|void|(bool abX)|
StartInsanityEvent|void|(string &in asEventName)|
StopCurrentInsanityEvent|void|()|
SetPlayerJumpForceMul|void|(float afMul)|
SetPlayerFallDamageDisabled|void|(bool abX)|
SetPlayerPos|void|(float afX, float afY, float afZ)|
SetEntityVisible|void|(string &in asName, bool abVisible)|
ReplaceEntity|void|(string &in asName, string &in asBodyName, string &in asNewEntityName, string &in asNewEntityFile, bool abFullGameSave)|
PlaceEntityAtEntity|void|(string &in asName, string &in asTargetEntity, string &in asTargetBodyName, bool abUseRotation)|
SetEntityPos|void|(string &in asName, float afX, float afY, float afZ)|
SetBodyMass|void|(string &in asName, float afMass)|
AttachPropToProp|void|(string& asPropName, string& asAttachName, string& asAttachFile, float afPosX, float afPosY, float afPosZ, float afRotX, float afRotY, float afRotZ)|
AlertEnemyOfPlayerPresence|void|(string &in asName)|
SetEnemySanityDecreaseActive|void|(string &in asName, bool abX)|
TeleportEnemyToNode|void|(string &in asEnemyName, string &in asNodeName, bool abChangeY)|
TeleportEnemyToEntity|void|(string &in asEnemyName, string &in asTargetEntity, string &in asTargetBody, bool abChangeY)|
ChangeManPigPose|void|(string&in asName, string&in asPoseType)|
SetTeslaPigFadeDisabled|void|(string&in asName, bool abX)|
SetTeslaPigSoundDisabled|void|(string&in asName, bool abX)|
SetTeslaPigEasyEscapeDisabled|void|(string&in asName, bool abX)|
ForceTeslaPigSighting|void|(string&in asName)|
GetEnemyStateName|string&|(string &in asName)|

Second Changes
Removed the tag for

AddKeyPart(int)

Downloads
Pastebin Link
Dropbox Link
EDIT - Link Broken. Please refer to the Pastebin Link.

Setting up Geany for HPL2 Scripting

File Path
[Image: 9c825d1a0f.png]

Thanks to Your Computer for the tutorial video!



(This post was last modified: 07-30-2015, 08:54 AM by 7heDubz.)
12-06-2014, 02:53 AM
Find


Messages In This Thread
Geany IDE For Amnesia Scripting - by 7heDubz - 12-06-2014, 02:53 AM
RE: Geany IDE For Amnesia Scripting - by 7heDubz - 05-22-2015, 11:52 PM
RE: Geany IDE For Amnesia Scripting - by Daemian - 05-23-2015, 04:42 PM
RE: Geany IDE For Amnesia Scripting - by 7heDubz - 05-24-2015, 01:56 AM
RE: Geany IDE For Amnesia Scripting - by Mudbill - 05-23-2015, 04:58 PM
RE: Geany IDE For Amnesia Scripting - by Daemian - 05-24-2015, 08:40 PM



Users browsing this thread: 1 Guest(s)