View previous topic :: View next topic |
Author |
Message |
tiefenwechsel PoC Visitor Unlicensed
Joined: 12 Oct 2007 Posts: 6
|
Posted: Sat Dec 01, 2007 6:29 pm Post subject: harbi123a.jpg in der neuen XML-Struktur |
|
|
N'Abend allerseits,
was muss ich denn mit den harbi123a.jpg anstellen, wenn ich will, dass sie beim passenden Hafen auftauchen? Funktioniert das nach wie vor über die Indexnummer in der XML-Datei?
Wenn ich mich recht entsinne, hatte der Hafen mit Index 122 die Bilder harbi123a.jpg und 123b.jpg.
Thilo |
|
Back to top |
|
|
Christian Todt PoC Veteran Platinum Licensee
Joined: 21 Mar 2003 Posts: 1057 Location: Hamburg, Germany
|
Posted: Sat Dec 01, 2007 8:06 pm Post subject: |
|
|
hallo tiefenwechsel,
in der neuen ordnerstruktur sind die bilder bisher noch nicht vorgesehen.
laut eines threads (ich weiß gerade nicht welchem) arbeitet rdk daran
und die bilder werden in der nächsten version von poc xxl unterstützt.
CT |
|
Back to top |
|
|
rdklein PoC Veteran Admin
Joined: 06 Aug 2002 Posts: 5293 Location: Germany
|
Posted: Sun Dec 02, 2007 8:33 am Post subject: |
|
|
im moment würde der index funktionieren, aber wenn ein neuer hafen hinzugefuegt wird werden die indizi neu vergeben und es stimmt dann nicht mehr,
ein wenig warten ich werde in kuerze das neue konzept releasen, ist aber dann einfach hinzuzufuegen wie bei den maps... |
|
Back to top |
|
|
tiefenwechsel PoC Visitor Unlicensed
Joined: 12 Oct 2007 Posts: 6
|
Posted: Fri Dec 21, 2007 9:57 pm Post subject: |
|
|
Ich habe mir im Moment die alten Addons ins neue Spiel rübergefummelt und gesehen, dass es tatsächlich auch noch den aufgebohrten alten Dateien (town.xml, ships.xml und goods.xml) klappt.
Habe aber schon befürchtet, dass der Erfolg nicht von Dauer sein wird ...
Thilo |
|
Back to top |
|
|
rdklein PoC Veteran Admin
Joined: 06 Aug 2002 Posts: 5293 Location: Germany
|
Posted: Sat Dec 22, 2007 3:04 pm Post subject: |
|
|
wird in kürze upgedated,
sieht dann so aus:
beispiel der xml datei:
<bildinfostadtnummer>las_palmas.png</bildinfostadtnummer>
las_palmas_harbi0a.jpg
las_palmas_harbi0b.jpg
las_palmas_harbi0c.jpg
damit wird dann das stadtbild definiert.
also "stadtname"_harbi0a.jpg
istd as erste bild (b c d falls mehrere vorhanden sind). |
|
Back to top |
|
|
ricardo PoC Veteran Platinum Licensee
Joined: 12 Jul 2005 Posts: 128 Location: Southern Tip of Africa
|
Posted: Sat Dec 29, 2007 7:37 am Post subject: Additional Ports |
|
|
Mr Klein, From what I gather is that you put the new port i would like to add in the addons file in th XML-format. This does not have to be pre-numbered as previously? Maybe if you could put the explanation in English please?????????????????????????
Thank you and compliments of the Season
From the friendly City in South Africa |
|
Back to top |
|
|
rdklein PoC Veteran Admin
Joined: 06 Aug 2002 Posts: 5293 Location: Germany
|
Posted: Sat Dec 29, 2007 8:35 am Post subject: |
|
|
yes the number is "0" , I search for the name of the "bildinfostadtnummer" tag and add a_harbi0 and then a,b,c,d,e,f whatever I find plus jpg.
The bildinfostadtnummer is used for the maps also means (imageinfonumber)
actual its a name not a number but that was historic named.
-
so you have to define then bildinfostadtnummer with a unique name of the town for example, and then add just _harbi0a.jpg for the actual filename. |
|
Back to top |
|
|
ricardo PoC Veteran Platinum Licensee
Joined: 12 Jul 2005 Posts: 128 Location: Southern Tip of Africa
|
Posted: Sun Dec 30, 2007 8:17 pm Post subject: Adding More Harbours and ships |
|
|
So what happens with the maps when adding more harbours.
Do they also follow a certain file-format????????
Thank you for the prompt reply |
|
Back to top |
|
|
rdklein PoC Veteran Admin
Joined: 06 Aug 2002 Posts: 5293 Location: Germany
|
Posted: Mon Dec 31, 2007 9:22 am Post subject: |
|
|
yes the maps a named as bildinfostadtnummer like las_palmas.png
is used as map for las palmas,
so its no longer dependant on the index.
The old harbours keep the old mechanisum. |
|
Back to top |
|
|
ANR PoC Veteran Platinum Licensee
Joined: 16 Nov 2003 Posts: 478 Location: Denmark
|
Posted: Mon Dec 31, 2007 2:25 pm Post subject: |
|
|
Just a Couple of questions.
1. What do I do, if the name is Gioia Tauro, with no _ between the two words, in the XML file.
2. Is this correct Gioia_Tauro_harbi256a.jpg, because, if it is it will not show, in my game.
3. Where do I place the new "harbi pictures", in the game.
If I place them together with the PNF maps, they will not show correct.
Does I have to make a seperate map, for the pictures.
PS. maybe I am a little stupid on this. _________________ Poc is a lifestyle |
|
Back to top |
|
|
rdklein PoC Veteran Admin
Joined: 06 Aug 2002 Posts: 5293 Location: Germany
|
Posted: Mon Dec 31, 2007 4:41 pm Post subject: |
|
|
ANR wrote: | Just a Couple of questions.
1. What do I do, if the name is Gioia Tauro, with no _ between the two words, in the XML file.
2. Is this correct Gioia_Tauro_harbi256a.jpg, because, if it is it will not show, in my game.
3. Where do I place the new "harbi pictures", in the game.
If I place them together with the PNF maps, they will not show correct.
Does I have to make a seperate map, for the pictures.
PS. maybe I am a little stupid on this. |
fiorst you should define the line
<bildinfostadtnummer>Gioia_Tauro.png</bildinfostadtnummer>
this is then also the map filename: Gioia_Tauro.png
-
you ycopy it in the user_addons/harbors where also the xml file is located. |
|
Back to top |
|
|
ANR PoC Veteran Platinum Licensee
Joined: 16 Nov 2003 Posts: 478 Location: Denmark
|
Posted: Tue Jan 01, 2008 3:10 pm Post subject: |
|
|
I give up, becaus this will not work, no matter what I do. _________________ Poc is a lifestyle |
|
Back to top |
|
|
ANR PoC Veteran Platinum Licensee
Joined: 16 Nov 2003 Posts: 478 Location: Denmark
|
Posted: Tue Jan 01, 2008 7:59 pm Post subject: |
|
|
I have renamed my pictures like this Dampierharbi253a.jpg,
but when I enter Dampier port, the pictures it shows, is the pictures from
Gioia Tauro, and they are named Gioia Tauroharbi256a.jpg.
And that I dont understand.
The Dampier have the number 253, in my XML File, and the Gioia Tauro file goes by the number of 255, in the XML. file.
Can someone maybe see, whats wrong. _________________ Poc is a lifestyle |
|
Back to top |
|
|
Christian Todt PoC Veteran Platinum Licensee
Joined: 21 Mar 2003 Posts: 1057 Location: Hamburg, Germany
|
Posted: Tue Jan 01, 2008 9:11 pm Post subject: |
|
|
ANR,
use the new addon function which rdk implemented.
that will be much easier for you.
CT _________________ Navigare neccesse est |
|
Back to top |
|
|
Guest Guest
|
Posted: Tue Jan 01, 2008 9:14 pm Post subject: -- post deleted -- |
|
|
-- post deleted -- |
|
Back to top |
|
|
|