Frictional Games Forum (read-only)
Full conversion - 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: Full conversion (/thread-21362.html)

Pages: 1 2


Full conversion - Icaab2607 - 05-01-2013

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:
[Image: bandicam20_2061333_7872460.jpg]
And even that's changed this hand:
[Image: Amnesia201_5273899_7872474.jpg]
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:
[Image: bandicam20_4120010_7872495.jpg]
2 . As to me to make here such billboard white_lightray how in "white night":
[Image: whitelight_8751661_7872499.jpg]
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.


RE: Total conversion - PutraenusAlivius - 05-02-2013

I can only solve one problem; this is because I do not fully recognize what is your problem.

Floating in water.
Create an area covering the entire area where the water will be. Name it "ScriptAreaWater" without the quotation marks.
Copy-paste the following code.
PHP Code:
void OnStart()
{
AddEntityCollideCallback("Player""ScriptAreaWater""SwimWater"false1);
}

void SwimWater(string &in asParentstring &in asChildint alState)
{
AddPlayerBodyForce(030000false);




RE: тотальная конверсия - Icaab2607 - 05-02-2013

(05-02-2013, 07:01 AM)JustAnotherPlayer Wrote: I can only solve one problem; this is because I do not fully recognize what is your problem.

Floating in water.
Create an area covering the entire area where the water will be. Name it "ScriptAreaWater" without the quotation marks.
Copy-paste the following code.
PHP Code:
void OnStart()
{
AddEntityCollideCallback("Player""ScriptAreaWater""SwimWater"false1);
}

void SwimWater(string &in asParentstring &in asChildint alState);
{
AddPlayerBodyForce(030000false);

[Image: bandicam20_8257029_7872451.jpg]


RE: Тотальная конверсия - Linus Ågren - 05-02-2013

void SwimWater(string &in asParent, string &in asChild, int alState);

Remove the ; at the end.


RE: Полный переход - Theforgot3n1 - 05-02-2013

The title is incomprehensible for most people here, I think...


RE: Полный переход - Rapture - 05-02-2013

Your translation from Russian (I think the title is?) to English isn't very good. Not that I expect translators to get it perfectly, but you could ask around for someone to help you to translate Russian to English better.

(3) You included a script unrelated to swimming underwater. I'm not sure if you sent the wrong one, or your not understand how to script for swimming underwater.

Your video starting at 0:06 (For me) stops recording video, but I can still hear sounds. Not sure what is up with that.


RE: Тотальная конверсия - Statyk - 05-03-2013

Merged the one from Development and deleted the one in the Custom Stories section. Please don't duplicate your thread in different sections.

It would also be recommended to make your title English. Though this is mostly an international forum, it's strictly English and changing it could help you find more support.


RE: Тотальная конверсия - PutraenusAlivius - 05-03-2013

Creating the lightray.

Just download the f**king file and used it as a billboard! Or if you wanna use it for a lantern, attach the billboard to it.


RE: Тотальная конверсия - Icaab2607 - 05-03-2013

(05-03-2013, 06:55 AM)JustAnotherPlayer Wrote: Creating the lightray.

Just download the f**king file and used it as a billboard! Or if you wanna use it for a lantern, attach the billboard to it.
Where?

(05-02-2013, 08:17 PM)Rapture Wrote: Your translation from Russian (I think the title is?) to English isn't very good. Not that I expect translators to get it perfectly, but you could ask around for someone to help you to translate Russian to English better.

(3) You included a script unrelated to swimming underwater. I'm not sure if you sent the wrong one, or your not understand how to script for swimming underwater.

Your video starting at 0:06 (For me) stops recording video, but I can still hear sounds. Not sure what is up with that.
I know, you've seen a player fell, that's all I wanted to show.

Your video starting at 0:06 (For me) stops recording video, but I can still hear sounds. Not sure what is up with that.
[/quote]
I know, you've seen a player fell, that's all I wanted to show.

I know, you've seen a player fell, that's all I wanted to show.


RE: Full conversion - PutraenusAlivius - 05-03-2013

(05-03-2013, 01:12 PM)Icaab2607 Wrote:
(05-03-2013, 06:55 AM)JustAnotherPlayer Wrote: Creating the lightray.

Just download the f**king file and used it as a billboard! Or if you wanna use it for a lantern, attach the billboard to it.
Where?
Just download the flashlight and copy the billboard.
Now use it.
???
PROFIT