The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help cs not working on other computer
darksky Offline
Member

Posts: 52
Threads: 8
Joined: Nov 2012
Reputation: 2
#1
cs not working on other computer

hi
i have finished my cs. and it is working fine on my computer.
now as a last test I installed amnesia + justine patch on an other computer.

but there a script is not working the same as on my computer

void boxblow(string &in asParent, string &in asChild, int alState){
    if (asChild == "script_box2"){
        SetEntityActive("wood_box02_2",true);
        AddPropImpulse("wood_box02_2", 0, -30, -30, "world");
        SetPlayerActive(false);
        AddPlayerBodyForce(0, 0, -45000, false);
        GivePlayerDamage(95, "BloodSplat", true, false);
        FadePlayerRollTo(-90, 70, 70);
        FadeOut(5);
        AddTimer("timer1",7,"changemap");
    }
}

void changemap(string &in asTimer){
    ChangePlayerStateToNormal();
    SetPlayerHealth(100);
    ChangeMap("Main1.map", "PlayerStartArea_1", "", "");
}
on my computer, the camera position is back to normal after map change.
on other computer , it's still -90°

other big problem: map changes through doors are not working.
on my computer I installed amnesia on drive E:, on other computer on drive C:
additional info: I changed the folder name of my story from "Die Fabrik" to "Ein toller Abend" on my computer before copying the cs.

i don't know why, but on other computer amnesia looks for the corresponding map .hps file in a corrupted file path which causes a game crash. the script itself is working fine on my computer.

http://i.imagebanana.com/img/rb96gj5k/error.jpg

(the door properties are correct though
<Entity Active="true" FileIndex="5" Group="0" ID="170" Name="prisondoor_4" Rotation="0 4.71239 0" Scale="1 1.25 1" Tag="" WorldPos="13 1 17">
                    <UserVariables>
                        <Var Name="CastShadows" Value="true" />
                        <Var Name="StaticPhysics" Value="false" />
                        <Var Name="IsAffectedByDecal" Value="false" />
                        <Var Name="CallbackFunc" Value="" />
                        <Var Name="ConnectedProps" Value="" />
                        <Var Name="ConnectionStateChangeCallback" Value="" />
                        <Var Name="FullGameSave" Value="false" />
                        <Var Name="PlayerLookAtCallback" Value="" />
                        <Var Name="PlayerLookAtCallbackAutoRemove" Value="false" />
                        <Var Name="PlayerInteractCallback" Value="" />
                        <Var Name="PlayerInteractCallbackAutoRemove" Value="false" />
                        <Var Name="TextEntry" Value="hub" />
                        <Var Name="StartPos" Value="StartArea_Main2" />
                        <Var Name="MapFile" Value="E:/Programme/Amnesia - The Dark Descent/redist/custom_stories/Ein toller Abend/maps/Hub.map" />
                        <Var Name="Locked" Value="true" />
                        <Var Name="LockedSound" Value="E:/Programme/Amnesia - The Dark Descent/redist/sounds/door/locked_door.snt" />
                        <Var Name="LockedTextCat" Value="" />
                        <Var Name="LockedTextEntry" Value="" />
                        <Var Name="ShowStats" Value="true" />
                    </UserVariables>
                </Entity>

because of the crash i cannot tell if the other doors are working fine or have the same problem.

HELP.
02-25-2013, 02:33 PM
Find


Messages In This Thread
cs not working on other computer - by darksky - 02-25-2013, 02:33 PM
RE: cs not working on other computer - by darksky - 02-25-2013, 02:53 PM
RE: cs not working on other computer - by darksky - 02-25-2013, 04:21 PM



Users browsing this thread: 1 Guest(s)