Musier
Junior Member
Posts: 19
Threads: 3
Joined: Jan 2012
Reputation:
0
|
RE: How do i make teleporting naked guys?
So....i've got an idea, but here, rather you can not explain it, because here you will need to play with a level editor.
OK. Let's do this. We'll go small step by step.
1. Add a script calling him his name.
2. In the script you're at the bottom of a place called "Mesh" press on "..." and look for the flying naked (D:\Amnesia - The Dark Descent\redist\entities\insan_visions\ - this is my path)
3. OK. If you add this guy now time for the script:
{
SetEntityPlayerInteractCallback("your_item_name", "Activatecorpse", true);
}
void Activatecorpse(string &in asEntity)
{
CreateEntityAtArea("corpse_bloody", "corpse_bloody.dae", "ScriptArea_1", false);
PlayGuiSound("react_scare.snt", 22.4f);
PlayGuiSound("enemy_hallucination_disappear.snt", 15.5f);
AddTimer("Timer1", 1.2f, "Timer1");
PlayGuiSound("24_iron_maiden.snt",10.0f);
}
OK. You got it. This is static guy. You can rewrite my script in order to move. Hope i help you.
I will show you the path
(This post was last modified: 04-02-2012, 05:44 PM by Musier.)
|
|
04-02-2012, 05:13 PM |
|