05-01-2013, 07:17 PM
I'm going to make a special-total conversion to a amnesia going to add new textures to make a new lantern to add enemy dead:
And even that's changed this hand:
But at me it will turn out only if you help me with 4 things:
1 . At me at starts of my converting, the mistake for some reason starts taking off:
2 . As to me to make here such billboard white_lightray how in "white night":
3 . I try to make so that I could swim under water, here a script:
void OnStart()
{
AddEntityCollideCallback("Player", "InsanityHall", "FuncInsanityHall", false, 0);
}
void FuncInsanityHall(string &in asParent, string &in asChild, int alState)
{
if(alState == 1)
{
SetLocalVarFloat("init_sanity", GetPlayerSanity());
AddTimer("start_drain", 0.01, "SanityDrain");
AddDebugMessage("Adding start_drain",false);
}
else if(alState == -1)
{
SetPlayerSanity(GetLocalVarFloat("init_sanity"));
RemoveTimer("drain_loop");
RemoveTimer("start_drain");
AddDebugMessage("Removing timers",false);
}
}
void SanityDrain(string &in asTimer)
{
if(asTimer == "start_drain")
{
if(GetPlayerSanity() > 20)
{
GiveSanityDamage(5, false);
AddDebugMessage("Giving sanity damage",false);
}
}
else if(asTimer == "drain_loop")
{
if(GetPlayerSanity() > 20)
{
GiveSanityDamage(5, false);
AddDebugMessage("Giving sanity damage",false);
AddDebugMessage("Player sanity at "+GetPlayerSanity(),false);
}
}
AddTimer("drain_loop", 1, "SanityDrain");
AddDebugMessage("Adding drain_loop",false);
}
And here video, that is at me didn't turn out, simply I fall down textures and all:
4. I want to change color for example the enemy, shoot video on it better, and that at me that that didn't turn out.
Me and in dds tried to, but did not happen:
http://www.mediafire.com/?zigledd2zojdsbh
Here link to file:
I hope you not igaist and you will be able to help me.
And conversion will be be called:Fears and Nightmares.
And even that's changed this hand:
But at me it will turn out only if you help me with 4 things:
1 . At me at starts of my converting, the mistake for some reason starts taking off:
2 . As to me to make here such billboard white_lightray how in "white night":
3 . I try to make so that I could swim under water, here a script:
void OnStart()
{
AddEntityCollideCallback("Player", "InsanityHall", "FuncInsanityHall", false, 0);
}
void FuncInsanityHall(string &in asParent, string &in asChild, int alState)
{
if(alState == 1)
{
SetLocalVarFloat("init_sanity", GetPlayerSanity());
AddTimer("start_drain", 0.01, "SanityDrain");
AddDebugMessage("Adding start_drain",false);
}
else if(alState == -1)
{
SetPlayerSanity(GetLocalVarFloat("init_sanity"));
RemoveTimer("drain_loop");
RemoveTimer("start_drain");
AddDebugMessage("Removing timers",false);
}
}
void SanityDrain(string &in asTimer)
{
if(asTimer == "start_drain")
{
if(GetPlayerSanity() > 20)
{
GiveSanityDamage(5, false);
AddDebugMessage("Giving sanity damage",false);
}
}
else if(asTimer == "drain_loop")
{
if(GetPlayerSanity() > 20)
{
GiveSanityDamage(5, false);
AddDebugMessage("Giving sanity damage",false);
AddDebugMessage("Player sanity at "+GetPlayerSanity(),false);
}
}
AddTimer("drain_loop", 1, "SanityDrain");
AddDebugMessage("Adding drain_loop",false);
}
And here video, that is at me didn't turn out, simply I fall down textures and all:
4. I want to change color for example the enemy, shoot video on it better, and that at me that that didn't turn out.
Me and in dds tried to, but did not happen:
http://www.mediafire.com/?zigledd2zojdsbh
Here link to file:
I hope you not igaist and you will be able to help me.
And conversion will be be called:Fears and Nightmares.