Seite 1 von 7 12345 ... LetzteLetzte
Ergebnis 1 bis 15 von 97

Thema: [TAC] Nationenspezifische Truppengrafiken für die Ureinwohnervölker

  1. #1
    Entdecker Avatar von melcher kürzer
    Registriert seit
    25.06.08
    Beiträge
    1.106

    [TAC] Nationenspezifische Truppengrafiken für die Ureinwohnervölker

    Kopie eines Beitrags aus dem internen Bereich des TAC-Projektforums - W.B.

    Willi hat mich gestern in einer PN darauf hingewiesen, dass der User Androrc the Orc bei den civfanatics die UnitArtStyles von Civ4:Bts erfolgreich nach Colonization portiert hat. Danke nochmal dafür Willi.
    Den Pythonfehler interpretiere ich so, daß die 3D Modelle nichtmehr im Interface angezeigt werden. Das werden sie bei TAC aber sowieso nicht mehr.
    Unterschiedliche UnitArtStyles für die einzelnen Nationen/Völker ist ja ein Wunsch der immer wieder aufkam. Ich wäre bereit dazu die Grafiken umzusetzen, allerdings kann ich nicht die .dll modifizieren. Das wird aber sicherlich notwendig sein. Androrc the Orc wird uns auf nettes Anfragen sicherlich seine Änderungen/Code bereitstellen. Aber umsetzten muss es halt jemand und das kann eigentlich nur koma. Deswegen frage ich mal direkt, koma, wärst du bereit dazu das noch umzusetzen, bzw. dir das mal anzusehen?
    Geändert von Writing Bull (13. Dezember 2010 um 22:53 Uhr)

  2. #2
    Registrierter Benutzer
    Registriert seit
    30.11.08
    Beiträge
    1.563
    Kopie eines Beitrags aus dem internen Bereich des TAC-Projektforums - W.B.

    Die UnitArtStyles standen ja auf meiner Top5-Liste, da bin ich gerne bereit das noch umzusetzen. Ich würde aber nur den DLL-Part übernehmen, wie ihr das dann nutzt (XML), ist euch überlassen. Sagt mir also Bescheid, wenn ihr den Quellcode von Androrc bekommen habt.
    Geändert von Writing Bull (13. Dezember 2010 um 22:53 Uhr)

  3. #3
    Talking Bull Avatar von Writing Bull
    Registriert seit
    01.10.08
    Beiträge
    21.376
    Kopie eines Beitrags aus dem internen Bereich des TAC-Projektforums - W.B.

    Wunderbar! Für TAC 2.02a wird das wohl nicht mehr klappen. Aber für TAC 2.02b steht jetzt in der To-Do-Liste:
    * Ureinwohnernationen erhalten für ihre Einheiten nationenspezifischen Grafiken durch Einführung einer CIV4UnitArtStyleTypeInfos.xml nach dem Vorbild von Civ4 (Konzept)
    (DLL: koma/Androic; xml + Grafiken: melcher)
    Lasst uns bitte alle xml-/DLL-Aspekte hier besprechen, die Grafiken aber im öffentlichen Thread Einheiten oder Ureinwohner - je nachdem, ob dieses Feature nur für die Ureinwohner oder generell umgesetzt wird (?). Bei den Europäern haben wir ja z.T. schon verschiedene Modelle, das basiert aber auf der Verwendung der Zivilisationsfarbe im Modell, nicht?
    Geändert von Writing Bull (13. Dezember 2010 um 22:53 Uhr)

  4. #4
    Registrierter Benutzer
    Registriert seit
    13.12.10
    Ort
    Wien, Österreich
    Beiträge
    14

    [TAC] Nationenspezifische Truppengrafiken für die Ureinwohnervölker

    Hallo TAC-Team

    Entschuldigung für mein Deutsch

    Wenn macht ihr neue Grafike für die Indianischen, ich habe viel Bilder von den Tupi ich kann scannen. Diese Bilder sind aus La Cosmographie Universelle (1575) von André Thevet, wer was in die französische Kolonie in Guanabara Bucht (Heute Rio de Janeiro).

  5. #5
    Simply Civilization Avatar von xXstrikerXx
    Registriert seit
    30.05.10
    Beiträge
    798
    um, the google translator?
    i think your point is clear, we'll see if we can use it, right now i don't see any needs (but i'm not the one to work on the units...).
    altogether (in the name of the whole team, i guess): thanks a lot that we can use your work!

    so long and greetz

  6. #6
    Registrierter Benutzer
    Registriert seit
    13.12.10
    Ort
    Wien, Österreich
    Beiträge
    14
    Zitat Zitat von xXstrikerXx Beitrag anzeigen
    um, the google translator?
    Nein, ich habe in Österreich zwei Monaten Deutsch studiert.

    i think your point is clear, we'll see if we can use it, right now i don't see any needs (but i'm not the one to work on the units...).
    altogether (in the name of the whole team, i guess): thanks a lot that we can use your work!

    so long and greetz
    Ok

    Tschuss

  7. #7
    Entdecker Avatar von melcher kürzer
    Registriert seit
    25.06.08
    Beiträge
    1.106
    Zitat Zitat von Androrc Beitrag anzeigen
    Hallo TAC-Team

    Entschuldigung für mein Deutsch

    Wenn macht ihr neue Grafike für die Indianischen, ich habe viel Bilder von den Tupi ich kann scannen. Diese Bilder sind aus La Cosmographie Universelle (1575) von André Thevet, wer was in die französische Kolonie in Guanabara Bucht (Heute Rio de Janeiro).
    Hey Androrc,
    i will make the new native units. It would be great if you could post some of the pictures you mentioned. Currently i have no idea how the native units should look like.
    I will start my work during the next weeks. If you like to use some of these units in your mods, please feel free to do that.
    thanks again for sharing your work.

    [/bad english off]


    @Willi Tell

    Wie ich das genau umsetze werde ich mir noch überlegen. Aber irgendwas um deine ganze Arbeit zu würdigen wird mir schon einfallen. Auch den Wink mit dem Gerneral werde ich möglichst berücksichtigen. Es soll am Ende halt alles stimmig sein. Die Zivileinheiten plane ich auch unterschiedlich zu machen.
    Und danke für die links, auch wenn ich aus dieser Epoche ziemlich jede Einheit von den fanatics kenne. Aber wie du schon sagtest, da sind einige Perlen dabei und sicherlich wird vieles auch in irgendeiner Form mit einfließen.

  8. #8
    Registrierter Benutzer Avatar von Akropolis
    Registriert seit
    14.09.08
    Ort
    Naturschutzgebiet Mark Brandenburg
    Beiträge
    4.430
    melcher hast du schon mal Age of Discovery angeschaut. Die Indioeinheiten dort sind doch schon nationenspezifisch (wenn auch als eigener Einheitentyp).

  9. #9
    Entdecker Avatar von melcher kürzer
    Registriert seit
    25.06.08
    Beiträge
    1.106
    Nein, habe ich noch nicht. Danke für den Tipp, ich sehe mir das mal an.

  10. #10
    Registrierter Benutzer
    Registriert seit
    13.12.10
    Ort
    Wien, Österreich
    Beiträge
    14
    Zitat Zitat von Akropolis Beitrag anzeigen
    melcher hast du schon mal Age of Discovery angeschaut. Die Indioeinheiten dort sind doch schon nationenspezifisch (wenn auch als eigener Einheitentyp).
    Genau, aber nicht in Basis AoD; die Grafike sind in der Age of Further Discovery modmod, für Azteken, Inka, Iroquois, Cherokee, Apache, Sioux und Maya. Kein für Tupi und Arawak, und am meisteins nür Krieger fur die Anderen.

    Da ist das:
    http://forums.civfanatics.com/showthread.php?t=326342

  11. #11
    Registrierter Benutzer
    Registriert seit
    30.11.08
    Beiträge
    1.563
    Hey Androrc,

    thanks for allowing us to use your unitartstyles. We thought about adding this feature before, hence merging your modcomp with TAC will save me quiet some time.
    Melcher kürzer reported some problems when using formation graphics. In case of not using single units it still shows the original unit models. Any idea how to fix this?

  12. #12
    Entdecker Avatar von melcher kürzer
    Registriert seit
    25.06.08
    Beiträge
    1.106
    Zitat Zitat von koma13 Beitrag anzeigen
    ...Melcher kürzer reported some problems when using formation graphics. In case of not using single units it still shows the original unit models. Any idea how to fix this?
    Actually these are two different problems.
    First, it's not possible to use formations. The requierd entry in the <UnitMeshGroup> (CIV4UnitArtStyleTypeInfos.xml) isn't working.
    Code:
    	<UnitMeshGroup>
    			<iRequired>2</iRequired>
    			<ArtDefineTag>ART_DEF_UNIT_NATIVE_MERC</ArtDefineTag>
    		</UnitMeshGroup>
    Or i miss something?

    The other problem has to do with the colopedia. The unit art in the upper right corner shows the original unit model. I assume this is the same issue as with the wrong interface art.

  13. #13
    Registrierter Benutzer
    Registriert seit
    13.12.10
    Ort
    Wien, Österreich
    Beiträge
    14
    Zitat Zitat von melcher kürzer Beitrag anzeigen
    Actually these are two different problems.
    First, it's not possible to use formations. The requierd entry in the <UnitMeshGroup> (CIV4UnitArtStyleTypeInfos.xml) isn't working.
    Code:
    	<UnitMeshGroup>
    			<iRequired>2</iRequired>
    			<ArtDefineTag>ART_DEF_UNIT_NATIVE_MERC</ArtDefineTag>
    		</UnitMeshGroup>
    Or i miss something?
    In BTS it doesn't have such a field either; the UnitArtStyles doesn't modify the settings like iRequired and such of the MeshGroup, it only replaces the art define tag. If you change it in UnitInfos, it will also be changed for the alternate unit graphic:


    The other problem has to do with the colopedia. The unit art in the upper right corner shows the original unit model. I assume this is the same issue as with the wrong interface art.
    You are correct, it is the same problem. Both use the "addUnitGraphicGFC" command, which I don't know where is defined.

    EDIT: Good news! I managed to make it work correctly. In CvInfos.cpp, changing this:

    Code:
    const CvArtInfoUnit* CvUnitInfo::getArtInfo(int index, int iProfession) const
    {
    	return ARTFILEMGR.getUnitArtInfo(getArtDefineTag(index, iProfession));
    }
    To this:

    Code:
    const CvArtInfoUnit* CvUnitInfo::getArtInfo(int index, int iProfession) const
    {
    	//Androrc UnitArtStyles
    //	return ARTFILEMGR.getUnitArtInfo(getArtDefineTag(index, iProfession));
    	UnitArtStyleTypes eStyle = NO_UNIT_ARTSTYLE;
    	if (GC.getGameINLINE().isFinalInitialized())
    	{
    		eStyle = (UnitArtStyleTypes) GC.getCivilizationInfo(GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getCivilizationType()).getUnitArtStyleType();
    	}
    	return ARTFILEMGR.getUnitArtInfo(getArtDefineTag(index, iProfession, eStyle));
    	//Androrc End
    }
    Makes those work in the interface!
    Geändert von Androrc (15. Dezember 2010 um 02:39 Uhr)

  14. #14
    Entdecker Avatar von melcher kürzer
    Registriert seit
    25.06.08
    Beiträge
    1.106
    Zitat Zitat von Androrc Beitrag anzeigen
    In BTS it doesn't have such a field either; the UnitArtStyles doesn't modify the settings like iRequired and such of the MeshGroup, it only replaces the art define tag. If you change it in UnitInfos, it will also be changed for the alternate unit graphic:
    Thanks for your explanation. I never modified Civ4(:Bts) and didn't know how the UnitArtStyles works.

    Zitat Zitat von Androrc Beitrag anzeigen
    EDIT: Good news! I managed to make it work correctly. ....
    Makes those work in the interface!
    I'm glad that you are able to fix that problem. This is great. I'm so excited about using UnitArtStyles in Colonization(/TAC).

  15. #15
    Registrierter Benutzer
    Registriert seit
    13.12.10
    Ort
    Wien, Österreich
    Beiträge
    14
    Now version 1.2 of UnitArtStyles has been released; it allows setting the same graphics for all units for a particular profession without so much XML work. Only Infos.cpp and the example given in CIV4UnitArtStyleTypeInfos.xml have been changed from version 1.1.

    Check it out in CivFanatics's download database

Seite 1 von 7 12345 ... LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •