Verdichtungs-Script in suerSB1000 einbauen

Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 12:33 am

hi kann ich das <specialization name="bunkerSiloCompacter" className="BunkerSiloCompacter" filename="BunkerSiloCompacter.lua" /> hier in den mod einbauen oder is das für ls 13 jetzt ein anderes?? bevor fragen aufkommen das ist nur für mich privat.


Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="9">
    <author>BM-Modding</author>
    <version>2.0</version>
   <title>
      <en>Suer SB1000 Pack</en>
      <de>Suer SB1000 Pack</de>
   </title>
   <description>
      <en>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
      </en>
      <de>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
      </de>
   </description>
   <multiplayer supported="true" />
   <iconFilename>texturen/store_suerAll.dds</iconFilename>
   
   <l10n>
      <text name="shopItemBrand_suer">
            <en>Suer</en>
            <de>Suer</de>
        </text>
    </l10n>
   
   <specializations>
      <specialization name="washable" className="Washable" filename="Washable.lua"/>
      <specialization name="HudAttachment" className="HudAttachment" filename="HudAttachment.lua"/>
    </specializations>
    <vehicleTypes>
       <type name="suerSB1000" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attachable" />
            <specialization name="washable" />
            <specialization name="HudAttachment" />
      </type>
    </vehicleTypes>
   
    <storeItems>
        <storeItem>
            <en>
                <name>Suer SB1000 black</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[weight: 1000kg
Color: black
Maintenance: %s / day]]>
                </specs>
            </en>
            <de>
                <name>Suer SB1000 schwarz</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[Gewicht: 1000kg
Farbe: Schwarz
Unterhaltskosten: %s / Tag]]>
                </specs>
            </de>
            <rotation>0</rotation>
            <image active="texturen/store_suerBlack.dds" brand="texturen/brand_suer.dds"/>
            <price>680</price>
            <xmlFilename>suerSB1000Black.xml</xmlFilename>
            <dailyUpkeep>0</dailyUpkeep>
         <machineType>weights</machineType>
         <brand>$l10n_shopItemBrand_suer</brand>
        </storeItem>
        <storeItem>
            <en>
                <name>Suer SB1000 Claas</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[weight: 1000kg
Color: Claas silver/grey
Maintenance: %s / day]]>
                </specs>
            </en>
            <de>
                <name>Suer SB1000 Claas</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[Gewicht: 1000kg
Farbe: Claas Silber/Grau
Unterhaltskosten: %s / Tag]]>
                </specs>
            </de>
            <rotation>0</rotation>
            <image active="texturen/store_suerClaas.dds" brand="texturen/brand_suer.dds"/>
            <price>680</price>
            <xmlFilename>suerSB1000Claas.xml</xmlFilename>
            <dailyUpkeep>0</dailyUpkeep>
         <machineType>weights</machineType>
         <brand>$l10n_shopItemBrand_suer</brand>
        </storeItem>
        <storeItem>
            <en>
                <name>Suer SB1000 John Deere</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[weight: 1000kg
Color: John Deere green
Maintenance: %s / day]]>
                </specs>
            </en>
            <de>
                <name>Suer SB1000 John Deere</name>
                <description>
<![CDATA[by BM-Modding
    visit: http://www.bm-modding.de]]>
                </description>
                <specs>
<![CDATA[Gewicht: 1000kg
Farbe: John Deere Grün
Unterhaltskosten: %s / Tag]]>
                </specs>
            </de>
            <rotation>0</rotation>
            <image active="texturen/store_suerJohnDeere.dds" brand="texturen/brand_suer.dds"/>
            <price>680</price>
            <xmlFilename>suerSB1000JohnDeere.xml</xmlFilename>
            <dailyUpkeep>0</dailyUpkeep>
         <machineType>weights</machineType>
         <brand>$l10n_shopItemBrand_suer</brand>
        </storeItem>
    </storeItems>
</modDesc>
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby bassaddict » Fri Nov 02, 2012 12:41 am

Brauchst du nicht mehr, ist schon in LS13 eingebaut. Brauchst also nur den hier:
<specialization name="bunkerSiloCompacter" />
This is Hardcore - Free Album
This is Hardcore (Homepage)
AniMe - Hunting For Your Soul

"Before asking unnecessary questions: use the internet and try some of the powerful search engines."
User avatar
bassaddict
Mod-Tester + Supportmachine
 
Posts: 14048
Joined: Tue Nov 29, 2011 3:44 pm
Location: north of the river

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 1:12 am

bassaddict wrote:Brauchst du nicht mehr, ist schon in LS13 eingebaut. Brauchst also nur den hier:
<specialization name="bunkerSiloCompacter" />


ok nur nochmal zu sicherheit^^

ich bau <specialization name="bunkerSiloCompacter" /> einfach nur noch in das Gewicht ein? richtig? aber wo kann ich da die Verdichtungsgeschwindigkeit erhöhen? oder ist das wieder ne extra Zeile??
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby bassaddict » Fri Nov 02, 2012 1:13 am

Dafür gibts ne Zeile in der XML. Kannst du dir beim SampleMod raus kopieren.
This is Hardcore - Free Album
This is Hardcore (Homepage)
AniMe - Hunting For Your Soul

"Before asking unnecessary questions: use the internet and try some of the powerful search engines."
User avatar
bassaddict
Mod-Tester + Supportmachine
 
Posts: 14048
Joined: Tue Nov 29, 2011 3:44 pm
Location: north of the river

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 2:26 am

also ich würd es so machen
Code: Select all
    <vehicleTypes>
       <type name="suerSB1000" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attachable" />
            <specialization name="washable" />
            <specialization name="HudAttachment" />
[color=#FF0000]            <bunkerSiloCompacter compactingScale="3"/>[/color]
      </type>
    </vehicleTypes>


is das richtig so??
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby bassaddict » Fri Nov 02, 2012 2:47 am

Nein, du musst die Spezi in der modDesc eintragen und den entsprechenden Wert in der XML vom Fahrzeug (hier dann das Gewicht). Halt so wie man eine x-beliebige Spezi einbaut.
This is Hardcore - Free Album
This is Hardcore (Homepage)
AniMe - Hunting For Your Soul

"Before asking unnecessary questions: use the internet and try some of the powerful search engines."
User avatar
bassaddict
Mod-Tester + Supportmachine
 
Posts: 14048
Joined: Tue Nov 29, 2011 3:44 pm
Location: north of the river

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 6:15 pm

da ich noch nie eine Spezi einbaut hab. kann ich da leider auf keine Erfahrungen zurückgreifen.
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby bassaddict » Fri Nov 02, 2012 8:56 pm

Die specialization-Zeile kommt in die modDesc hin und die bunkerSiloCompacter-Zeile kommt in die XML vom Gewicht rein.
This is Hardcore - Free Album
This is Hardcore (Homepage)
AniMe - Hunting For Your Soul

"Before asking unnecessary questions: use the internet and try some of the powerful search engines."
User avatar
bassaddict
Mod-Tester + Supportmachine
 
Posts: 14048
Joined: Tue Nov 29, 2011 3:44 pm
Location: north of the river

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 10:18 pm

Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="suerSB1000">
   <annotation>Copyright (C) BM-Modding, All Rights Reserved.</annotation>
    <name>
        <en>Suer SB1000</en>
        <de>Suer SB1000</de>
    </name>
    <description></description>
   <typeDesc>Suer SB1000</typeDesc>
    <filename>suerSB1000Black.i3d</filename>
   
    <size width="2.0" length="2.0" />

    <attacherJoint index="4" jointType="implement" topReferenceNode="5" rotLimitScale="0 0 0" transLimitScale="0 0.1 0" upperRotationOffset="4" lowerRotationOffset="0" lowerDistanceToGround="0.7" upperDistanceToGround="0.9" />
    <trailerAttacherJoints>
        <trailerAttacherJoint index="6" low="false" maxRotLimit="10 80 80" />
    </trailerAttacherJoints>
   
    <needsLowering value="false" />
   
    <!-- dirtIntveral(h);    cleaningInterval(sec) -->
   <dirt dirtInterval="1" cleaningInterval="15" updateInterval="0.01">
      <dirtComponent index="0>0" />
   </dirt>
   
   <schemaOverlay file="$data/vehicles/schemas/implementSchema.png" fileSelected="$data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
   
    <components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
    </components>
    <bunkerSiloCompacter compactingScale="3"/>
</vehicle>


is das so richtig für die xml oder muss die zeile an eine andere bestimmte stelle??
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby bassaddict » Fri Nov 02, 2012 10:47 pm

Sieht gut aus. Die muss nicht an einer bestimmten Stelle, muss einfach nur generell in der XML vorhanden sein und nicht die XML-Struktur verletzen/zerschießen. Tut die bei dir aber nicht.
This is Hardcore - Free Album
This is Hardcore (Homepage)
AniMe - Hunting For Your Soul

"Before asking unnecessary questions: use the internet and try some of the powerful search engines."
User avatar
bassaddict
Mod-Tester + Supportmachine
 
Posts: 14048
Joined: Tue Nov 29, 2011 3:44 pm
Location: north of the river

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Fri Nov 02, 2012 11:42 pm

ok. dann teste ich das jetzt mal. kannste mir eben noch verraten wie ich die Konsole an bekomme. oder is das noch wie in ls 11??
shenti
 

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby claas lexion 770 » Sat Nov 03, 2012 12:04 am

Ist immer noch so wie im LS11.
[Zurzeit außer Betrieb]^^
User avatar
claas lexion 770
Modder
 
Posts: 815
Joined: Tue May 10, 2011 5:34 pm
Location: Bayern

Re: Verdichtungs-Script in suerSB1000 einbauen

Postby shenti » Sat Nov 03, 2012 3:03 pm

ok thx hat geklappt. danke bassaddict.
shenti
 


Return to [LS13]Anfängerfragen



Who is online

Users browsing this forum: No registered users and 1 guest