Frictional Games Forum (read-only)
Update coming! Brave testers needed! - 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)
+--- Thread: Update coming! Brave testers needed! (/thread-23378.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


RE: Update almost ready! Brave testers needed! - Daemian - 10-15-2013

About the flashlight problem, i found it's the draw animation not working properly. A temporal fix it's to not use it.
(change "Flashlight_Draw" to "Flashlight_Idle" in lantern/lantern.ho )

Now back to the problem, when using the flashlight, in a test full conversion, the log says this:
Spoiler below!

AmnesiaNew is where i have an Amnesia installation with the update.
ModTest is the directory where i have an isolated full conversion to test.


-------- Loading complete ---------
ERROR: Could not open binary file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.msh'
ERROR: Could not load file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.msh' in MSH loader.Cache out of date! Reloading collada file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.dae'
ERROR: Loading entity PlayerHands: Skeletons in mesh file (D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.dae) and .ent file (D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.ent) differ! Probably caused by .ent not being up to date with mesh
WARNING: Could not find player start node 'AreaPlayerStart'
ERROR: StartPos 'AreaPlayerStart' does not exist!

After updating the ent file hands.ent (by opening it in the new model editor and saving) the log says this:
Spoiler below!

New line in green

-------- Loading complete ---------
ERROR: Could not open binary file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.msh'
ERROR: Could not load file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.msh' in MSH loader.Cache out of date! Reloading collada file 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.dae'
ERROR: Could not find bone 'hand' in model 'D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.ent'
ERROR: Loading entity PlayerHands: Skeletons in mesh file (D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.dae) and .ent file (D:/AmnesiaNew/redist/ModTest/models/player/hands/hands.ent) differ! Probably caused by .ent not being up to date with mesh
WARNING: Could not find player start node 'AreaPlayerStart'
ERROR: StartPos 'AreaPlayerStart' does not exist!


And the flashlight problem persist.

I've noticed the new model editor can find additional content in the collada files.
And maybe this is the problem, because when you open hands.ent, it finds two additional objects in the collada file. These are gameCamera and hands which are, according to hands.dae, visual scenes. And the hands object already exists in the model.

At left, hands.ent in Amnesia normal model editor.
At right, same hands.ent in Amnesia model editor 130930.
Spoiler below!

[Image: a9s_rci5eotasdgdjet7.jpg]


So, having two objects with the same name it's causing the draw animation of the flashlight to glitch?


RE: Update almost ready! Brave testers needed! - Patrik - 10-15-2013

Yeah, I was able to reproduce the issue, so should be possible to solve.


RE: Update almost ready! Brave testers needed! - Patrik - 10-16-2013

New version is up!

Fixes
  • Fixed animation bug that caused animations where some tracks were longer than others to behave strangely.
  • Fixed skybox texture set by the LevelEditor not getting saved.
  • Model editor no longer gives you an error message for step events with no specified value.
  • Added StartInsanityEvent script function so you can start specific insanity events.
  • Added the new Map and Model viewers to the zip file.

Hopefully this will be the final test version. Smile

(10-09-2013, 04:06 PM)FlawlessHair Wrote: Patrik! I have something bugging me.
Whenever i select an object and want to make it into another object in the editor, it doesn't remember what mesh it was from the beginning, so I have to go through all the folders everytime... It's very annoying Smile
Is it possible to fix?

I believe this was fixed in the previous version. You sure you weren't using an older one?


RE: Update almost ready! Brave testers needed! - Daemian - 10-16-2013

That was fast. Nice.

I'm testing this in a sec.

So, the flashlight is working fine now.
But i still get those errors...
Spoiler below!


ERROR: Could not open binary file 'D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.msh'
ERROR: Could not load file 'D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.msh' in MSH loader.Cache out of date! Reloading collada file 'D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.dae'
ERROR: Could not find bone 'hand' in model 'D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.ent'
ERROR: Loading entity PlayerHands: Skeletons in mesh file (D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.dae) and .ent file (D:/AmnesiaNew/redist/TestMod/models/player/hands/hands.ent) differ! Probably caused by .ent not being up to date with mesh



edit:
StartInsanityEvent ( string );
Is perfecto, it works every time you call it.


RE: Update almost ready! Brave testers needed! - DnALANGE - 10-16-2013

Added StartInsanityEvent script function so you can start specific insanity events.

SUPER
---
Testiing the new functions and editors!

EDIT : IMPORTEND!
For the people who have all maps + skyboxes,
BEFORE you install this NEW update from patrik,
WRITE all skyboxes of the maps you are using on a paper / txt etc..
Cause this update will remove them and you start add them again yourself!
-
SKYBOX EDIT : Saving the skybox and reload mapSKYBOX works now! AWESOME Patrik!!!

Quote:Patrik! I have something bugging me.
Whenever i select an object and want to make it into another object in the editor, it doesn't remember what mesh it was from the beginning, so I have to go through all the folders everytime... It's very annoying [Image: smile.gif]
Is it possible to fix?

ISSUE IS STILL HERE FOR ME AS WELL!
Making an entitie from FC -> when go out of editor and RELOAD the same map..
When pressing the entitie again -> just saying it loads from REDIST instead of the FC-Folder...
VERY Annoying!
------
FLASHLIGHT EDIT : it IS fixed!!! the issue with the flashlight has been fixed in the NEW UPDATE!!! AWESOME!
----------
SANITYEVENT EDIT :
HOW can we turn the event OFF???
Could it be possible to do this for example : StopAllInsanityEvents();

HERE IS THE AWNSER :
Code:
PUT THIS LINE IN THE MAIN_SANITY_EVENTS.CFG

            <SoundStream
        Name = "EMPTYHUD"
        Set = "EMPTYHUD"
        MaxSanity = "100"
        
        File = "silence.ogg"
        Volume = "1"
        SoundDelayTime = "0.2"
        
        FadeScreen = "true"
        FadeColor = "1 1 1 1"
        FadeInTime = "0"
        FadeOutTime = "1000000000"
        
        FadeImageFile = "EMPTYNESS_Lange.tga"
        
        DisablePlayer = "false"
    />



*****File = "silence.ogg"   NOT really nescasery if i am right. if ERRORS occur, i will upload the SILINCE.OGG later. just put that file in REDIST\SOUNDS.

THEN :
Go to paint\ or painting program and make a
NEW FILE -> 1024x1024
Then just make "MAGIC WAND the page"
SAVE AS : EMPTYNESS_Lange.tga    <--- can be changed offcourse BUT also change it in the .cfg.


HERE IS THE SCRIPT:
Quote:void OnEnter()
{

}

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Justatest", true, 1);
}

void Justatest(string &in asParent, string &in asChild, int alState)
{
AddTimer("", 5.5, "TestEnd");
StartInsanityEvent("JUSTACUSTOMHUD");
}

void TestEnd(string &in asTimer)
{
SetInsanitySetEnabled("JUSTACUSTOMHUD", false);
StartInsanityEvent("EMPTYHUD"); // Set = "EMPTYHUD" <---THAT'S THE NAME IN THE .CFG --> "EMPTYHUD"
}
----------------


RE: Update almost ready! Brave testers needed! - RedKnight - 10-16-2013

ModelView.exe stopped working! -_-

EDIT: Nevermind


RE: Update almost ready! Brave testers needed! - Daemian - 10-16-2013

Patrik Wrote:I believe this was fixed in the previous version. You sure you weren't using an older one?

I just tested this, it's not working for me too. In any of these editors:
(Located in the updated Amnesia directory)

LevelEditor.exe
LevelEditor130930.exe
LevelEditor131016.exe

To test -in a new level- i placed only a castle door entities/door/castle/castle.ent

When you go and browse for its entity (the small button labeled "..." )
It takes you correctly to the entities/door/castle/ directory.

But, if you save and open the map again, the browse button now takes you always to /redist instead.


Note: The tool-tip when you hover over the entity text box it always shows perfectly the location of the file.
Note2: It works fine with the old editor without the updates.


RE: Update almost ready! Brave testers needed! - Patrik - 10-16-2013

(10-16-2013, 05:47 PM)Amn Wrote: But i still get those errors...

Unless the flashlight acts weird you can ignore those errors.

(10-16-2013, 06:07 PM)DnALANGE Wrote: EDIT : IMPORTEND!
For the people who have all maps + skyboxes,
BEFORE you install this NEW update from patrik,
WRITE all skyboxes of the maps you are using on a paper / txt etc..
Cause this update will remove them and you start add them again yourself!

That doesn't sound good. Sad
I'll have to fix that as well.

(10-16-2013, 06:07 PM)DnALANGE Wrote: HOW can we turn the event OFF???

I'll check if adding a StopSanityEvents function would be easy to add.

(10-16-2013, 06:59 PM)Amn Wrote: I just tested this, it's not working for me too. In any of these editors:

Aaah, sorry guys, I completely misunderstood the issue. Will look into that.


RE: Update almost ready! Brave testers needed! - DnALANGE - 10-16-2013

MONSTER EDIT :
FLEE PROM PLAYER OPTION:
That option on the engineer.ent causes the game to crash!
----
(10-16-2013, 06:07 PM)DnALANGE Wrote: EDIT : IMPORTEND!
For the people who have all maps + skyboxes,
BEFORE you install this NEW update from patrik,
WRITE all skyboxes of the maps you are using on a paper / txt etc..
Cause this update will remove them and you start add them again yourself!

That doesn't sound good. Sad
I'll have to fix that as well.

EDIT :The color IS THERE when opening the map, only the SKYBOX is NOT.
I hope you can do something with this info, the more info you get the better... i guess Wink


RE: Update almost ready! Brave testers needed! - DnALANGE - 10-16-2013

SCIRPTFUNCTION QUESION.

void AddNote(string& asNameAndTextEntry, string& asImage);

Never worked before..
I will check if you guys have added it in this update... or in the "source code"
I will tell later if it works yes\no.
Very usefull, then we don't have to grab notes scattered around.
For example you see something importend, i can add a note with info, etc...