Ports Of Call Forum Index Impressum / Contact // data privacy / Datenschutz
 

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

add on questions
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Ports Of Call Forum Index -> XXL User Made Ports, Goods, Vessels
View previous topic :: View next topic  
Author Message
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 16, 2006 10:04 am    Post subject: add on questions Reply with quote

Quote:
CAT399 wrote:

is there a how-to somewhere for all this stuff?
not being able to decipher all the lines in the code means my 65-foot tug comes with bow and stern thrusters by default!!


bits and pieces, some is here under PoC info:

http://mysite.verizon.net/ress3y0n



I believe I added info on "how to" on the web site under poc info
but I can spiffy that up a bit...

as far as bow and stern thrusters are concerned, I add them quite often to tugs, since most tugs are very maneuverable which can not be duplicated in the game without adding a bow thruster.
As far as the stern thruster I tend to add that if the real ship has one or not, for the simple reason that a bow thruster alone does not function properly in the game, i.e. it doesn't "act right"

The game does not accept Voith drives or ferries with 2 engines and 2 rudders (front and rear) so thrusters it is.

to add ships you have to open the file pocxxxl/ships/newships
thats where the pictures go, to alter the xml file you open:
pocxxl/ships/shipxml with wordpad, exel or some such.
add new file on bottom, make sure not to lose any squiggles...

Translated example below:

<ship> - beginning of file
<index>999</index>
<kategorie_typ>CARGO</kategorie_typ> - category, cargo or special
<sub_typ>CARGO</sub_typ> - cargo, container, tanker, passenger
<schiffsname>Hong Lee</schiffsname>
<baujahr>1958</baujahr> - year of build
<sondergueter_code>0</sondergueter_code> - specialfreight 1 = reefer
<statusreq>0</statusreq>
<delivertime>2</delivertime> - counts mostly when new
<flat_cont_TEU>0</flat_cont_TEU> -squashed boxes
<TEU>0</TEU> - boxy boxes
<kuehlschiff TEU>0</kuehlschiff TEU> - cold boxes- reeefer plugs
<laenge>39.5x</laenge> - length
<breite>8.2</breite> - beam
<tiefgang>3.5</tiefgang> -draft
<brt>299</brt> - grt
<dwt>380</dwt> - payload in tons
<nrt>121</nrt> - nrt
<anzahl_passagiere>0</anzahl_passagiere> number of passengers
<firstclass>0</firstclass>
<crew>7</crew>
<betriebskosten>240</betriebskosten> - daily operating cost
<max_geschw>9.4</max_geschw> - max speed in knots
<kw>300</kw> - horsepower (main engine)
<treibstoffverbrauch>100</treibstoffverbrauch> fuel consumption as % of a standard = hp x speedx size / moonphase +day time savings time
<bunkerkap>30</bunkerkap> - fuel tank capacity in tons
<preis_max>560</preis_max> - original price, when new
<bugstrahl>1</bugstrahl> - bow thruster, 1=yes, 0=no
<heckstrahl>1</heckstrahl> - stern thruster 1-yes, 0=no
<traegheit>10</traegheit> - dynamic momentum
<korrosionsfak>0</korrosionsfak> - corrosion factor
<umschlagzeit>1</umschlagzeit> turnaround time given in days, 6 (Patroclus) means you stay in port 6 days....
<sonderschiff_frachtart>-</sonderschiff_frachtart> - forgot
<moegliche_optionen>0</moegliche_optionen> possible options (99 = Tanker)
<bildinforeferenz>B-Hong_Lee</bildinforeferenz> - name of picture file
<sonderinfos>-</sonderinfos> -special info
<flagge>china</flagge> - flag of registry or origin
<werft>tsintao</werft> yard (skibvaerft)
<flags>-</flags> - no clue
<cars>-</cars> - cargo, be careful with the difference between game and addon ro ro freight or she will sink !
<trailers>-</trailers> - ditto
<maxshipavailable>12</maxshipavailable>
<rentingcostperday>0</rentingcostperday>
<stretchcostperbed>0</stretchcostperbed>
<smallwater>0</smallwater>
<harbourships>0</harbourships>
<waterline>75</waterline> determines where in the window the ship "sits"
<sndfile>cont01</sndfile>
<sndscale>1.5</sndscale>
<sndoffset>6</sndoffset>
</ship> -end

There are some finer points, codes and such but I hope this helps,
_________________
Frohe Reise, Bearsie.


Last edited by Bearsie on Thu Nov 16, 2006 10:13 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 16, 2006 10:11 am    Post subject: add ons Reply with quote

goods are in: pocxxl/town/good
Harbors: poxxl/town/image2 and map
there is always a picture file and the same file as xml which is a word file
and all sorts of nifty other files.
RDK had great fun putting lots of files into the Game Wink
_________________
Frohe Reise, Bearsie.


Last edited by Bearsie on Thu Nov 16, 2006 10:16 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
StickyMonk
PoC Veteran
Special Licensee
PoC Veteran<br>Special Licensee


Joined: 28 Aug 2006
Posts: 676
Location: South lincolnshire England

PostPosted: Thu Nov 16, 2006 10:13 am    Post subject: Re: add on questions Reply with quote

Bearsie wrote:

<flags>-</flags> - no clue


This can be st3, st4 or st5, it is the star rating for passenger ships 3 star 4 star or 5 star.

Bearsie wrote:

<rentingcostperday>0</rentingcostperday>
<stretchcostperbed>0</stretchcostperbed>
<smallwater>0</smallwater>
<harbourships>0</harbourships>


I would love to know what these are for as they are not implimented in XXL
_________________
Cheers
Matthew

for my ships,cargo and harbors don't visit my web site as they are not there anymore
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 16, 2006 10:19 am    Post subject: Re: add on questions Reply with quote

StickyMonk wrote:
Bearsie wrote:

<flags>-</flags> - no clue


This can be st3, st4 or st5, it is the star rating for passenger ships 3 star 4 star or 5 star.

Bearsie wrote:

<rentingcostperday>0</rentingcostperday> cost of stewardess for the captain
<stretchcostperbed>0</stretchcostperbed> cost of stretching the bed for extra tall stewardess
<smallwater>0</smallwater> rollers mounted on the harbor bottom for waterless harbors
<harbourships>0</harbourships> amount of launches permitted to the captain in any harbor based on years of service


I would love to know what these are for as they are not implimented in XXL


I would take the above "explanations" with a grain of salt Wink

especially item 2 on a small coaster could get rather expensive....
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
CatD399
PoC Veteran
Gold Licensee
PoC Veteran<br>Gold Licensee


Joined: 14 Dec 2002
Posts: 126
Location: Stella, ON

PostPosted: Thu Nov 16, 2006 5:54 pm    Post subject: Reply with quote

lol!
but the flags i believe i've seen ''surface'' for the ecranoplane (WIG?).
thanks for the help guys! it sheds light on the stuff i hadn't figured out!
_________________
2003:I've worked on MTU engines this summer; when I die i'll probably go to heaven, since i've been through hell already....

2005 Update: the Cummins V12-525M takes the crown...what a piece of junk!!!
Back to top
View user's profile Send private message MSN Messenger
CatD399
PoC Veteran
Gold Licensee
PoC Veteran<br>Gold Licensee


Joined: 14 Dec 2002
Posts: 126
Location: Stella, ON

PostPosted: Wed Nov 22, 2006 3:42 pm    Post subject: Reply with quote

hey guys,

any limitations on the png file sizes? any known glitch during picture <fabriction> that would cause the png file not to show up in the game?

my problem so far: my tug Nelson River shows up perfectly in the game, the Churchill River does not. Both are derived on the same image, the Churchill having had some modifications to itself and its barge, (with the mask being matched to the new image). The names in the bildinforeferenz line are correct. Currently i'm using ms paint as ''shipyard tool''. So what could cause this? Does the mask have to be pixel-perfect for it to work or what? This is starting to get frustrating as even my liner 'Polar Princess' is doing that....

thanks for your help...
_________________
2003:I've worked on MTU engines this summer; when I die i'll probably go to heaven, since i've been through hell already....

2005 Update: the Cummins V12-525M takes the crown...what a piece of junk!!!
Back to top
View user's profile Send private message MSN Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 23, 2006 1:03 am    Post subject: picture Reply with quote

I assume the ship itself is listed at the broker, only the picture doesnt show?
picture shouldnt exceed 450 by 150 pixel or so or it wont show.
as long as there is a mask, a mistake doesnt matter, all that does is to give you white spots and such.
however there can be NO typo between the png file and the mask, or there will be no pic

ergo: ship.png and ship_m.png
and no typo in the line: <bildinforeferenz>
and the png file is parked in: pocxxl/ships/newships ?
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 23, 2006 1:04 am    Post subject: Reply with quote

Maybe installing a quality MaK engine will help ? Wink Razz
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
StickyMonk
PoC Veteran
Special Licensee
PoC Veteran<br>Special Licensee


Joined: 28 Aug 2006
Posts: 676
Location: South lincolnshire England

PostPosted: Thu Nov 23, 2006 9:20 am    Post subject: Reply with quote

Also the pic and the mask must be exact pixel size, I spent a while wondering why one of my ships wasnt working and the size was 164x63 the other was 164x62 didnt notice 1 pixel out from the top......

If you want to send the png files to me I shall have a look.
_________________
Cheers
Matthew

for my ships,cargo and harbors don't visit my web site as they are not there anymore
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 23, 2006 12:19 pm    Post subject: Reply with quote

StickyMonk wrote:
Also the pic and the mask must be exact pixel size, I spent a while wondering why one of my ships wasnt working and the size was 164x63 the other was 164x62 didnt notice 1 pixel out from the top......

If you want to send the png files to me I shall have a look.



Never tried that.
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Thu Nov 23, 2006 12:19 pm    Post subject: Reply with quote

Next question: Do you only get a blue field?
or ocean and sky but no ship?
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
CatD399
PoC Veteran
Gold Licensee
PoC Veteran<br>Gold Licensee


Joined: 14 Dec 2002
Posts: 126
Location: Stella, ON

PostPosted: Fri Nov 24, 2006 4:16 am    Post subject: Reply with quote

Bearsie wrote:
Next question: Do you only get a blue field?
or ocean and sky but no ship?


blue field only; when i work on the mask, i take the actual picture of the vessel and turn it white on black pixel by pixel, so i don't think the dimensions are mismatched. the naming of the files is also spot on.

right now i'm at home for a while so i'll have a little time in the evenings to work on it; thanks for the offers and the help...
_________________
2003:I've worked on MTU engines this summer; when I die i'll probably go to heaven, since i've been through hell already....

2005 Update: the Cummins V12-525M takes the crown...what a piece of junk!!!
Back to top
View user's profile Send private message MSN Messenger
StickyMonk
PoC Veteran
Special Licensee
PoC Veteran<br>Special Licensee


Joined: 28 Aug 2006
Posts: 676
Location: South lincolnshire England

PostPosted: Fri Nov 24, 2006 8:08 am    Post subject: Reply with quote

You do keep the same colour pallet for both the mask and the ship view?
_________________
Cheers
Matthew

for my ships,cargo and harbors don't visit my web site as they are not there anymore
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
CatD399
PoC Veteran
Gold Licensee
PoC Veteran<br>Gold Licensee


Joined: 14 Dec 2002
Posts: 126
Location: Stella, ON

PostPosted: Sun Nov 26, 2006 12:01 am    Post subject: Reply with quote

StickyMonk wrote:
You do keep the same colour pallet for both the mask and the ship view?


what do you mean by that?
Question


the way i usually proceed is to take a photo, resize it and then use mspaint to ''cut out'' the ship, which ends up on the grey background.
i take that same image, turn the grey into either bright red or blue-green so that i can turn the ship's pixels white. once that's done i turn the red or blue-green back to black, completing the mask. it has worked perfectly for the nelson river, but won't work for the others.....
_________________
2003:I've worked on MTU engines this summer; when I die i'll probably go to heaven, since i've been through hell already....

2005 Update: the Cummins V12-525M takes the crown...what a piece of junk!!!
Back to top
View user's profile Send private message MSN Messenger
Bearsie
PoC Regular
Unlicensed
PoC Regular<br>Unlicensed


Joined: 23 Feb 2005
Posts: 1161
Location: North of Kvaerner Yard, Philadelphia, USA

PostPosted: Sun Nov 26, 2006 1:00 am    Post subject: png Reply with quote

send me all 3 files please
email : apolda@verizon.net

I have a few minutes to look
as of 19:59 philly time Very Happy
_________________
Frohe Reise, Bearsie.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Ports Of Call Forum Index -> XXL User Made Ports, Goods, Vessels All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group