![]() |
[SCRIPT] Starting items - 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] Starting items (/thread-24780.html) |
RE: Starting items - Radical Batz - 03-08-2014 Try this instead! Code: void OnStart() RE: Starting items - Romulator - 03-08-2014 Yeah, but Badcat, you removed the starting Sanity and Health thing.. :p RE: Starting items - Straxedix - 03-08-2014 But what about sanity no one know ? RE: Starting items - Radical Batz - 03-08-2014 no i did not I put it in the void begin story RE: Starting items - Romulator - 03-08-2014 Sorry xD put this in OnStart(); SetPlayerSanity(X); Where X is a value between 0 and 100. Anything below 52 will steadily climb back to that in the light. Edit: Sorry, missed that Badcat. Would usually have those scripts in OnStart(); :p RE: Starting items - Straxedix - 03-08-2014 Yeah that's it i added you to buddy list if is that okay but i have 1 more question ![]() It is realllllllly hard but i think you can solve it When i enter 1 room open doors now look carefull *He automaticly (you can't controll player) turn behind him and door's stuck and it cannot open* *Then he go up (player control) and NOT PLAYER I THINK IT'S BACKGROUND start to shake then black screen (like original amnesia) and water come :S* Or i made imagine that is not possible xD RE: Starting items - Romulator - 03-08-2014 Actually, all of this can be done. I'm not going to write up how to do it, because you have the idea, but be sure to look at the Engine Scripts page on the wiki; http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: Starting items - Straxedix - 03-08-2014 That's really hard im noob at scripts can make this please i think you won't help just me you will help other peoples who will watch this Thread (i hope so) ![]() Cmnnn please ![]() My time to make this:10-25 days You:I think about 15 mins ![]() RE: Starting items - Romulator - 03-08-2014 Well, I'll give you some pseudocode, at least on what I think you're trying to do. Use this as a starting point to get you to understand what coding you'll need; Code: BEGIN If that's what you need, then you can convert it to script, and you'll need to add some things to your level via the Level Editor, like the ScriptAreas and water/water_areas. RE: Starting items - Straxedix - 03-08-2014 yeah i need this but how to make it to a script :O ? |