Logowanie Google+ Logowanie Rejestracja

Poszukujemy moderatorów, nie czekaj, złóż podanie już teraz: KLIK

Sagewerk V1.0.1 fabrik
#1
Witam chciał bym dodać do mapy właśnie ten tartak : http://marhu.net/phpBB3/viewtopic.php?f=204&t=5236 zrobiłem wszystko tak jak było w instrukcji http://marhu.net/phpBB3/viewtopic.php?f=153&t=2211 lecz tartak nie działa :/ 

mod desc : 
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="32">
    <author>Kastor_Ger</author>
    <version>1.0.0.0</version>
    <title>
        <en>Sample Mod Map 1</en>
        <de>Beispiel Mod Map 1</de>
    </title>
    <description>
        <en>This is the sample mod map 1.</en>
        <de>Dies ist die Beispiel Mod Map 1.</de>
    </description>
    <iconFilename>icon.dds</iconFilename>
    <multiplayer supported="true"/>


 
 <l10n>
 <extraSourceFiles>
 <sourceFile filename="map/models/buildings/Saegewerk/FabrikScript.lua"/>
 </extraSourceFiles>
 
<text name="boardwood">
 <en>boards palette</en>
 <de>Bretter Palletten</de>
 </text>
<text name="Holz">
 <en>logs</en>
 <de>Holzstämme</de>
 </text>
<text name="Brennstoffe">
 <en>fuels</en>
 <de>Brennstoffe</de>
 </text>
<text name="leer">
 <en>empty</en>
 <de>leer</de>
 </text>
<text name="ERROR">
 <en>ERROR: </en>
 <de>ERROR: 2</de>
 </text>
<text name="Rohstoffe">
 <en>resources: </en>
 <de>Rohstoffe: </de>
 </text>
<text name="Produkte">
 <en>products: </en>
 <de>Produkte: </de>
 </text>
<text name="voll">
 <en>full</en>
 <de>voll</de>
 </text>
  </l10n>

    <maps>
        <map id="SampleModMap" className="Mission00" filename="$dataS/scripts/missions/mission00.lua" configFilename="maps/map01.xml" defaultVehiclesXMLFilename="defaultVehicles.xml">
            <title>
                <en>Sample Mod Map 1</en>
                <de>Beispiel Mod Map 1</de>
            </title>
            <description>
                <en>This is the sample mod map 1.</en>
                <de>Dies ist die Beispiel Mod Map 1.</de>
            </description>
            <iconFilename>icon.dds</iconFilename>
        </map>
    </maps>
</modDesc>
 
Taka tam sobie reklama.
#2
Jak byś zrobił wg instrukcji to by działało  ten wpis

<extraSourceFiles>
<sourceFile filename="map/models/buildings/Saegewerk/FabrikScript.lua"/>
</extraSourceFiles>

nie może być w   </l10n>  musi być poza ni to będzie działało czyli tak

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="32">
   <author>Kastor_Ger</author>
   <version>1.0.0.0</version>
   <title>
       <en>Sample Mod Map 1</en>
       <de>Beispiel Mod Map 1</de>
   </title>
   <description>
       <en>This is the sample mod map 1.</en>
       <de>Dies ist die Beispiel Mod Map 1.</de>
   </description>
   <iconFilename>icon.dds</iconFilename>
   <multiplayer supported="true"/>



<l10n>


<text name="boardwood">
<en>boards palette</en>
<de>Bretter Palletten</de>
</text>
<text name="Holz">
<en>logs</en>
<de>Holzstämme</de>
</text>
<text name="Brennstoffe">
<en>fuels</en>
<de>Brennstoffe</de>
</text>
<text name="leer">
<en>empty</en>
<de>leer</de>
</text>
<text name="ERROR">
<en>ERROR: </en>
<de>ERROR: 2</de>
</text>
<text name="Rohstoffe">
<en>resources: </en>
<de>Rohstoffe: </de>
</text>
<text name="Produkte">
<en>products: </en>
<de>Produkte: </de>
</text>
<text name="voll">
<en>full</en>
<de>voll</de>
</text>
 </l10n>


<extraSourceFiles>
<sourceFile filename="map/models/buildings/Saegewerk/FabrikScript.lua"/>
</extraSourceFiles>



   <maps>
       <map id="SampleModMap" className="Mission00" filename="$dataS/scripts/missions/mission00.lua" configFilename="maps/map01.xml" defaultVehiclesXMLFilename="defaultVehicles.xml">
           <title>
               <en>Sample Mod Map 1</en>
               <de>Beispiel Mod Map 1</de>
           </title>
           <description>
               <en>This is the sample mod map 1.</en>
               <de>Dies ist die Beispiel Mod Map 1.</de>
           </description>
           <iconFilename>icon.dds</iconFilename>
       </map>
   </maps>
</modDesc>
 
#3
poprawiłem Smile i dalej coś nie tak
http://pokazywarka.pl/gospodarstworolne3/

Nic się nie świeci po położeniu kawałka drewna nic się nie dzieje :/
 
#4
Sprawdź czy ta ścieżka jest poprawna map/models/buildings/Saegewerk/FabrikScript.lua

ewentualnie zrób folder scripts tu gdzie moddesc mapy wklej tam ten skrypt FabrikScript.lua oraz podaj ścieżkę w modescu taką
<sourceFile filename="scripts/FabrikScript.lua" />

i sprawdź czy działa
 
#5
Teraz działa :3 tylko ze desek nie produkuje Sad same wióry :/
 
#6
i do tego jak go uruchomię to fps lecą w dół do 5 /10 fps zmieniłem detale na niskie i dalej to samo podaje wam log

Error: Render device Error: Unknown.
Error: failed to load i3d file 'C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/maps/models/buildings/Saegewerk/Paletten/boardPallet.i3d'
Warning (Script): Unknown entity id 0 in method 'getChildAt'.
LUA call stack:
=dataS/scripts/objects/FillablePallet.lua (0) : getChildAt
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'link': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/FillablePallet.lua (0) : link
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (Script): Unknown entity id 0 in method 'delete'.
LUA call stack:
=dataS/scripts/objects/FillablePallet.lua (0) : delete
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'setRigidBodyType': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/PhysicsObject.lua (0) : setRigidBodyType
=dataS/scripts/objects/MountableObject.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'addToPhysics': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/PhysicsObject.lua (0) : addToPhysics
=dataS/scripts/objects/MountableObject.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'getTranslation': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/PhysicsObject.lua (0) : getTranslation
=dataS/scripts/objects/MountableObject.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'getRotation': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/PhysicsObject.lua (0) : getRotation
=dataS/scripts/objects/MountableObject.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Warning (LUA): 'getNumOfChildren': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/objects/PhysicsObject.lua (0) : getNumOfChildren
=dataS/scripts/objects/PhysicsObject.lua (0) : addChildsToNodeObject
=dataS/scripts/objects/MountableObject.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : setNodeId
=dataS/scripts/objects/FillablePallet.lua (0) : createNode
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load
=dataS/scripts/network/Server.lua (0) : updateTick
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update
Error: Running LUA method 'update'.
dataS/scripts/objects/PhysicsObject.lua:0: attempt to perform arithmetic on a nil value
Error: Render device Error: Unknown.
Error: Render device Error: Unknown.
Error: Render device Error: Unknown.
Error: Render device Error: Unknown.
 
Taka tam sobie reklama.
#7
Brak i3d od palet dlatego desek nie ma
Error: failed to load i3d file 'C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/maps/models/buildings/Saegewerk/Paletten/boardPallet.i3d'

Musisz przepatrzec co i jak z tym modem bo sie czepia tego
=C:/Users/Piotrek/Documents/My Games/FarmingSimulator2017/mods/MapaNowa/scripts/FabrikScript.lua (904) : load


co do palet to w temacie marhu mial poprawkę do tego modu tam poszukaj może i jest nowsza wersja całego tego tartaku bo z tego co wiem to skrypt fabrik to nowy niedawno wyszedl
 
  




Przegląda: 1 gości

Menu