You are not logged in.

Dear visitor, welcome to AnnoZone Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, July 22nd 2011, 5:50pm

Probleme beim modificieren

Hallo an alle Anno Fans,

Ich habe ein Problem beim modden von Gebäuden,
Ich versuche Gebäude von Anno 1701 auf Anno 1404 zu
übertragen, ich habe die config dateien so verändert, dass ich das
Gebäude in Anno 1404 bauen kann, doch es erscheint viel zu groß.

Meine Frage ist deshalb, wie kann ich dieses Problem beheben, bzw das
gebäude verkleinern.

Im Bezug auf: Probleme beim modificieren von CFG Dateien

ich hoffe ihr könnt mir helfen danke sehr.

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

2

Friday, July 22nd 2011, 6:22pm

in der .cfg Datei steht im Transformer: <Scale/>.... dort muss 1 stehen.
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

3

Friday, July 22nd 2011, 6:29pm

Hallo markus1566,

Danke für deine antwort aber in welcher config datei steht das denn ?
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

4

Friday, July 22nd 2011, 6:35pm

was weiß ich. z.B. in der theater.cfg (in den cfg's von den importierten gebäuden) ich hab noch nen link hier
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

5

Friday, July 22nd 2011, 6:38pm

cfg

Hallo Markus,

Ich arbeite mit dem RDA explorer und habe die dds und gr2 dateien von anno 1701
auf Anno 1404 gezogen. Ich habe die config von der Fischerhütte so umgeschrieben, dass ich das neue Gebäude sehen kann nur bei deinem Tipp steht bei mir schon 1,

Hier meine cfg von der Fischerhütte:

<m_Config><m_Models><m_Config><m_FileName>data\graphics\buildings\farm\north\1\gr\n_apiary_lod0.GR2</m_FileName>
<m_ConfigType>MODEL</m_ConfigType>
<m_Materials><m_Config><m_Name>Material #0</m_Name>
<m_ShaderIndex>0</m_ShaderIndex>
<m_AmbientColor.r>0.500000</m_AmbientColor.r>
<m_AmbientColor.g>0.500000</m_AmbientColor.g>
<m_AmbientColor.b>0.500000</m_AmbientColor.b>
<m_AmbientColor.a>1.000000</m_AmbientColor.a>
<m_DiffuseColor.r>1.000000</m_DiffuseColor.r>
<m_DiffuseColor.g>1.000000</m_DiffuseColor.g>
<m_DiffuseColor.b>1.000000</m_DiffuseColor.b>
<m_DiffuseColor.a>1.000000</m_DiffuseColor.a>
<m_SpecularColor.r>0.000000</m_SpecularColor.r>
<m_SpecularColor.g>0.000000</m_SpecularColor.g>
<m_SpecularColor.b>0.000000</m_SpecularColor.b>
<m_SpecularColor.a>1.000000</m_SpecularColor.a>
<m_EmissiveColor.r>0.000000</m_EmissiveColor.r>
<m_EmissiveColor.g>0.000000</m_EmissiveColor.g>
<m_EmissiveColor.b>0.000000</m_EmissiveColor.b>
<m_EmissiveColor.a>1.000000</m_EmissiveColor.a>
<m_DiffuseTexture>data\graphics\buildings\farm\north\1\maps\n_apiary_diff.png</m_DiffuseTexture>
<m_NormalTexture>data\graphics\buildings\farm\north\1\maps\n_apiary_norm.png</m_NormalTexture>
<m_EnvironmentTexture></m_EnvironmentTexture>
<m_HeightTexture></m_HeightTexture>
<m_MaskTexture></m_MaskTexture>
<m_RipplesTexture></m_RipplesTexture>
<m_VertexFormat>p3n3g3b3t2</m_VertexFormat>
<m_DiffuseEnabled>1</m_DiffuseEnabled>
<m_NormalEnabled>1</m_NormalEnabled>
<m_EnvironmentEnabled>0</m_EnvironmentEnabled>
<m_ParallaxEnabled>0</m_ParallaxEnabled>
<m_RipplesEnabled>0</m_RipplesEnabled>
<m_ConfigType>MATERIAL</m_ConfigType>
</m_Config>
</m_Materials>
</m_Config>
</m_Models>
<m_Effects><m_Config><m_FileName>data\graphics\effects\particles\n_smoke_02.efc</m_FileName>
<m_ConfigType>EFFECT</m_ConfigType>
<m_Transformer><m_Config><m_Position.x>-1.057091</m_Position.x>
<m_Position.y>1.496472</m_Position.y>
<m_Position.z>0.831820</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>0.700000</m_Scale>
<m_Conditions>0</m_Conditions>
<m_ConfigType>ORIENTATION_TRANSFORM</m_ConfigType>
</m_Config>
<m_Config><m_ApplyAlways>1</m_ApplyAlways>
<m_State><m_Color.r>1.000000</m_Color.r>
<m_Color.g>1.000000</m_Color.g>
<m_Color.b>1.000000</m_Color.b>
<m_Color.a>0.000000</m_Color.a>
<m_Time>5.000000</m_Time>
<m_Condition>0</m_Condition>
<m_Multiply>0</m_Multiply>
</m_State>
<m_State><m_Color.r>1.000000</m_Color.r>
<m_Color.g>1.000000</m_Color.g>
<m_Color.b>1.000000</m_Color.b>
<m_Color.a>1.000000</m_Color.a>
<m_Time>5.000000</m_Time>
<m_Condition>4</m_Condition>
<m_Multiply>0</m_Multiply>
</m_State>
<m_Conditions>4</m_Conditions>
<m_ConfigType>COLOR_TRANSFORM</m_ConfigType>
</m_Config>
</m_Transformer>
</m_Config>
<m_Config><m_FileName>data\graphics\effects\particles\ie_fire_01.efc</m_FileName>
<m_ConfigType>EFFECT</m_ConfigType>
<m_Transformer><m_Config><m_Position.x>-0.581006</m_Position.x>
<m_Position.y>0.761879</m_Position.y>
<m_Position.z>0.010762</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_Config><m_StartDamage>200</m_StartDamage>
<m_EndDamage>255</m_EndDamage>
<m_StartScale>1.000000</m_StartScale>
<m_EndScale>1.400000</m_EndScale>
<m_Conditions>0</m_Conditions>
<m_ConfigType>DAMAGE_TRANSFORM</m_ConfigType>
</m_Config>
</m_Transformer>
</m_Config>
<m_Config><m_FileName>data\graphics\effects\particles\ie_fire_01.efc</m_FileName>
<m_ConfigType>EFFECT</m_ConfigType>
<m_Transformer><m_Config><m_Position.x>0.531353</m_Position.x>
<m_Position.y>0.855606</m_Position.y>
<m_Position.z>0.992916</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_Config><m_StartDamage>200</m_StartDamage>
<m_EndDamage>255</m_EndDamage>
<m_StartScale>1.100000</m_StartScale>
<m_EndScale>1.300000</m_EndScale>
<m_Conditions>0</m_Conditions>
<m_ConfigType>DAMAGE_TRANSFORM</m_ConfigType>
</m_Config>
</m_Transformer>
</m_Config>
<m_Config><m_FileName>data\graphics\effects\particles\ie_firesmoke_01.efc</m_FileName>
<m_ConfigType>EFFECT</m_ConfigType>
<m_Transformer><m_Config><m_Position.x>-0.244769</m_Position.x>
<m_Position.y>0.403870</m_Position.y>
<m_Position.z>0.670843</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_Config><m_StartDamage>200</m_StartDamage>
<m_EndDamage>255</m_EndDamage>
<m_StartScale>1.300000</m_StartScale>
<m_EndScale>1.600000</m_EndScale>
<m_Conditions>0</m_Conditions>
<m_ConfigType>DAMAGE_TRANSFORM</m_ConfigType>
</m_Config>
</m_Transformer>
</m_Config>
</m_Effects>
<m_TerrainDecals><m_Config><m_Extend.x>1.500000</m_Extend.x>
<m_Extend.y>1.500000</m_Extend.y>
<m_TexCoords.x>0.000000</m_TexCoords.x>
<m_TexCoords.y>0.000000</m_TexCoords.y>
<m_TexCoords.z>0.750000</m_TexCoords.z>
<m_TexCoords.w>0.750000</m_TexCoords.w>
<m_ConfigType>TERRAINDECAL</m_ConfigType>
<m_Materials><m_Config><m_Name></m_Name>
<m_ShaderIndex>0</m_ShaderIndex>
<m_AmbientColor.r>0.000000</m_AmbientColor.r>
<m_AmbientColor.g>0.000000</m_AmbientColor.g>
<m_AmbientColor.b>0.000000</m_AmbientColor.b>
<m_AmbientColor.a>1.000000</m_AmbientColor.a>
<m_DiffuseColor.r>1.000000</m_DiffuseColor.r>
<m_DiffuseColor.g>1.000000</m_DiffuseColor.g>
<m_DiffuseColor.b>1.000000</m_DiffuseColor.b>
<m_DiffuseColor.a>1.000000</m_DiffuseColor.a>
<m_SpecularColor.r>0.000000</m_SpecularColor.r>
<m_SpecularColor.g>0.000000</m_SpecularColor.g>
<m_SpecularColor.b>0.000000</m_SpecularColor.b>
<m_SpecularColor.a>1.000000</m_SpecularColor.a>
<m_EmissiveColor.r>0.000000</m_EmissiveColor.r>
<m_EmissiveColor.g>0.000000</m_EmissiveColor.g>
<m_EmissiveColor.b>0.000000</m_EmissiveColor.b>
<m_EmissiveColor.a>1.000000</m_EmissiveColor.a>
<m_DiffuseTexture>data\graphics\buildings\farm\north\1\maps\n_apiary_ground_diff.png</m_DiffuseTexture>
<m_NormalTexture></m_NormalTexture>
<m_EnvironmentTexture></m_EnvironmentTexture>
<m_HeightTexture></m_HeightTexture>
<m_MaskTexture></m_MaskTexture>
<m_RipplesTexture></m_RipplesTexture>
<m_VertexFormat></m_VertexFormat>
<m_DiffuseEnabled>1</m_DiffuseEnabled>
<m_NormalEnabled>0</m_NormalEnabled>
<m_EnvironmentEnabled>0</m_EnvironmentEnabled>
<m_ParallaxEnabled>0</m_ParallaxEnabled>
<m_RipplesEnabled>0</m_RipplesEnabled>
<m_ConfigType>MATERIAL</m_ConfigType>
</m_Config>
</m_Materials>
</m_Config>
</m_TerrainDecals>
<m_RenderPropertyFlags>131968</m_RenderPropertyFlags>
<m_Center.x>-0.244769</m_Center.x>
<m_Center.y>1.378870</m_Center.y>
<m_Center.z>0.670843</m_Center.z>
<m_Extent.x>1.863437</m_Extent.x>
<m_Extent.y>1.615000</m_Extent.y>
<m_Extent.z>1.863437</m_Extent.z>
<m_Radius>2.151959</m_Radius>
<m_ConfigType>ROOT</m_ConfigType>
</m_Config>
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

6

Friday, July 22nd 2011, 6:43pm

RE: cfg

Das würde also dann bedeuten, dass ich nur in die cfg Datei

</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>0.030000</m_Scale>
<m_Conditions>0</m_Conditions><m_ConfigType>ORIENTATION_TRANSFORM</m_ConfigType>
</m_Config>
</m_Transformer>

</m_Config>


Einfügen muss und das Ding wär fertig ?!

Cool das ist ja einfach, wenn es dann klappt...

Danke für den Link
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

7

Friday, July 22nd 2011, 6:45pm

soso das ist bei den effekten der Transformer guck mal hier
sost hier

Source code

1
2
3
4
</m_Config>
 </m_Materials>
 </m_Config>
 </m_Models>
irgendwo den Transformer einfügen
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

8

Friday, July 22nd 2011, 6:50pm

Re

so ich habe jetzt die cfg so umgeschrieben, dass da nicht mehr <m_Scale>0.030000</m_Scale> steht
sondern
<m_Scale>0.0030000</m_Scale>

weil das erste schon vorher so war.

Ich teste nachher mal ob das geht.
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

9

Friday, July 22nd 2011, 6:54pm

RE: Re

so ich hab mir mal die Bilder angeschaut von deinem ersten Link,
genau so sieht das bei mir auch aus wenn ich nen neues Gebaude einfügen von 1701
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

exxonic

Schatzjäger

Posts: 1,479

Date of registration: Oct 10th 2009

  • Send private message

10

Friday, July 22nd 2011, 9:33pm

du musst den transformer nur an der richtigen stelle innerhalb der cfg einfuegen. in der cfg werden ja mehrere 3d-objekte zu einem zusammengefuegt. wenn du den transformer an der falschen stelle einsetzt, wird das falsche objekt transformiert (oder garnichts ..).
vergleich mal mit anderen cfgs.
 

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

11

Saturday, July 23rd 2011, 9:17am

ja genau und zwar

Source code

1
2
3
4
5
</m_Config> 
</m_Materials>
]TRANSFORMER
</m_Config> 
</m_Models>


hier den Transformer einfügen
siehe Bild
Markus1566 has attached the following image:
  • Transformer.jpg
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

This post has been edited 1 times, last edit by "Markus1566" (Jul 23rd 2011, 9:18am)


12

Saturday, July 23rd 2011, 6:42pm

Danke das hat mir sehr geholfen,

doch wenn ich das Gebäude baue,
dann scheint alles in Ordnung zu sein, doch wenn ich näher heran zoome,
dann sieht das Gebäude so aus wie ein Gerüst.
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

13

Saturday, July 23rd 2011, 8:58pm

wie ein gerüst? mach bitte mal einen Screen.
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

14

Saturday, July 23rd 2011, 10:06pm

Hey,

Hier der Screenshot vom Gebäude.

Einmal Normal wenn ich neicht rein zoome
und wenn ich reinzoome.

Ich hoffe das hilft euch weiter.
annohenni1404 has attached the following images:
  • screenshot0000.jpg
  • screenshot0001.jpg
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

15

Sunday, July 24th 2011, 9:01am

Hängt das vielleich mit den .dds Datein zusammen. Überprüf die Mal.
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

exxonic

Schatzjäger

Posts: 1,479

Date of registration: Oct 10th 2009

  • Send private message

16

Sunday, July 24th 2011, 10:03am

minimaps in der dds? ich weiss nicht mehr, wie die dinger hiessen. aber in jeder dds sind noch kleinere versionen des eigentlichen bildes.
ausserdem muessen von jeder dds drei versionen in unterschiedlichen aufloesungen vorhanden sein.
anno benutzt die bei geringerer aufloesung oder den unterschiedlichen zoomstufen.
 

Markus1566

SeeBär

Posts: 249

Date of registration: Aug 16th 2010

  • Send private message

17

Sunday, July 24th 2011, 10:58am

genau das ist es ja , vllt. . Wenn z.B. 2 .dds fehlen dan wird nur die .GR2 angezeigt
ist das möglich?!
  Veni, Vidi, Vici - Ich kam, Ich sah, Ich siegte

Gaius Iulius Caesar

18

Sunday, July 24th 2011, 1:01pm

Ich habe alle dss Dateien eingefügt, daran kanns glaub ich nicht liegen.

sorry dds Dateien meine ich.


edit by mod: benutz den bearbeiten button!
  MFG annohenni1404

Mitglied IM ICO2 TEAM
-----------------------------------

1 user apart from you is browsing this thread:

1 guests