View Single Post
Old 06-26-13, 05:33 AM   #15
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Quote:
Just realized that some objects in ship_cargo.GR2 are not set in CargoDef.cfg. They are:

jeep1
Firetruck
Willis
I did a test and added these to the cargodef.cfg as new entries, like this:

[CargoEntry 14]
NodeName=Jeep
LinkName=jeep1
StartDate=19380101
EndDate=19451231
CargoType=0

[CargoEntry 15]
NodeName=Firetruck
LinkName=Firetruck
StartDate=19380101
EndDate=19451231
CargoType=0


And it worked! I could select them from the mission editor, and they appeared in game also. Yep, the jeep is missing textures, and the Willis-car could maybe use better textures, looks a bit ugly to me. But I don't know anything about the UV-stuff (and I don't want to know ).

I did another test as well, I think the most important test so far. I modded the Coastal Waters campaign, so that all the random traffic cargo ships have some external cargo. I added k-nodes to HogIsland ships and started a new campaign. While patrolling near Poland I met this one HogIslander, and yes it had external cargo! So this is a random ship, I haven't placed manually any cargo to it.



Everything seems to work so far!
Rongel is offline   Reply With Quote