Wie kann man eine Textur ändern

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • da musst du einen eintrag in der ifo. machen so sieht das dann aus

      <Dummy>
      <Name>gun_torpedo_0</Name>name ist eine direckte verbindung mit dem asstx eintrag, dadurch kannst du die position festlegen
      <Position>
      <x>50</x>
      <y>-1000</y>
      <z>0</z>
      </Position>
      <Rotation>
      <x>0</x>
      <y>0</y>
      <z>0</z>
      <w>4096</w>
      </Rotation>
      <Extents>
      <x>409</x>
      <y>409</y>
      <z>409</z>
      </Extents>
      </Dummy>
    • Danke,
      es hat prima funktioniert



      Ich habe jetzt 3 neue Flugeinheiten erstellt



      Die Oregon Glider:
      Ich habe jetzt zwei Glider in eine Einheit, weil die einfach so klein sind, dass sie schnell mal in der Großstadt verschwinden
      Der Glider ist ungefähr so wie der Chopper

      Wirbelwind:
      Entspricht dem Hawk

      Zar:

      Der Zar entspricht dem Firebird


      Das einzige was ich jetzt noch gerne mit dem Zar machen würde, ist dass er etwas größer ist
      Leider habe ich keine Ahnung wie das geht
    • sicher, nicht in der ifo sondern in der cfg dort wo grafik ist, ich seh grad der ozonmaker hat keinen solchen eintrag.

      Quellcode

      1. <m_Models><m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\rdm\ozone_maker_ecos_lod0.rdm</m_FileName>
      2. <m_Animations><m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair01.rdm</m_FileName>
      3. <m_LoopCount>0</m_LoopCount>
      4. <m_Scale>1.000000</m_Scale>
      5. <m_ConfigType>ANIMATION</m_ConfigType>
      6. </m_Config>
      7. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair02.rdm</m_FileName>
      8. <m_LoopCount>0</m_LoopCount>
      9. <m_Scale>1.000000</m_Scale>
      10. <m_ConfigType>ANIMATION</m_ConfigType>
      11. </m_Config>
      12. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair03.rdm</m_FileName>
      13. <m_LoopCount>0</m_LoopCount>
      14. <m_Scale>1.000000</m_Scale>
      15. <m_ConfigType>ANIMATION</m_ConfigType>
      16. </m_Config>
      17. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_glide01.rdm</m_FileName>
      18. <m_LoopCount>0</m_LoopCount>
      19. <m_Scale>1.000000</m_Scale>
      20. <m_ConfigType>ANIMATION</m_ConfigType>
      21. </m_Config>
      22. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_idle01.rdm</m_FileName>
      23. <m_LoopCount>0</m_LoopCount>
      24. <m_Scale>1.000000</m_Scale>
      25. <m_ConfigType>ANIMATION</m_ConfigType>
      26. </m_Config>
      27. </m_Animations>
      28. <m_ConfigType>MODEL</m_ConfigType>
      29. <m_Materials><m_Config><m_Name>24 - Default</m_Name>
      30. <m_ShaderIndex>10</m_ShaderIndex>
      31. <m_AmbientColor.r>0.500000</m_AmbientColor.r>
      32. <m_AmbientColor.g>0.500000</m_AmbientColor.g>
      33. <m_AmbientColor.b>0.500000</m_AmbientColor.b>
      34. <m_AmbientColor.a>1.000000</m_AmbientColor.a>
      35. <m_DiffuseColor.r>1.000000</m_DiffuseColor.r>
      36. <m_DiffuseColor.g>1.000000</m_DiffuseColor.g>
      37. <m_DiffuseColor.b>1.000000</m_DiffuseColor.b>
      38. <m_DiffuseColor.a>1.000000</m_DiffuseColor.a>
      39. <m_SpecularColor.r>0.000000</m_SpecularColor.r>
      40. <m_SpecularColor.g>0.000000</m_SpecularColor.g>
      41. <m_SpecularColor.b>0.000000</m_SpecularColor.b>
      42. <m_SpecularColor.a>1.000000</m_SpecularColor.a>
      43. <m_EmissiveColor.r>0.000000</m_EmissiveColor.r>
      44. <m_EmissiveColor.g>0.000000</m_EmissiveColor.g>
      45. <m_EmissiveColor.b>0.000000</m_EmissiveColor.b>
      46. <m_EmissiveColor.a>1.000000</m_EmissiveColor.a>
      47. <m_DiffuseTexture>data\graphics_tycoon_mod\vehicles\others\Spezial\event_enemy_01_earth\maps\ozone_maker_ecos_diff.png</m_DiffuseTexture>
      48. <m_NormalTexture>data\graphics\vehicles\ecos\ozone_maker_ecos\maps\ozone_maker_ecos_norm.png</m_NormalTexture>
      49. <m_EnvironmentTexture>data\graphics\effects\environment\reflection_map.dds</m_EnvironmentTexture>
      50. <m_HeightTexture></m_HeightTexture>
      51. <m_MaskTexture>data\graphics\vehicles\ecos\ozone_maker_ecos\maps\ozone_maker_ecos_environmentmask.png</m_MaskTexture>
      52. <m_RipplesTexture></m_RipplesTexture>
      53. <m_VertexFormat>P4h_N4b_G4b_B4b_T2h_I4b</m_VertexFormat>
      54. <m_DiffuseEnabled>1</m_DiffuseEnabled>
      55. <m_NormalEnabled>1</m_NormalEnabled>
      56. <m_EnvironmentEnabled>1</m_EnvironmentEnabled>
      57. <m_ParallaxEnabled>0</m_ParallaxEnabled>
      58. <m_RipplesEnabled>0</m_RipplesEnabled>
      59. <m_NumBonesPerVertex>1</m_NumBonesPerVertex>
      60. <m_ConfigType>MATERIAL</m_ConfigType>
      61. </m_Config>
      62. </m_Materials>
      63. </m_Config>
      64. </m_Models>
      Alles anzeigen

      musst du so ändern :

      Quellcode

      1. <m_Models><m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\rdm\ozone_maker_ecos_lod0.rdm</m_FileName>
      2. <m_Animations><m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair01.rdm</m_FileName>
      3. <m_LoopCount>0</m_LoopCount>
      4. <m_Scale>1.000000</m_Scale>
      5. <m_ConfigType>ANIMATION</m_ConfigType>
      6. </m_Config>
      7. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair02.rdm</m_FileName>
      8. <m_LoopCount>0</m_LoopCount>
      9. <m_Scale>1.000000</m_Scale>
      10. <m_ConfigType>ANIMATION</m_ConfigType>
      11. </m_Config>
      12. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_cleanair03.rdm</m_FileName>
      13. <m_LoopCount>0</m_LoopCount>
      14. <m_Scale>1.000000</m_Scale>
      15. <m_ConfigType>ANIMATION</m_ConfigType>
      16. </m_Config>
      17. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_glide01.rdm</m_FileName>
      18. <m_LoopCount>0</m_LoopCount>
      19. <m_Scale>1.000000</m_Scale>
      20. <m_ConfigType>ANIMATION</m_ConfigType>
      21. </m_Config>
      22. <m_Config><m_FileName>data\graphics\vehicles\ecos\ozone_maker_ecos\anim\ozone_maker_ecos_idle01.rdm</m_FileName>
      23. <m_LoopCount>0</m_LoopCount>
      24. <m_Scale>1.000000</m_Scale>
      25. <m_ConfigType>ANIMATION</m_ConfigType>
      26. </m_Config>
      27. </m_Animations>
      28. <m_ConfigType>MODEL</m_ConfigType>
      29. <m_Materials><m_Config><m_Name>24 - Default</m_Name>
      30. <m_ShaderIndex>10</m_ShaderIndex>
      31. <m_AmbientColor.r>0.500000</m_AmbientColor.r>
      32. <m_AmbientColor.g>0.500000</m_AmbientColor.g>
      33. <m_AmbientColor.b>0.500000</m_AmbientColor.b>
      34. <m_AmbientColor.a>1.000000</m_AmbientColor.a>
      35. <m_DiffuseColor.r>1.000000</m_DiffuseColor.r>
      36. <m_DiffuseColor.g>1.000000</m_DiffuseColor.g>
      37. <m_DiffuseColor.b>1.000000</m_DiffuseColor.b>
      38. <m_DiffuseColor.a>1.000000</m_DiffuseColor.a>
      39. <m_SpecularColor.r>0.000000</m_SpecularColor.r>
      40. <m_SpecularColor.g>0.000000</m_SpecularColor.g>
      41. <m_SpecularColor.b>0.000000</m_SpecularColor.b>
      42. <m_SpecularColor.a>1.000000</m_SpecularColor.a>
      43. <m_EmissiveColor.r>0.000000</m_EmissiveColor.r>
      44. <m_EmissiveColor.g>0.000000</m_EmissiveColor.g>
      45. <m_EmissiveColor.b>0.000000</m_EmissiveColor.b>
      46. <m_EmissiveColor.a>1.000000</m_EmissiveColor.a>
      47. <m_DiffuseTexture>data\graphics_tycoon_mod\vehicles\others\Spezial\event_enemy_01_earth\maps\ozone_maker_ecos_diff.png</m_DiffuseTexture>
      48. <m_NormalTexture>data\graphics\vehicles\ecos\ozone_maker_ecos\maps\ozone_maker_ecos_norm.png</m_NormalTexture>
      49. <m_EnvironmentTexture>data\graphics\effects\environment\reflection_map.dds</m_EnvironmentTexture>
      50. <m_HeightTexture></m_HeightTexture>
      51. <m_MaskTexture>data\graphics\vehicles\ecos\ozone_maker_ecos\maps\ozone_maker_ecos_environmentmask.png</m_MaskTexture>
      52. <m_RipplesTexture></m_RipplesTexture>
      53. <m_VertexFormat>P4h_N4b_G4b_B4b_T2h_I4b</m_VertexFormat>
      54. <m_DiffuseEnabled>1</m_DiffuseEnabled>
      55. <m_NormalEnabled>1</m_NormalEnabled>
      56. <m_EnvironmentEnabled>1</m_EnvironmentEnabled>
      57. <m_ParallaxEnabled>0</m_ParallaxEnabled>
      58. <m_RipplesEnabled>0</m_RipplesEnabled>
      59. <m_NumBonesPerVertex>1</m_NumBonesPerVertex>
      60. <m_ConfigType>MATERIAL</m_ConfigType>
      61. </m_Config>
      62. </m_Materials>
      63. <m_Transformer><m_Config><m_Position.x>0.000000</m_Position.x>
      64. <m_Position.y>0.000000</m_Position.y>
      65. <m_Position.z>0.000000</m_Position.z>
      66. <m_Rotation.x>0.000000</m_Rotation.x>
      67. <m_Rotation.y>0.000000</m_Rotation.y>
      68. <m_Rotation.z>0.000000</m_Rotation.z>
      69. <m_Rotation.w>1.000000</m_Rotation.w>
      70. <m_Scale>1.000000</m_Scale>
      71. <m_Conditions>0</m_Conditions>
      72. <m_ConfigType>ORIENTATION_TRANSFORM</m_ConfigType>
      73. </m_Config>
      74. </m_Transformer>
      75. </m_Config>
      76. </m_Models>
      Alles anzeigen
      dieser eintrag musst du hinzufügen :

      </m_Config>
      </m_Materials>
      <m_Transformer><m_Config><m_Position.x>0.000000</m_Position.x>
      <m_Position.y>0.000000</m_Position.y>
      <m_Position.z>0.000000</m_Position.z>
      <m_Rotation.x>0.000000</m_Rotation.x>
      <m_Rotation.y>0.000000</m_Rotation.y>
      <m_Rotation.z>0.000000</m_Rotation.z>
      <m_Rotation.w>1.000000</m_Rotation.w>
      <m_Scale>1.000000</m_Scale>
      <m_Conditions>0</m_Conditions>
      <m_ConfigType>ORIENTATION_TRANSFORM</m_ConfigType>
      </m_Config>
      </m_Transformer>
      </m_Config>

      und dort den Scale wert
    • ja es ist möglich+
      dafür musst die iconfilemap änder, die befindet sich in der patch8 data/config/gui
      dort einen neuen eintrag erstellen, neue nummer und pfad ändern.

      dann unter data/config in die icon.xml
      dort werden den gebäuden icons zugewiesen so sieht es aus :

      <i>
      <GUID>10</GUID>guid
      <Icons>
      <i>
      <IconFileID>27</IconFileID> hier in der iconsfilemap die nummer
      <IconIndex>33</IconIndex>dann welches icons es wird von 0 angefangen zu zählen.
      </i>
      </Icons>
      </i>
      kannst von mir meine grund als vorlage haben :
      da ist auch ein raster mit drin in diese Raster musst du deine icons erstellen
      Dateien
      • icons grund.zip

        (11,23 kB, 3 mal heruntergeladen, zuletzt: )
    • ich hab dir eine psd geschickt, icon zeichen dann als dds speichern, das Gitter vorher entfernen.
      Nun musst du über der iconfilemap der DDS einer ID zuweißen hier als beispiel

      <IconFile>
      <IsGameIcon>1</IsGameIcon>
      <IconFilename>data/graphics_tycoon_mod/ui/icons/gui_item_map_01.png</IconFilename>
      <IconWidth>46</IconWidth>
      <IconHeight>46</IconHeight>
      <IconFileID>30</IconFileID>
      <IsPreloadForced>0</IsPreloadForced>
      </IconFile>
      Die ID muss frei sein
    • Danke

      habe heute mal wieder an meinem mod weiter gebastelt
      Nun habe ich mich mal mit den Effekten beschäftigt
      Ich habe einer Einheit eine Napalm bombe gegeben die sie abwerfen kann(Einfach ne kleinere Atombombe)
      Das hat super geklappt
      nun will ich das gleiche mit ner Einheit der Techs machen, nur halt das die Atombombe nicht mehr gelb leuchtet sondern bläulich
      Ich habe alle möglichen dds dateien die in irgendeiner weise was mit der bombe zu tun haben blau umgefärbt doch es funktioniert einfach nicht
      Hat jemand von euch eine Idee an was das liegen könnte?

      Danke im vorraus