Frictional Games Forum (read-only)
[SCRIPT] Monster Help :O - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Monster Help :O (/thread-24903.html)



Monster Help :O - Straxedix - 03-22-2014

Hii Smile

Again me muahahahahahhaah

Big Grin

I need help how to make monster run faster if anyone know

And one more think when pick up key (what i have) and spawn monster (what i have done) to look in monster for long time like 5 sec he can't run,move just stay in the one place

So:
-Need help with:
-Monster to run faster
-When pick key to look at monster without any moving


RE: Monster Help :O - DnALANGE - 03-22-2014

First thing! WHY are you making so many treads?
We are helping in the other one..
-
As far as i see..
You have so little experience with Amnesia + Editors + scripting...
IF i will explane you might not understand.
i will try this time.
-
FOR THE MONSTER RUN FASTER:
go to : Modeleditor \ open the enemy you want to run faster. then,
go to : SETTING \ UserdefinedVariables \ and there you can set up the speeds and LOADS of other things.
for YOU, you need to change this :
Quote:RUN_FORWARDSPEED : change that into what YOU want.
and
RUN_FORWARDACC : change that also a little.
---
You might also change the 2 walkspeeds { if you want offcourse, NOT needed for you i guess.. }:
WALK_FORWARDSPEED
and
WALK_FORWARDACC
-
VERY IMPORTEND!!!
Save as ( go to you custom story and make a folder called Enemy. save it there with ANOTHER NAME!
For example EnemyStrax.
do NOT OVERWRITE the Original monster or you will have all monsters run fast in your Original Amnesia.
---
for the Look monster thing:
Quote:SetPlayerActive(false);
AddTimer("", 5.0f, "Walkagain");
StartPlayerLookAt("YOURMONSTERNAME", 5.0f, 5.0f, "");

void Walkagain(string &in asTimer)
{
SetPlayerActive(true);
StopPlayerLookAt();
}

EDIT:
IF you are using a CUSTOM monster,
you will need to put the WHOLE MONSTER FOLDER in YOUR custom story \ enemy's
There might be people who do not have that monster { for NON amnesia monsters only }


RE: Monster Help :O - Straxedix - 03-22-2014

When pick up the key i need next

SetPlayerActive(false);
AddTimer("", 5.0f, "Walkagain");
StartPlayerLookAt("YOURMONSTERNAME", 5.0f, 5.0f, "");

void Walkagain(string &in asTimer)
{
SetPlayerActive(true);
StopPlayerLookAt();
}

can edit pls other works thanks Big Grin


RE: Monster Help :O - DnALANGE - 03-22-2014

You will OWE me a REP +++ for all this for me. Joking hehee Wink
-
Example :
Quote:OnStart
SetEntityPlayerInteractCallback("YOURKEY", "YOURSCRIPT", true);
-
void YOURSCRIPT(string &in asItem)
{
SetPlayerActive(false);
AddTimer("", 5.0f, "Walkagain");
StartPlayerLookAt("YOURMONSTERNAME", 5.0f, 5.0f, "");
}



RE: Monster Help :O - Straxedix - 03-22-2014

I solve it just add when void ActivateMonster is it working now you are best i would give you and somethingridi... and Mudbil and a lot other karma but as you see i never gain any karma xD so i can't give you Sad


RE: Monster Help :O - DnALANGE - 03-22-2014

Your welcome.
You can give us REPUTATION.
But that is fine.
Good luck with your story.


RE: Monster Help :O - Straxedix - 03-22-2014

I give you Karma :OOO


RE: Monster Help :O - Straxedix - 03-22-2014

And thanks ^.^