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
7heDubz Offline
Posting Freak

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

UPDATE

Removed the tag for

AddKeyPart(int)

As there is no reference in the wiki for such a function.

Both download buttons fixed.
Changelog Updated.

(This post was last modified: 05-22-2015, 11:52 PM by 7heDubz.)
05-22-2015, 11:52 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#3
RE: Geany IDE For Amnesia Scripting

I like notep++ better but good job, I guess this is for Geany users. :>
I didn't know you were YourComputer. Good to know you're still around. Are you making a mod or something?

05-23-2015, 04:42 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Geany IDE For Amnesia Scripting

Pretty sure he just linked YC's video. It's an old one. Besides, YC has his own forum profile and I believe he's a moderator too. Would be weird to use another account unless you wanna go incognito Wink

05-23-2015, 04:58 PM
Find
7heDubz Offline
Posting Freak

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

(05-23-2015, 04:42 PM)Daemian Wrote: I like notep++ better but good job, I guess this is for Geany users. :>
I didn't know you were YourComputer. Good to know you're still around. Are you making a mod or something?

Notepad++ Burns my eyes. I don't know I just don't like it. But that's why we have choices!

Not YourComputer nope ^.^ Just a guy using his tutorial video.

(05-23-2015, 04:58 PM)Mudbill Wrote: Pretty sure he just linked YC's video. It's an old one. Besides, YC has his own forum profile and I believe he's a moderator too. Would be weird to use another account unless you wanna go incognito Wink

Correct I just linked his video.


Your Computer

(This post was last modified: 05-24-2015, 01:56 AM by 7heDubz.)
05-24-2015, 01:56 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#6
RE: Geany IDE For Amnesia Scripting

oh :)

05-24-2015, 08:40 PM
Find




Users browsing this thread: 3 Guest(s)