• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Unique Ship Cannons not Firing AND Vanderdecken Buyable Steamships

Armada

Sea Dog
Staff member
Administrator
Project Manager
3D Artist
Storm Modder
Discussion split off from Changed boarder model- CTD.

The Pearl/Dutchman may be because of your gunnery level? :?

I have checked that- my 'cannons' and 'accuracy' skills are both 4 (and won't get much higher 1 cannon at a time!)
I've had no problems with any other ships' cannons, so why these two? :modding
Or if it IS my gunnery level causing this, then how high does it need to be to fire ALL the cannons??
 
To fix the steamships find in PROGRAM/Ships/Ships_init.c:
Code:
	refShip.Name = "US_SteamFrigate2";
refShip.SName = "FrigateSteam";
refShip.all		= "Frigate1";
refShip.Nation  	= AMERICA;
refShip.id = refShip.Name;
AND
Code:
	refShip.Name = "FR_SteamFrigate2";
refShip.SName = "FrigateSteam";
refShip.all		= "Frigate1";
refShip.Nation  	= FRANCE;
refShip.id = refShip.Name;
and change these to:
Code:
	refShip.Name = "US_SteamFrigate";
refShip.SName = "FrigateSteam";
refShip.all		= "Frigate1";
refShip.Nation  	= AMERICA;
refShip.id = "US_SteamFrigate2";
AND
Code:
	refShip.Name = "FR_SteamFrigate";
refShip.SName = "FrigateSteam";
refShip.all		= "Frigate1";
refShip.Nation  	= FRANCE;
refShip.id = "FR_SteamFrigate2";
Save and they should now work after you reinit the game after loading your save game (hitting F11) ;)
 
Just tried changing the lines like you said, but even after re-loading and hitting F11, I still got a CTD with a runtime error when I tried to go to sea with a steamship. :?
In the 'Appearance' menu of the shipyard interface, the steamships seem to have no appearances there- just a blank ship with no name (this was there even before I changed the ships.ini file)
Would this have anything to do with it?
 
I installed Beta 1 and then the patch immediately after, so I don't know if the patch affected the steamships.
 
OK thanks here is:

The compile.log

Gauging: StartGauging
Gauging: starting init
Gauging: interface
==> BuildSettings: Sets to default
==> BuildSettings: New settings applied
Gauging: load build settings
Gauging: periods
Gauging: nations
Gauging: preprocessor
Init encounters complete.
Gauging: enc
Gauging: cann
Gauging: ships
Gauging: islands
Init weathers complete. 0 weathers found.
Gauging: weather
Gauging: perks
InitModels: Total number of models: 571
Gauging: models
InitSounds (English): created 59 entries.
InitMusic: created 43 entries.
InitGreetings: created 257 entries.
InitTalks: created 20 entries.
Gauging: Aliases
Gauging: sound
Gauging: goods
Gauging: Storylines
Gauging: Profiles
Main_LogoVideo() 0
PauseAllSounds
proc_break_video()
ResumeAllSounds
Main_LogoVideo() -1
Gauging: initgame start
Gauging: createlayers
Gauging: stores
Gauging: sound
Gauging: delete sea env
Gauging: wdmap
Gauging: islands
Number of locations: 748
Gauging: locations
Gauging: dialogs
Gauging: teleport
bool CreateParticleEntity()
Gauging: particles
Items initialization complete. Loaded 639 items.
Gauging: items
Gauging: char
Gauging: quests
Gauging: sea ai groups
Gauging: questmapenc
Gauging: landenc
Gauging: towns
==> BuildSettings: New settings applied
==> BuildSettings: New settings applied
Gauging: load options
InitSounds (English): created 59 entries.
InitMusic: created 43 entries.
InitGreetings: created 257 entries.
InitTalks: created 20 entries.
Gauging: Aliases
Gauging: infoshow
Gauging: initgame done
Init character names complete.
SETTING MUSIC: music_main_menu
Done loading
bool CreateParticleEntity()
!!! Reload to 739
** Whr: CreateWeatherEnvironment - iCurWeatherhour = 10, theHour = 10
ItemLogic: On load location IslaDeMuerte_Cabin
ItemLogic: found 0 buttons
==> BuildSettings: New settings applied
==> BuildSettings: New settings applied
SETTING MUSIC: music_treasure_cave
Gauging: preprocessor
InitModels: Total number of models: 578
Gauging: Models
Gauging: nosave
Items initialization complete. Loaded 613 items.
Init weathers complete. 0 weathers found.
Init encounters complete.
Gauging: RM mod and rumors
Gauging: towns
Gauging: update all towns
Gauging: itrade update
Gauging: KNB Cannons swap
Gauging: Enc Officers
Gauging: CabinCaptains
SY player level 7. gains access to class 7 and below
GetCharacterShipModel: ShipID=HMS_Surprise
GetCharacterShipModel: returns Surprise
SY sell ship to shipyard, from idx: 144 to slot: ship22
Jack Vanderdecken has gained a new level! (Now level 8)
SY buy ship, idx: 219 slot: ship18
SY player level 8. gains access to class 7 and below
PauseAllSounds
ItemLogic: On unload location
PauseAllSounds
** Whr: CreateWeatherEnvironment - iCurWeatherhour = 10, theHour = 10
Sir, she's coming on to blow!
ItemLogic: On load location ShipDeck6
ItemLogic: found 0 buttons
** Whr: CreateWeatherEnvironment - iCurWeatherhour = 10, theHour = 10
Whr_UpdateWeather finish weather update
SETTING MUSIC: music_spokplavanie
PauseAllSounds
ItemLogic: On unload location
SEA: SeaLogin begin
** Whr: CreateWeatherEnvironment - iCurWeatherhour = 10, theHour = 10
SEA: sealogin loading island IslaDeMuerte

... the system.log

Scanning modules\
Loading modules...
Loaded 0
Reset...
Initializing CORE...
Creating atoms space: 128
done
initializing complete
Initializing DirectX 8
Techniques: 9 shaders compiled.
Techniques: 180 techniques compiled.
Techniques: compiled by 120445922 ticks.
BeginScene
The method call is invalid For example, a method's parameter may have an invalid value
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\.tx
Techniques: 9 shaders compiled.
Techniques: 180 techniques compiled.
Techniques: compiled by 104153791 ticks.
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\CHARACTERS\VANDER1.TGA.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
resource\models\ships\FR_SteamFrigate2\FR_SteamFrigate2.gm: can't open geometry file
WARNING! Can`t model class pointer for ShipModel
WARNING!!! Missing INIT message to ROPE - bad ship model
User Rised Exception
C:\PROJECTS\DRIVE_V2\RIGGING\Vant.cpp line 162
"Bad Vant INIT"

...and the error.log

COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Undeclared identifier: US_SteamFrigate2
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Invalid Expression
COMPILE ERROR - file: ships\ships_init.c; line: 20695
Undeclared identifier: US_SteamFrigate2

I hope this makes a difference.
 
Code:
resource\models\ships\FR_SteamFrigate2\FR_SteamFrigate2.gm: can't open geometry file
You didnt do it propally :no

You did save your changes to ships_init.c didnt you? :?
 
Yes, I definitely saved it- I only changed the 'unique' versions (which I guess are the ones sold by Vanderdecken?)
 
OK I'll try that.
But which bit did I do wrong in the ships_init file??
 
Well your getting an error saying that frigate2 doesnt exist, that is what you changed in the ships_init to make it take the model from frigate but yours is still trying to get it from frigate2 (ie something is wrong)
 
I see.
Well it's one problem after another: I now can't start a new game, it just gives a CTD!!
With every storyline, there is no ship or ship name in the description page.
Did Vanderdecken curse me for good?? :modding
 
FANTASTIC thank you Pieter- that solved the steamships AND the inability to start a new game! :woot

However, the problem of the Pearl and Dutchman cannons still remains- only one fires. :shrug
 
That one I don't understand. Cannons skill of 4 should be enough to make at least all of them fire.
Do you have enough gunpowder and/or cannonballs?
Or maybe you don't have a full crew? That can decrease the number of cannons that fire too.
 
I have plenty enough cannonballs and gunpowder, with a near-full crew.
Either way, I've never seen such a thing with any other ship, even with insufficient crew! :modding
 
Back
Top