InputBindings werden nicht übernommen

Eure Foren für alle Diskussionen rund ums Thema Modding.
Icedragon14
Posts: 10
Joined: Sun Nov 06, 2016 9:52 pm

InputBindings werden nicht übernommen

Post by Icedragon14 »

Hallo Community,

ich bin gerade dabei ein Mod für meine Private zwecke etwas umzubauen.

Dabei habe ich aber ein Problem, ich habe mit InputBindings erstellt die gewisse Aktionen auslösen sollen.
Diese werden mir aber nicht im Spiel angezeigt.

Auch wenn ich die Tasten drücke werden die Aktionen nicht ausgelöst.



moddesc.xml

Code: Select all

...
<l10n>
       <text name="Heckwarner">		<en>Back Hazard Lights</en>				<de>Heckwarner</de>														</text>
       <text name="input_Heckwarner">	<en>Back Hazard Lights</en>				<de>Heckwarner</de>															</text>
		<!-- Electro Horn -->
		<text name="E-Horn">			<en>Electrical Siren</en>				<de>Electro Horn</de> 														</text>
		<text name="E-Horn Ein">		<en>Electrical Siren On</en>			<de>Electro Horn Ein</de> 													</text>
		<text name="E-Horn Aus">		<en>Electrical Siren Off</en>			<de>Electro Horn Aus</de> 													</text>
        <text name="input_E-Horn">		<en>Electrical Siren</en>				<de>Electro Horn</de> 														</text>
		<!-- Pressluft Horn -->
		<text name="P-Horn">			<en>Aircompression Siren</en>			<de>Pressluft Horn</de> 													</text>
		<text name="P-Horn Ein">		<en>Aircompression Siren ON</en>		<de>Pressluft Horn Ein</de> 												</text>
		<text name="P-Horn Aus">		<en>Aircompression Siren Off</en>		<de>Pressluft Horn Aus</de> 												</text>
        <text name="input_P-Horn">		<en>Aircompression Siren</en>			<de>Pressluft Horn</de> 													</text>
		
		

	</l10n>
	
...
	<inputBindings>
		<input name="Heckwarner" 	category="VEHICLE" 	key1="KEY_KP_8"																				/>
		<input name="E-Horn" 							key1="KEY_KP_7" 					button=""												/>
		<input name="P-Horn"						 	key1="KEY_KP_9" 					button=""												/>

	</inputBindings>
	
...
  
<specializations>
		<specialization name="LAFix" 			className="LAFix" 			filename="scripts/LAFix.lua"											/>
		<specialization name="i3danim" 			className="controlI3DAnim" 	filename="scripts/controlI3DAnim.lua"									/>
	
	</specializations>	
...


fahrzeug.xml

Code: Select all

<LightAddon drlAllwaysOn="false">
        <strobe decoration="0>2|7|2|0|1|0" realLight="0>2|7|2|0|1|1" sequence="120 40 120 150 120 40 120 300" isBeacon="true" />
        <strobe decoration="0>2|7|3|0|1|0" realLight="0>2|7|3|0|1|1" sequence="120 40 120 150 120 40 120 250" isBeacon="true" />
	<strobe decoration="0>2|7|4" sequence="150 100 150" isBeacon="true" />
	<strobe decoration="0>2|7|7|0|0|0" realLight="0>2|7|7|0|1|0" isBeacon="false" name="Heckwarner" sequence="150 100 150" 	invert="true" />
        <strobe decoration="0>2|7|7|1|0|0" realLight="0>2|7|7|1|1|0" isBeacon="false" name="Heckwarner" sequence="150 100 150" 	invert="true" />
	<strobe decoration="0>2|7|7|2|0|0" realLight="0>2|7|7|2|1|0" isBeacon="false" name="Heckwarner" sequence="150 100 150" 	invert="true" />
        <strobe decoration="0>2|7|7|3|0|0" realLight="0>2|7|7|3|1|0" isBeacon="false" name="Heckwarner" sequence="150 100 150" 	invert="true" />
</LightAddon>
....

<i3dAnims>
 		
<!-- Hörner -->
<anim rootnode="0>2|7|8|0" clipname="E-Horn" name="E-Horn" inputBinding="E-Horn" helptext="E-Horn" helpTextOn="E-Horn Ein" helpTextOff="E-Horn Aus" speed="1" inside="true" outside="false" maxDist="0.8"/>
		<anim rootnode="0>2|7|8|1" clipname="P-Horn" name="P-Horn"inputBinding="P-Horn" helptext="P-Horn" helpTextOn="P-Horn Ein" helpTextOff="P-Horn Aus" speed="1" inside="true" outside="false" maxDist="0.8"/>
</i3dAnims>


log.txt

Code: Select all

GIANTS Engine Runtime 7.0.0 (13628) 64bit (Build Date: Oct 27 2016)
Copyright (c) 2008-2016, GIANTS Software GmbH (giants-software.com), All Rights Reserved.
Copyright (c) 2003-2016, Christian Ammann and Stefan Geiger, All Rights Reserved.
Application: FarmingSimulator2017
Main System
  CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
  Memory: 16261 MB
  OS: Windows NT 6.1 64-bit
Physics System
  Version: 5.9.5
  Thread(s): 2
Input System
  Keyboard enabled
  Mouse enabled
  Gamepad/Joystick enabled
  Force Feedback disabled
  Name: Logitech G27 Racing Wheel USB
Audio System
  Driver: OpenAL
  Version: 1.1
  Device: Generic Software
Render System
  Driver: Direct 3D 11
  Card Vendor: NVIDIA Corporation
  Renderer: NVIDIA GeForce GTX 760
  Revision: 161
  Feature level: DirectX 11 ON
Info: Effective window resolution 1920 x 1080
Started 4 threads for threadpool 'Render threadpool'
Hardware Profile
  Level: Custom Very High
  View Distance Factor: 1.100000
  Shadow Quality: 2.000000 Size: 4096 Filter-Size: 16
  Shader Quality: 3
  Skip Mipmaps: 0
  LOD Distance Factor: 1.100000
  Terrain LOD Distance Factor: 1.500000
  Terrain Normal Mapping: Yes
  Foliage View Distance Factor: 1.600000
  Foliage Density: 0.500000
  Volume Mesh Tessellation Factor: 1.100000
  Tyre Tracks Segments Factor: 4.000000
  Max. Number of Shadow Lights: 10
  Max. Number of Lights: 512
  Max. Number of Lights Per Cluster: 32
  MSAA: 4
Farming Simulator 17
  Version: 1.2.1.1 1.2.1RC3
  Available Languages: en de jp pl cz fr es ru it pt hu nl cs ct br tr ro kr
  Language: de
  Time: 2016-11-06 21:43:55
  Register configuration 'inputAttacherJoint'
  Register configuration 'attacherJoint'
  Register configuration 'frontloader'
  Register configuration 'motor'
  Register configuration 'baseColor'
  Register configuration 'wheel'
  Register configuration 'rimColor'
  Register configuration 'design'
  Register configuration 'designColor'
  Register configuration 'vehicleType'
Game vehicle types loaded
Load mod: FS17_challengerMT700EFieldViper
Load mod: FS17_valtraTSeriesCowEdition
Load mod: FS17_Fliegl_Animal_Transport_Pack
Load mod: FS17_forestry_objects
Load mod: FS17_ForRealModule01_CropDestruction
Load mod: FS17_ForRealModule02_TireDirt
Load mod: FS17_ForRealModule03_GroundResponse
Load mod: FS17_Garant_TSA_30000
Load mod: FS17_Krampe_Bandit_SB_30_60
Load mod: FS17_LightAddon
Load mod: FS17_MAN_TGS_18440_STipper
Load mod: FS17_MoneyTool
Load mod: FS17_placeableRefillStation
Load mod: FS17_RealisticBeaconLights
Load mod: FS17_WoodChipStorage
Load mod: holmerTerraFelis2
Load mod: HoT_Regal
Load mod: HoT_Schneidwerkstool
Load mod: MAN_FW
Load mod: NLD_Goldhofer_ByableColor_FW
Load mod: TatraPhoenixRuestwagen
 controlI3DAnim  v1.22 
 @author  Sven777b 
 Anpassung auf Farming-Simulator17 by www.fire-technology.de 
  Register vehicle type: MAN_FW.MANFeuerwehr
dataS/cameraPath01.i3d (0.09) ms
dataS/cameraPath02.i3d (0.07) ms
dataS/cameraPath03.i3d (0.08) ms
data/sky/skyUS_day_night.i3d (8.42) ms
data/sky/rain.i3d (1.07) ms
data/sky/hail.i3d (0.76) ms
data/sky/dust.i3d (0.52) ms
data/maps/map01.i3d (1476.28) ms
data/objects/basketball/basketball.i3d (1.38) ms
Disabled withering
data/vehicles/steerable/fendt/fendt900.i3d (63.23) ms
data/vehicles/steerable/valtra/valtraSSeries.i3d (49.66) ms
data/vehicles/steerable/ponsse/ponsseScorpion.i3d (59.39) ms
data/vehicles/steerable/ponsse/ponsseBuffalo.i3d (51.27) ms
data/vehicles/trailers/jenz/jenzBA725.i3d (24.93) ms
data/vehicles/trailers/krampe/krampeSB3060.i3d (20.25) ms
data/vehicles/steerable/jcb/jcb435s.i3d (31.08) ms
data/vehicles/tools/magsi/wheelLoaderShovel.i3d (5.79) ms
data/vehicles/tools/magsi/wheelLoaderLogFork.i3d (1.31) ms
data/vehicles/steerable/lizard/lizardPickupRodeo.i3d (31.11) ms
data/vehicles/tools/grimme/grimmeSL8022.i3d (19.96) ms
data/vehicles/tools/lizard/lizardBeltSystem.i3d (5.09) ms
data/vehicles/steerable/man/manTGS18480.i3d (54.97) ms
data/vehicles/trailers/goldhofer/goldhoferStzVp3Back.i3d (20.67) ms
data/vehicles/trailers/goldhofer/goldhoferStzVp3Front.i3d (1.88) ms
data/vehicles/steerable/newHolland/newHollandCR1090.i3d (50.76) ms
data/vehicles/tools/salford/salford8312.i3d (26.70) ms
data/vehicles/tools/koeckerling/koeckerlingAllrounder.i3d (31.26) ms
data/vehicles/tools/amazone/amazoneCondor15001.i3d (36.03) ms
data/vehicles/steerable/newHolland/SP400F.i3d (55.70) ms
data/vehicles/tools/einboeck/einboeckRotation1200.i3d (31.82) ms
data/vehicles/trailers/kroeger/kroegerHKD302.i3d (25.37) ms
D:/Steam/steamapps/common/Farming Simulator 17/pdlc/FS17_challengerMT700EFieldViper/challengerMT700EFieldViper.i3d (314.41) ms
data/vehicles/tools/stoll/stollFrontLoaderFZ60.i3d (8.57) ms
D:/Steam/steamapps/common/Farming Simulator 17/pdlc/FS17_valtraTSeriesCowEdition/valtraTSeriesCowEdition.i3d (437.12) ms
data/vehicles/tools/stoll/stollToolPalletFork.i3d (13.90) ms
data/vehicles/tools/stoll/stollToolShovel.i3d (1.08) ms
data/vehicles/trailers/fliegl/flieglDPW180.i3d (13.20) ms
data/vehicles/tools/agco/agco1100.i3d (5.05) ms
data/vehicles/steerable/fendt/fendt700.i3d (77.67) ms
data/vehicles/cutters/caseIH/caseIH3162Cutter.i3d (19.05) ms
data/vehicles/tools/lizard/lizardR5000.i3d (3.35) ms
data/vehicles/trailers/michieletto/michielettoTrailer.i3d (26.20) ms
data/vehicles/tools/holaras/holarasMES500.i3d (11.67) ms
data/vehicles/steerable/lizard/lizardPickupTT.i3d (28.65) ms
data/vehicles/trailers/fliegl/flieglTimberRunner.i3d (21.68) ms
data/vehicles/cutters/capello/capelloHelianthus12000.i3d (17.47) ms
data/vehicles/trailers/thueringerAgrar/thueringerAgrarLeguan40.i3d (5.03) ms
D:/Mods/MAN_FW/manTGS18480.i3d (377.55) ms
data/placeables/shelters/vehicleShelter.i3d (1.53) ms
D:/Mods/FS17_forestry_objects/bauzaun/bauzaun.i3d (11.28) ms
data/objects/pallets/fertilizerTank.i3d (2.79) ms
data/placeables/solarCollector/solarCollector.i3d (10.62) ms
data/placeables/shelters/storageShelter01.i3d (6.13) ms
D:/Mods/FS17_forestry_objects/ramp/ramp.i3d (16.61) ms
data/objects/bigBagContainer/bigBagContainerSeeds.i3d (4.82) ms
D:/Mods/FS17_forestry_objects/warnschild/warnschild1.i3d (9.22) ms
D:/Mods/FS17_forestry_objects/schranke/schranke_redone.i3d (9.12) ms
D:/Mods/FS17_forestry_objects/absperrband/band.i3d (27.76) ms
data/placeables/windTurbine/windTurbine.i3d (21.50) ms
data/placeables/waterTower/waterTower.i3d (2.84) ms
data/placeables/highPressureWasher/kaercher/kaercherHDS918-4M.i3d (13.93) ms
data/objects/bigBagContainer/bigBagContainerFertilizer.i3d (2.04) ms
data/placeables/shelters/storageShelter02.i3d (2.29) ms
D:/Mods/FS17_forestry_objects/warnschild/warnschild2.i3d (9.23) ms
data/placeables/workshop/workshop.i3d (5.60) ms
data/vehicles/train/locomotive.i3d (22.08) ms
data/vehicles/train/wagonTimber.i3d (13.64) ms
data/vehicles/train/wagonWoodChips.i3d (12.00) ms
data/vehicles/train/wagonGrain.i3d (11.97) ms
data/vehicles/train/wagonSugarbeets.i3d (11.29) ms
dataS2/character/player/player01.i3d (251.93) ms
data/firstPerson/chainsaws/stihl/stihlMS261.i3d (16.01) ms
Warning: Handtool 'data/firstPerson/chainsaws/stihl/stihlMS261.xml' could not be loaded!
Physics System
  Version: 5.9.5
  Thread(s): 2
Input System
  Keyboard enabled
  Mouse enabled
  Gamepad/Joystick enabled
  Force Feedback disabled
  Name: Logitech G27 Racing Wheel USB
Audio System
  Driver: OpenAL
  Version: 1.1
  Device: Generic Software
Render System
  Driver: Direct 3D 11
  Card Vendor: NVIDIA Corporation
  Renderer: NVIDIA GeForce GTX 760
  Revision: 161
  Feature level: DirectX 11 ON
Info: Effective window resolution 1920 x 1080
Started 4 threads for threadpool 'Render threadpool'
Hardware Profile
  Level: Custom Very High
  View Distance Factor: 1.100000
  Shadow Quality: 2.000000 Size: 4096 Filter-Size: 16
  Shader Quality: 3
  Skip Mipmaps: 0
  LOD Distance Factor: 1.100000
  Terrain LOD Distance Factor: 1.500000
  Terrain Normal Mapping: Yes
  Foliage View Distance Factor: 1.600000
  Foliage Density: 0.500000
  Volume Mesh Tessellation Factor: 1.100000
  Tyre Tracks Segments Factor: 4.000000
  Max. Number of Shadow Lights: 10
  Max. Number of Lights: 512
  Max. Number of Lights Per Cluster: 32
  MSAA: 4
Farming Simulator 17
  Version: 1.2.1.1 1.2.1RC3
  Available Languages: en de jp pl cz fr es ru it pt hu nl cs ct br tr ro kr
  Language: de
  Time: 2016-11-06 21:45:08
  Register configuration 'inputAttacherJoint'
  Register configuration 'attacherJoint'
  Register configuration 'frontloader'
  Register configuration 'motor'
  Register configuration 'baseColor'
  Register configuration 'wheel'
  Register configuration 'rimColor'
  Register configuration 'design'
  Register configuration 'designColor'
  Register configuration 'vehicleType'
Game vehicle types loaded
Load mod: FS17_challengerMT700EFieldViper
Load mod: FS17_valtraTSeriesCowEdition
Load mod: FS17_Fliegl_Animal_Transport_Pack
Load mod: FS17_forestry_objects
Load mod: FS17_ForRealModule01_CropDestruction
Load mod: FS17_ForRealModule02_TireDirt
Load mod: FS17_ForRealModule03_GroundResponse
Load mod: FS17_Garant_TSA_30000
Load mod: FS17_Krampe_Bandit_SB_30_60
Load mod: FS17_LightAddon
Load mod: FS17_MAN_TGS_18440_STipper
Load mod: FS17_MoneyTool
Load mod: FS17_placeableRefillStation
Load mod: FS17_RealisticBeaconLights
Load mod: FS17_WoodChipStorage
Load mod: holmerTerraFelis2
Load mod: HoT_Regal
Load mod: HoT_Schneidwerkstool
Load mod: MAN_FW
Load mod: NLD_Goldhofer_ByableColor_FW
Load mod: TatraPhoenixRuestwagen


Entweder bin ich blind und finde den Fehler nicht oder hab ich was vergessen?

Ich bedanke mich für eure Hilfe

Ice
DerMatze
Posts: 248
Joined: Wed Aug 07, 2013 5:03 pm

Re: InputBindings werden nicht übernommen

Post by DerMatze »

Ich vermute du hast den Mod bereits mal gespielt und danach die Inputbindings geändert/angelegt.

Ich weiß nicht genau, wie es beim LS17 ist, aber früher war das immer ein Problem, weil die Inputbindings in der Tastenbelegung abgespeichert werden. Nachträgliche Änderungen wurden nicht übernommen. Ich weiß jedoch nicht wie sich die Sache verhält, wenn man Inputbindings, wie in deinem Fall, neu hinzufügt. Kann es damit zu tun haben?
Icedragon14
Posts: 10
Joined: Sun Nov 06, 2016 9:52 pm

Re: InputBindings werden nicht übernommen

Post by Icedragon14 »

könnte natürlich sein.

Ich probiere das mal mit einem Neuen Spielstand sowie die InputBindings.xml löschen.

Melde mich wenn ich was neues weiß

EDIT: Nope, nichts hat geholfen. Die Sounds sind dauerhaft an, und die Lampen dauerhaft aus. Weder in den Optionen noch ingame werden die Sachen angezeigt. Habe auch mal die namen abgeändert. hat leider auch nicht funktioniert
User avatar
böserlöwe
GIANTS Software | Support Engineer
Posts: 10816
Joined: Thu Oct 01, 2009 10:09 pm
Location: Kreis Schaumburg
Contact:

Re: InputBindings werden nicht übernommen

Post by böserlöwe »

Ich habe nur was an den Namen auszusetzten die in den Sound verwendet werden.
P-Horn ist mit einem Bindestrich, dieser ist dann in allen Scriptaufrufen vertreten.
Ein bindestrich ist aber kein gültiges Zeichen das der LS so akzeptieren würde.
Also mein vorschlag ist den Bindestrich aus den gesamten Scripten, XML Moddesc zu verbannen und gegen einen Unterstrich ersetzten oder eben auch gleich rauslassen, dann wird daraus eben ein pHorn.

Ob das allerdings ausreicht, ist nicht so sicher, weil die moddesc und xml nicht vollständig gezeigt wird, so das man die anderen bereiche nicht gegenkontrollieren kann.
Icedragon14
Posts: 10
Joined: Sun Nov 06, 2016 9:52 pm

Re: InputBindings werden nicht übernommen

Post by Icedragon14 »

daran habe ich auch schon gedacht, habe diese schon entfernt. Gleiches Bild.

Ich packe mal die ganze Moddesc sowie fahrzeugxml rein.

Komisch ist, dass jetzt meine InputBindings in den Optionen angezeigt werden, aber nicht ingame.

Code: Select all

Moddesc.xml:


<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="32">
    <author>Draiman EDIT by Dominik Lehnen</author>
    <version>1.1</version>
    <title>
        <en>Man Tgs 18.4 series FW</en>
        <de>Man Tgs 18.4 serie FW</de>
    </title>
    <description>
        <en><![CDATA[Man Tgs 18.400 with more options]]></en>
        <de><![CDATA[Man Tgs 18.400 mit mehr Optionen]]></de>
    </description>
	
	
    <iconFilename>store_manTGS18480.png</iconFilename>
    <multiplayer supported="true" />
	<specializations>
		<specialization name="LAFix" 			className="LAFix" 			filename="scripts/LAFix.lua"											/>
		<specialization name="i3danim" 			className="controlI3DAnim" 	filename="scripts/controlI3DAnim.lua"									/>
	</specializations>	
	 <l10n>
        <text name="Heckwarn">			<en>Back Hazard Lights</en>				<de>Heckwarner MAN</de>															</text>
        <text name="input_Heckwarn">	<en>Back Hazard Lights</en>				<de>Heckwarner MAN</de>															</text>
		<!-- Electro Horn -->
		<text name="EHorn">				<en>Electrical Siren</en>				<de>Electro Horn MAN</de> 														</text>
		<text name="EHorn Ein">			<en>Electrical Siren On</en>			<de>Electro Horn Ein MAN</de> 													</text>
		<text name="EHorn Aus">			<en>Electrical Siren Off</en>			<de>Electro Horn Aus MAN</de> 													</text>
        <text name="input_EHorn">		<en>Electrical Siren</en>				<de>Electro Horn MAN</de> 														</text>
		<!-- Pressluft Horn -->
		<text name="PHorn">				<en>Aircompression Siren</en>			<de>Pressluft Horn MAN</de> 													</text>
		<text name="PHorn Ein">			<en>Aircompression Siren ON</en>		<de>Pressluft Horn Ein MAN</de> 												</text>
		<text name="PHorn Aus">			<en>Aircompression Siren Off</en>		<de>Pressluft Horn Aus MAN</de> 												</text>
        <text name="input_PHorn">		<en>Aircompression Siren</en>			<de>Pressluft Horn MAN</de> 													</text>
	</l10n>
	<inputBindings>
		<input name="Heckwarn" 	category="VEHICLE" 	key1="KEY_l" />
		<input name="EHorn" 	category="VEHICLE"	key1="KEY_h" />
		<input name="PHorn"		category="VEHICLE"	key1="KEY_j" />

	</inputBindings>
    <storeItems>
        <storeItem rootNode="vehicle" xmlFilename="manTGS18480.xml"/>
    </storeItems>

	
</modDesc>




Code: Select all

fahrzeug.xml:


<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            <en>TGS 18.4 series FW</en>
        </name>
        <specs>
            <power>400</power>
            <maxSpeed>160</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>store_manTGS18480.png</image>
        <price>145000</price>
        <dailyUpkeep>460</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MAN</brand>
        <category>trucks</category>
        <vertexBufferMemoryUsage>2172148</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>385668</indexBufferMemoryUsage>
        <textureMemoryUsage>35651920</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <typeDesc>$l10n_typeDesc_truck</typeDesc>
    <filename>manTGS18480.i3d</filename>
    <size width="3" length="7"/>
    <wheelConfigurations>
        <wheelConfiguration name="Standard" price="0">
            <wheels autoRotateBackSpeed="1.7">
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|0|0" driveNode="0>0|0|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="manFront" isLeft="true" initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true"/>
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|1|0" driveNode="0>0|1|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="manFront" isLeft="false" initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true"/>
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|2" forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_600_50R22_5.xml" configIndex="manBack" isLeft="true" initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true"/>
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|3" forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_600_50R22_5.xml" configIndex="manBack" isLeft="false" initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true"/>
			</wheels>
		</wheelConfiguration>
        <wheelConfiguration name="Straße" price="600" icon="$dataS2/menu/hud/configurations/config_wheel_broad.png" >
            <wheels autoRotateBackSpeed="1.7">
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|0|0" driveNode="0>0|0|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" configIndex="truckFront" isLeft="true"  initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|1|0" driveNode="0>0|1|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" configIndex="truckFront" isLeft="false" initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|2" forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" configIndex="truckBack"  isLeft="true" initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true" >
				<additionalWheel filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" isLeft="true" offset="0.38" configIndex="truckBack" addRaycast="true" hasTireTracks="true" />
                </wheel>
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|3" forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" configIndex="truckBack"  isLeft="false" initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true" >
	            <additionalWheel filename="$data/vehicles/wheels/lizard/315_80R22_5.xml" isLeft="false" offset="0.38" configIndex="truckBack" addRaycast="true" hasTireTracks="true" />
				</wheel>
            </wheels>
			<objectChange node="0>0|2" translationActive="0.7 0.525 -2.192" />
            <objectChange node="0>0|3" translationActive="-0.7 0.525 -2.192" />
        </wheelConfiguration>
    </wheelConfigurations>
	<dynamicallyLoadedWheels>
        <dynamicallyLoadedWheel linkNode="0>0|4" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="noHub" isLeft="true"/>
    </dynamicallyLoadedWheels>
    <rimColorConfigurations useDefaultColors="true" defaultColorIndex="8" price="200" icon="$dataS2/menu/hud/configurations/config_rimColor.png">
        <rimColorConfiguration color="0.294 0.294 0.294 1"/>
        <colorNode node="0>0"/>
    </rimColorConfigurations>
    <axisColor>0.0161 0.0134 0.0120 1</axisColor>
    <ackermannSteering rotSpeed="55" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.35" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.55" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.35" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
    <motorConfigurations>
        <motorConfiguration name="18.400" hp="400" price="0">
            <motor torqueScale="1.233" minRpm="1000" maxRpm="2200" maxForwardSpeed="168" maxBackwardSpeed="20" brakeForce="9" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="8.4" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
                <torque normRpm="0.45" torque="0.5"/>
                <torque normRpm="0.5" torque="0.6"/>
                <torque normRpm="0.59" torque="0.7"/>
                <torque normRpm="0.72" torque="1"/>
                <torque normRpm="0.86" torque="0.88"/>
                <torque normRpm="1" torque="0.7"/>
            </motor>
        </motorConfiguration>
        <motorConfiguration name="18.440" hp="440" price="10000" dailyUpkeep="40" icon="$dataS2/menu/hud/configurations/config_engine.png">
            <motor torqueScale="1.633" />
            <objectChange node="0>14|1" visibilityActive="true"/>
            <objectChange node="0>14|0" visibilityActive="false"/>
		    <objectChange node="0>14|2" visibilityActive="false"/>
        </motorConfiguration>
        <motorConfiguration name="18.480" hp="480" price="20000" dailyUpkeep="60" icon="$dataS2/menu/hud/configurations/config_engine.png">
            <motor torqueScale="2.033" />
            <objectChange node="0>14|2" visibilityActive="true"/>
            <objectChange node="0>14|0" visibilityActive="false"/>
            <objectChange node="0>14|1" visibilityActive="false"/>
        </motorConfiguration>
		<motorConfiguration name="18.1200" hp="1200" price="20000" dailyUpkeep="60" icon="$dataS2/menu/hud/configurations/config_engine.png">
            <motor torqueScale="3500" />
            <objectChange node="0>14|2" visibilityActive="true"/>
            <objectChange node="0>14|0" visibilityActive="false"/>
            <objectChange node="0>14|1" visibilityActive="false"/>
        </motorConfiguration>
    </motorConfigurations>
    <fuelCapacity>400</fuelCapacity>
    <cameras count="3">
        <camera1 index="0>1|0|0" rotatable="true" rotateNode="0>1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="35">
            <raycastNode index="0>1|2"/>
            <raycastNode index="0>1|3"/>
            <raycastNode index="0>1|4"/>
        </camera1>
        <camera2 index="0>1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
		<camera3 index="0>1|5" rotatable="false" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
		
    </cameras>
    <lights>
        <low>
            <light decoration="0>2|0|0" lightTypes="0 3"/>
            <light realLight="0>2|0|1" lightTypes="0" excludedLightTypes="3"/>
            <!--FrontLights-->
            <light decoration="0>2|2|0" lightTypes="0 1"/>
            <!--BackLights-->
            <light realLight="0>2|1|0|1" decoration="0>2|1|0|0" lightTypes="1"/>
            <!--WorklightBack-->
            <light decoration="0>2|1|1|0" lightTypes="2"/>
            <!--WorklightFront-->
            <light realLight="0>2|0|2" lightTypes="3"/>
            <!--HighBeam -->
        </low>
        <high>
            <light decoration="0>2|0|0" lightTypes="0 3"/>
            <light realLight="0>2|0|3" lightTypes="0" excludedLightTypes="2 3"/>
            <!--FrontLights-->
            <light realLight="0>2|2|1" decoration="0>2|2|0" lightTypes="0 3"/>
            <!--BackLights-->
            <light realLight="0>2|1|0|2" decoration="0>2|1|0|0" lightTypes="1"/>
            <!--WorklightBack  -->
            <light realLight="0>2|1|1|1" decoration="0>2|1|1|0" lightTypes="2"/>
            <!--WorklightFront -->
            <light realLight="0>2|0|4" lightTypes="3" excludedLightTypes="2"/>
            <!--HighBeam-->
        </high>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
    </lights>
    <brakeLights>
        <brakeLight realLight="0>2|2|1" decoration="0>2|4|0"/>
    </brakeLights>
    <!--<beaconLights>
        <beaconLight index="0>2|5|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
        <beaconLight index="0>2|5|1" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
    </beaconLights-->
	<LightAddon drlAllwaysOn="false">
        <strobe decoration="0>2|7|2|0|1|0" realLight="0>2|7|2|0|1|1" sequence="120 40 120 150 120 40 120 300" isBeacon="true" />
        <strobe decoration="0>2|7|3|0|1|0" realLight="0>2|7|3|0|1|1" sequence="120 40 120 150 120 40 120 250" isBeacon="true" />
		<strobe decoration="0>2|7|4" sequence="150 100 150" isBeacon="true" name="Blaulicht" />
		<strobe decoration="0>2|7|7|0|0|0" realLight="0>2|7|7|0|1|0" isBeacon="false" name="Heckwarn" sequence="150 100 150" 	invert="true" />
        <strobe decoration="0>2|7|7|1|0|0" realLight="0>2|7|7|1|1|0" isBeacon="false" name="Heckwarn" sequence="150 100 150" 	invert="true" />
		<strobe decoration="0>2|7|7|2|0|0" realLight="0>2|7|7|2|1|0" isBeacon="false" name="Heckwarn" sequence="150 100 150" 	invert="true" />
        <strobe decoration="0>2|7|7|3|0|0" realLight="0>2|7|7|3|1|0" isBeacon="false" name="Heckwarn" sequence="150 100 150" 	invert="true" />
	</LightAddon>
    <turnLights>
        <turnLightLeft realLight="0>2|3|0|1" decoration="0>2|3|0|0"/>
        <turnLightLeft realLight="0>2|3|0|2"/>
        <turnLightRight realLight="0>2|3|1|1" decoration="0>2|3|1|0"/>
        <turnLightRight realLight="0>2|3|1|2"/>
    </turnLights>
    <reverseLights>
        <reverseLight realLight="0>2|6|1" decoration="0>2|6|0"/>
    </reverseLights>
    <mirrors>
        <mirror index="0>10|0" prio="1"/>
        <mirror index="0>10|1" prio="1"/>
        <mirror index="0>10|2" prio="3"/>
        <mirror index="0>10|3" prio="2"/>
    </mirrors>
    <indoorHud>
        <speed animName="speedDisplay" minValueAnim="0" maxValueAnim="170"/>
        <rpm animName="rpmDisplay" minValueAnim="0" maxValueAnim="3500"/>
        <fuel animName="fuelDisplay"/>
    </indoorHud>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>3"/>
    <attacherJoints>
        <attacherJoint index="0>5|0" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="12 175 12" enableCollision="true">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>5|2" jointType="trailer" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
    </attacherJoints>
    <attacherJointConfigurations>
        <attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0">
            <objectChange node="0>5|1" visibilityActive="false"/>
        </attacherJointConfiguration>
        <attacherJointConfiguration name="$l10n_configuration_trailerAttacherBack" price="700">
            <attacherJoint index="0>5|1|0|0" jointType="trailer" transNode="0>5|1|0" transNodeMinY="0.323" transNodeMaxY="0.95" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false">
                <schema position="1 0" rotation="0" invertX="false"/>
                <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
            </attacherJoint>
            <attacherJoint index="0>5|1|0|0" jointType="trailerLow" transNode="0>5|1|0" transNodeMinY="0.323" transNodeMaxY="0.95" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false">
                <schema position="1 0" rotation="0" invertX="false"/>
                <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
            </attacherJoint>
            <objectChange node="0>5|1" visibilityActive="true"/>
        </attacherJointConfiguration>
    </attacherJointConfigurations>
	<i3dAnims>
	 		
		<!-- Hörner -->
        <anim rootnode="2|7|8|0" clipname="EHorn" name="EHorn" inputBinding="EHorn" helptext="EHorn" helpTextOn="EHorn Ein" helpTextOff="EHorn Aus" speed="1" inside="true" outside="false" maxDist="0.8"/>
		<anim rootnode="2|7|8|1" clipname="PHorn" name="PHorn" inputBinding="PHorn" helptext="PHorn" helpTextOn="PHorn Ein" helpTextOff="PHorn Aus" speed="1" inside="true" outside="false" maxDist="0.8"/>
    </i3dAnims>
    <movingParts>
        <!-- steering -->
        <movingPart index="0>0|1|0|1" referencePoint="0>0|0|0|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true"/>
    </movingParts>
	<!-- Animations -->
	 
    <animations>
        <animation name="speedDisplay">
            <part node="0>9|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-200 0 0"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="0>9|1" startTime="0" endTime="1" startRot="0 0 0" endRot="-218 0 0"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>9|2" startTime="0" endTime="1" startRot="0 0 0" endRot="-60 0 0"/>
        </animation>
    </animations>
    <steering index="0>4|0" indoorRotation="360" outdoorRotation="37"/>
    <characterNode index="0>6|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100">
        <target ikChain="rightFoot" targetNode="0>6|1"/>
        <target ikChain="leftFoot" targetNode="0>6|2"/>
        <target ikChain="rightArm" targetNode="0>4|0|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>4|0|1" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>7|0"/>
    </ai>
    <exhaustEffects>
        <exhaustEffect index="0>8" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="40 0" xzRotationsForward="-20 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -100" xzRotationsRight="0 100"/>
    </exhaustEffects>
    <motorStartDuration>2500</motorStartDuration>
    <motorStartSound file="$data/vehicles/steerable/man/manTGS18480_start.wav" pitchOffset="1.00" volume="1.10" indoorVolumeFactor="0.56" indoorLowpassGain="0.95"/>
    <motorSound file="$data/vehicles/steerable/man/manTGS18480_idle.wav" pitchOffset="1.00" volume="1.10" indoorVolumeFactor="0.56" indoorLowpassGain="0.95" pitchMax="1.55" volumeMin="0.45" volumeMinSpeed="20"/>
    <motorStopSound file="$data/vehicles/steerable/man/manTGS18480_stop.wav" pitchOffset="1.00" volume="1.10 " indoorVolumeFactor="0.56" indoorLowpassGain="0.95"/>
    <motorSoundRun file="$data/vehicles/steerable/man/manTGS18480_run.wav" pitchOffset="0.70" volume="0.75" indoorVolumeFactor="0.51" indoorLowpassGain="0.85" pitchMax="1.15"/>
    <motorSoundLoad file="$data/sounds/engine/loadHP150.wav" pitchOffset="0.58" volume="1.20" indoorVolumeFactor="0.46" indoorLowpassGain="0.95" pitchMax="1.22" minimalVolumeFactor="0.20"/>
    <gearboxSound file="$data/sounds/transmission/transmissionFS15.wav" pitchOffset="0.60" volume="0.30" indoorVolumeFactor="0.65" indoorLowpassGain="0.75" pitchMax="0.90" volumeMax="0.70" reverseVolumeMax="0.20"/>
    <retarderSound file="$data/sounds/transmission/transmissionCVT_X.wav" pitchOffset="0.58" volume="0.22" indoorVolumeFactor="0.65" indoorLowpassGain="0.80" pitchMax="1.75" volumeMax="0.37" minSpeed="0.1"/>
    <brakeCompressor capacity="10000" fillSpeed="950"/>
    <maximalAirConsumptionPerFullStop value="3400"/>
    <brakeCompressorStartSound file="$data/sounds/technicalAccessories/compressor_controller.wav" pitchOffset="1.00" volume="0.65" indoorVolumeFactor="0.60" indoorLowpassGain="0.95"/>
    <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav" pitchOffset="0.86" volume="0.18" indoorVolumeFactor="0.20" indoorLowpassGain="0.95" pitchMax="1.1"/>
    <brakeCompressorStopSound file="$data/sounds/technicalAccessories/pressure_regulator.wav" pitchOffset="1.00" volume="0.75" indoorVolumeFactor="0.46" indoorLowpassGain="0.95"/>
    <compressedAirSound file="$data/sounds/technicalAccessories/brakeSmall.wav" pitchOffset="1.00" volume="0.75" indoorVolumeFactor="0.30" indoorLowpassGain="0.95"/>
    <airReleaseValveSound file="$data/sounds/technicalAccessories/regulator_valve.wav" pitchOffset="0.96" volume="1.05" indoorVolumeFactor="0.50" indoorLowpassGain="0.95"/>
    <attachSound file="$data/sounds/truck_attach.wav" pitchOffset="1.10" volume="1.00" indoorVolumeFactor="0.30" indoorLowpassGain="0.90"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="1.00" volume="0.45" indoorVolumeFactor="0.55" indoorLowpassGain="0.90"/>
    <honkSound file="Sounds/P-Horn.wav" pitchOffset="0.94" volume="1.55" indoorVolumeFactor="0.25" indoorLowpassGain="0.90" radius="100" innerRadius="18.775"/>
    <baseColorConfigurations useDefaultColors="true" price="1600" icon="$dataS2/menu/hud/configurations/config_color.png">
        <baseColorConfiguration color="0.552 0.007 0.007 1"/>
        <colorNode node="0>12|0"/>
    </baseColorConfigurations>
    <speedRotatingParts>
        <speedRotatingPart index="0>11|0|0" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|1|0" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|2" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|3|0" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|4" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|5" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|6|0" wheelIndex="0" wheelScale="2"/>
        <speedRotatingPart index="0>11|7" wheelIndex="0" wheelScale="2"/>
    </speedRotatingParts>

	<designConfigurations>
        <designConfiguration name="standard" price="0" />
        <designConfiguration name="Kuhfänger" price="1500" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>14|3" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>

    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    <components count="1">
        <component1 centerOfMass="0 0.65 0.3" solverIterationCount="10"/>
    </components>
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
</vehicle>


Außer meinen einbauten von P & E Horn sowie Heckwarn und Blaulicht habe ich an den Dateien nichts geändert.
User avatar
böserlöwe
GIANTS Software | Support Engineer
Posts: 10816
Joined: Thu Oct 01, 2009 10:09 pm
Location: Kreis Schaumburg
Contact:

Re: InputBindings werden nicht übernommen

Post by böserlöwe »

Hier mal ein Auszug deiner Datei:

<text name="PHorn Aus"> <en>Aircompression Siren Off</en> <de>Pressluft Horn Aus MAN</de> </text>
<text name="input_PHorn">

Wobei es mir darauf ankommt, was da in den Tags von Name drin steht.
Einmal "PHorn Aus" und dann unten weiter "input_PHorn"
Wieso hast du im ersten ein Leerzeichen drin, im 2. dann den unterstrich gemacht?
Stimmt, das Leerzeichen ist auch so ein unerlaubtes Zeichen was man in den Namen und allen Scripten für die Variablen nicht gebracuhen kann.
Nur in den texten die auf dem bidlschirm wiedergegeben werden kann man ein Leerzeichen einfügen. Alle anderen Stellen im Spieldateien dürfen kein Leerzeichenin einem Namen enthalten.
Es geht mir jetzt hierbei nicht nur um die Schreibweise in der XML oder der Moddesc, sondern das muss auch in der i3d und den neuen Scripten kontrolliert werden.
Je nachdem wo du es noch in Verwendung hast.
Icedragon14
Posts: 10
Joined: Sun Nov 06, 2016 9:52 pm

Re: InputBindings werden nicht übernommen

Post by Icedragon14 »

Die habe ich nur in der Fahrzeug XML und in der Moddesc verwendet. als Hilfe Text wie du in den i3danim Tags siehst (fahrzeug.xml)

Edit: Habe das ganze jetzt auch mal in einen Tieflader eingebaut (ohne Sound) und da habe ich auch das Problem das ich zb. Heckwarner nicht einschalten kann.

Der Sound beim LKW läuft übrigens Dauerhaft.
Icedragon14
Posts: 10
Joined: Sun Nov 06, 2016 9:52 pm

Re: InputBindings werden nicht übernommen

Post by Icedragon14 »

Habe mir jetzt auch andere Mods angeguckt, dort ist das ganze genauso verbaut wie bei mir (abgesehen von Funktionsgrund und name). Habe es auch mal kopiert und bei mir eingefügt, dennoch kein anderes Ergebnis.

Hat sonst noch einer eine Idee, an was dies liegen könnte?
Post Reply