Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Map Bug, help appreciated
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#1
Map Bug, help appreciated

Hello.
I am a mapper/developer for amnesia CS's, and have never ended up publishing any of my works whether they're good or not. My current project is my favorite so far, and Ill post more of that later.

The map Im working on, however, crashes whenever I open it due to (I believe) a custom asset. Its a modified .ent of the statue 'deformed_man' that allows it to slide backwards for a scene. The map loads fine in-game, but whenever I open the map it crashes and removes the statue, and will not work until I restart my PC. The file is stored in '"(customstory)/entities/"


Help appreciated
THNX Big Grin

.ent:
<Entity>
<EditorSession>
<Performance CamClipPlanes="0.05 1000" LightsActive="true" PSActive="true" ShowFog="true" ShowSkybox="true" WorldReflection="true" />
<ViewportConfig BGColor="0.2 0.2 0.2 1" GAmbientLight="true" GPointLight="true" GridSnap="false" GridSnapSeparation="0.25" SelectedViewport="3" UsingEnlargedViewport="true">
<Viewport CameraPosition="0 0 180" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="2" Preset="0" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
<Viewport CameraPosition="180 0.363944 -0.166187" CameraTarget="0 0.363944 -0.166187" CameraZoom="0" GridHeight="0" GridPlane="0" Preset="1" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
<Viewport CameraPosition="0 180 0" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="1" Preset="2" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
<Viewport CameraPosition="-1.8248 0.219695 1.81657" CameraTarget="0.167157 1.09548 -0.131963" CameraZoom="2.84013" GridHeight="0" GridPlane="1" Preset="3" RenderMode="0" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
</ViewportConfig>
</EditorSession>
<ModelData>
<Entities />
<Mesh Filename="entities/statues/deformed_man/deformed_man.dae">
<SubMesh Active="true" ID="0" Material="" Name="polySurface24" Rotation="0 0 0" Scale="1 1 1" SubMeshID="0" Tag="" WorldPos="0 0 0" />
</Mesh>
<Bones />
<Shapes>
<BodyShape Active="true" ID="1" Name="Shape_1" RelativeRotation="0 0 0" RelativeScale="0.5 2 0.3" RelativeTranslation="-0.003558 0.498332 -0.00444745" Rotation="0 0 0" Scale="0.45 1.94 0.2403" ShapeType="Box" Tag="" WorldPos="-0.0046522 1.00956 -0.0477189" />
<BodyShape Active="true" ID="2" Name="Shape_2" RelativeRotation="0 0 0" RelativeScale="0.67 0.08 0.58" RelativeTranslation="0.003558 -0.498332 0.00444743" Rotation="0 0 0" Scale="0.603 0.0776 0.46458" ShapeType="Box" Tag="" WorldPos="0.0017522 0.0427956 -0.0405941" />
<BodyShape Active="true" ID="4" Name="Shape_3" RelativeRotation="1.#QNAN -1.#IND 1.#QNAN" RelativeScale="-1.#IND -1.#IND -1.#IND" RelativeTranslation="1.10218e+024 2.10195e-044 0" Rotation="0 0 0" Scale="0.674819 0.05 0.601562" ShapeType="Box" Tag="" WorldPos="-0.0164364 0.0553948 -0.00351703" />
</Shapes>
<Bodies>
<Body Active="true" AngularDamping="5" BlocksSound="false" BuoyancyDensityMul="1" CanAttachCharacter="true" CollideCharacter="true" CollideNonCharacter="true" ContinuousCollision="true" HasGravity="true" ID="3" LinearDamping="5" Mass="2" Material="Rock" MaxAngularSpeed="5" MaxLinearSpeed="5" Name="Body" PushedByCharacterGravity="true" Rotation="0 0 0" Scale="0.9 0.97 0.801" Tag="" UseSurfaceEffects="true" Volatile="false" WorldPos="-0.00145 0.526178 -0.0441565">
<Children>
<Child ID="0" />
</Children>
<Shape ID="1" />
<Shape ID="2" />
</Body>
</Bodies>
<Joints />
<Animations />
</ModelData>
<UserDefinedVariables EntitySubType="Push" EntityType="Object">
<Var Name="Health" Value="100" />
<Var Name="Toughness" Value="0" />
<Var Name="MaxFocusDistance" Value="0" />
<Var Name="MainPhysicsBody" Value="" />
<Var Name="ShowMesh" Value="true" />
<Var Name="DissolveOnDestruction" Value="false" />
<Var Name="DissolveTime" Value="1.0" />
<Var Name="EffectsOnSound" Value="" />
<Var Name="EffectsOffSound" Value="" />
<Var Name="EffectsOnTime" Value="1" />
<Var Name="EffectsOffTime" Value="1" />
<Var Name="EffectsOffLightColor" Value="0 0 0 0" />
<Var Name="EffectsOffLightRadius" Value="-1" />
<Var Name="ShowHints" Value="true" />
<Var Name="StaticMoveCheckCollision" Value="false" />
<Var Name="StaticMoveStartSound" Value="" />
<Var Name="StaticMoveStopSound" Value="" />
<Var Name="StaticMoveLoopSound" Value="" />
<Var Name="RandomizeAnimationStart" Value="true" />
<Var Name="BreakActive" Value="false" />
<Var Name="BreakDestroyJoints" Value="false" />
<Var Name="BreakMinEnergy" Value="100" />
<Var Name="BreakEntity" Value="" />
<Var Name="BreakEntityAlignBody" Value="" />
<Var Name="BreakSound" Value="" />
<Var Name="BreakParticleSystem" Value="" />
<Var Name="BreakImpulse" Value="4" />
<Var Name="HitDamageAmount" Value="5" />
<Var Name="HitDamageStrength" Value="1" />
<Var Name="MinHitDamageSpeed" Value="3" />
<Var Name="LifeLength" Value="0" />
<Var Name="IsFood" Value="false" />
<Var Name="PushAtPoint" Value="false" />
<Var Name="PushForceMul" Value="1" />
<Var Name="PushImpulse" Value="2" />
</UserDefinedVariables>
</Entity>
03-14-2014, 01:16 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: Map Bug, help appreciated

Well..
What you should do is this :
There is a much easyer way to do that.
-
Copy your folder with the statue. ( so if things go wrong you have a backup )
Open it with the MODELEDITOR.
(or import the mesh, MESH is most likely -STATIC OBJECTS- )
Then go to SETTINGS - USER DEFINED VARIABLES,
Then make it a OBJECT ( for example -PUSH\GRAB-)
Save it and you are done. (SAVE the ENTITIE IN YOUR CUSTOM STORY , so everybody has the statue when playing )
-
The only thing to know more of this engine is to try yourself what is teh best
Move \ grab etc...
-
The script you can use is this :
Quote:AddPropForce("NAMEOFYOURENTITIEHERE", 80, 350, -5555, "world");
-
Here is a function you can use so the PLAYER can NOT interact with the statue :
Quote:SetEntityInteractionDisabled("YOURENTITIENAMEHERE", true );
( You have to play with the values here to see what is the best you like "This above is for a barrel i wanted to move a little"
This should help you out.
Good luck!

(03-14-2014, 01:24 AM)DnALANGE Wrote: Well..
What you should do is this :
There is a much easyer way to do that.
-
Copy your folder with the statue. ( so if things go wrong you have a backup )
Open it with the MODELEDITOR.
(or import the mesh, MESH is most likely -STATIC OBJECTS- )
Then go to SETTINGS - USER DEFINED VARIABLES,
Then make it a OBJECT ( for example -PUSH\GRAB-)
Save it and you are done. (SAVE the ENTITIE IN YOUR CUSTOM STORY , so everybody has the statue when playing )
-
The only thing to know more of this engine is to try yourself what is teh best
Move \ grab etc...
-
The script you can use is this :
Quote:AddPropForce("NAMEOFYOURENTITIEHERE", 80, 350, -5555, "world");
-
Here is a function you can use so the PLAYER can NOT interact with the statue :
Quote:SetEntityInteractionDisabled("YOURENTITIENAMEHERE", true );
( You have to play with the values here to see what is the best you like "This above is for a barrel i wanted to move a little"
This should help you out.
Good luck!

You can see the variables for example the wooden box for the Health etc etc... Just sneak peak trough some Original entities.

Spoiler below!
Too lazy to use the edit button DnALANGE?
(This post was last modified: 03-14-2014, 01:44 AM by Yuhaney.)
03-14-2014, 01:24 AM
Find
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#3
RE: Map Bug, help appreciated

Thanks for the immediate reply, but It didn't seem to work.
I had made the original in model editor as well, and though the new .ent still works fine in testing in-game, the editor still seems to insist on crashing when I open the map.
Could it have anything to do with incorrectly setting up my DEV settings to allow open access to external files, or would it just be a file or mapping error?
Any more feedback would be great.
Let me know if you need to see some files.
Does the model need to be in the folder with the .ent?
03-14-2014, 01:42 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: Map Bug, help appreciated

well..
There can be a thing tho...
Where is the entitie now?
In YOUR story or into the AMENSIA entities folder?
If it is in YOUR folder the { editor will not be able to find and crash }
What you CAN do is try place YOUR entitie in the MAIN entitie folder and reload the map.
Is that the ONLY error youg ot or are there more?
What i mean is . did it work before { AND if you remove the entitie }
03-14-2014, 01:45 AM
Find
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#5
RE: Map Bug, help appreciated

The only error is the entity. It is in my custom story folder however. I have seen people store entities in the custom folder before, but you're saying that I should move it to a folder in the main entities folder?
Thanks
03-14-2014, 01:48 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: Map Bug, help appreciated

No, you do NOT have to put it into the main directory ENTITIES,
I want to see if your entities loads there.
Can you send me the NEW and CHANGED deformed man, i will take a look and will try to fix it for you.
You can easely put it on dropbox for example.
Is that an idea?
03-14-2014, 01:50 AM
Find
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#7
RE: Map Bug, help appreciated

ok, one sec.

https://www.dropbox.com/s/fk2dl6r5smbog3...ed_man.ent

https://www.dropbox.com/s/2kicawdoy0a7gq..._slide.ent

ok, these are the ent files
(This post was last modified: 03-14-2014, 02:02 AM by Vale.)
03-14-2014, 01:51 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#8
RE: Map Bug, help appreciated

Checking them now.
Give me a moment.
-
It works perfect for me..
BOTH of them.....
I think somethign else is crashing...
What you can do is this :
do you have CUSTOM stuff in your map?
if NOT, send it also to me and i will take a look.
Is that ok..
for NOW, the statue works and i can pick it up { no script yet that makes it untoutchable, so that is normal }
(This post was last modified: 03-14-2014, 02:10 AM by DnALANGE.)
03-14-2014, 02:06 AM
Find
Vale Offline
Member

Posts: 92
Threads: 13
Joined: Mar 2014
Reputation: 7
#9
RE: Map Bug, help appreciated

ok, can i send the entire folder so far?
03-14-2014, 02:18 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#10
RE: Map Bug, help appreciated

Do you have Skype?
THis is Always slow Wink
I like to help people personal, way faster..
Add me on redmaster12345
Thanks, i can share my screen and help you much quicker!
IF possible offcourse!
We also can swap files way faster and on a easyer way then we do it here.
(This post was last modified: 03-14-2014, 02:22 AM by DnALANGE.)
03-14-2014, 02:21 AM
Find




Users browsing this thread: 1 Guest(s)