Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 20 21 22 [23] 24 25   Go Down

Author Topic: Kriegsmarine Pack - Scharnhorst Battle Cruiser, Prinz Eugen Heavy Cruiser, K Class Light Cruiser, Pre-Dreadnought Schleswig Holstein, T-22 Torpedo Boat and M Class Escort  (Read 59144 times)

0 Members and 1 Guest are viewing this topic.

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5452

... many THX, Ashes, now we need a mod to render this mine sweep deploying gear active in the game, since we already have a naval mines mod ...!  :D

https://www.sas1946.com/main/index.php/topic,46588.0.html
Logged

Mission_bug

  • Modder
  • member
  • Offline Offline
  • Posts: 6057

Added the M Class Escort to the existing pack, all okay, thank you very much, really appreciated. 8)


Take care and be safe.


Wishing you all the very best, Pete. ;D
Logged

WWIIBuff65

  • member
  • Offline Offline
  • Posts: 23

I cannot find the "weapons section" for the life of me -- Did you mean "armament" section  instead?  Where exactly does this file live in ships.ini?


Ships.ini - Weapons Section

[gun_MG_C38x2]
Gun                MachineGunFlak38x2_20mm
AttackMaxDistance     2450.0
AttackMaxRadius       2450.0
AttackMaxHeight       2450.0
HeadMinYaw               0
HeadMaxYaw             360
GunMinPitch            -11.0
GunMaxPitch            +85.0
HeadMaxYawSpeed         30.0
GunMaxPitchSpeed        30.0
ChainfireTime            2.5
DelayAfterShoot          2.95
Logged

WWIIBuff65

  • member
  • Offline Offline
  • Posts: 23

SOLVED - you must have meant section: "User-defined sections with gun parameters" where I found similar C38 mgs....but for the love of God, Please just just call the section by its name in the mod installation notes -- not all of us are master modders!
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9524
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here

....but for the love of God, Please just just call the section by its name in the mod installation notes -- not all of us are master modders!
:D   :D    :D
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255

In response to a question by RobotSpark -
The correct entry in stationary.ini for the Scharnhorst is
Code: [Select]
Scharnhorst                ships.ShipAsheKM$Scharnhorst          2
First ensure that the chief.ini text entries are correct and that the moving ship version works correctly.
Logged

RobotSpark

  • member
  • Offline Offline
  • Posts: 12

I tried that, and it still isn't working - it works perfectly as a moving ship, but not as a stationary ship. Is there anything I'm missing? I'll post the log here again for others to see:

Code: [Select]
[11:29:03 AM] null
[11:29:03 AM] java.lang.NullPointerException
[11:29:03 AM] at com.maddox.il2.ai.AirportCarrier.<init>(AirportCarrier.java:124)
[11:29:03 AM] at com.maddox.il2.objects.ships.BigshipGeneric.createAirport(BigshipGeneric.java:5758)
[11:29:03 AM] at com.maddox.il2.objects.ships.BigshipGeneric.<init>(BigshipGeneric.java:2121)
[11:29:03 AM] at com.maddox.il2.objects.ships.BigshipGeneric.<init>(BigshipGeneric.java:2008)
[11:29:03 AM] at com.maddox.il2.objects.ships.ShipAsheKM$Scharnhorst.<init>(ShipAsheKM.java:92)
[11:29:03 AM] at java.lang.Class.newInstance0(Native Method)
[11:29:03 AM] at java.lang.Class.newInstance(Unknown Source)
[11:29:03 AM] at com.maddox.il2.objects.ships.BigshipGeneric$SPAWN.actorSpawn(BigshipGeneric.java:4977)
[11:29:03 AM] at com.maddox.il2.builder.PlMisStatic.insert(PlMisStatic.java:556)
[11:29:03 AM] at com.maddox.il2.builder.PlMisStatic.insert(PlMisStatic.java:617)
[11:29:03 AM] at com.maddox.il2.builder.Plugin.doInsert(Plugin.java:211)
[11:29:03 AM] at com.maddox.il2.builder.Builder.insert(Builder.java:2483)
[11:29:03 AM] at com.maddox.il2.builder.Builder.access$14(Builder.java:2465)
[11:29:03 AM] at com.maddox.il2.builder.Builder$17.begin(Builder.java:1833)
[11:29:03 AM] at com.maddox.rts.HotKeyCmd.start(HotKeyCmd.java:103)
[11:29:03 AM] at com.maddox.rts.HotKeyEnv.startCmd(HotKeyEnv.java:247)
[11:29:03 AM] at com.maddox.rts.HotKeyEnv.keyPress(HotKeyEnv.java:271)
[11:29:03 AM] at com.maddox.rts.HotKey.msgMouseButton(HotKey.java:108)
[11:29:03 AM] at com.maddox.rts.MsgMouse.invokeListener(MsgMouse.java:98)
[11:29:03 AM] at com.maddox.rts.Message._send(Message.java:1217)
[11:29:03 AM] at com.maddox.rts.Message.sendToObject(Message.java:1191)
[11:29:03 AM] at com.maddox.rts.Message.sendToArray(Message.java:1147)
[11:29:03 AM] at com.maddox.rts.Message.sendTo(Message.java:1128)
[11:29:03 AM] at com.maddox.rts.Message.trySend(Message.java:1115)
[11:29:03 AM] at com.maddox.rts.Time.loopMessages(Time.java:180)
[11:29:03 AM] at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
[11:29:03 AM] at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
[11:29:03 AM] at com.maddox.il2.game.Main.exec(Main.java:479)
[11:29:03 AM] at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
[11:29:03 AM] SPAWN: Can't create Ship object [class:com.maddox.il2.objects.ships.ShipAsheKM$Scharnhorst]
[11:29:03 AM] null
[11:29:03 AM] java.lang.NullPointerException
[11:29:03 AM] at com.maddox.il2.builder.Builder.align(Builder.java:622)
[11:29:03 AM] at com.maddox.il2.builder.PlMisStatic.insert(PlMisStatic.java:576)
[11:29:03 AM] at com.maddox.il2.builder.PlMisStatic.insert(PlMisStatic.java:617)
[11:29:03 AM] at com.maddox.il2.builder.Plugin.doInsert(Plugin.java:211)
[11:29:03 AM] at com.maddox.il2.builder.Builder.insert(Builder.java:2483)
[11:29:03 AM] at com.maddox.il2.builder.Builder.access$14(Builder.java:2465)
[11:29:03 AM] at com.maddox.il2.builder.Builder$17.begin(Builder.java:1833)
[11:29:03 AM] at com.maddox.rts.HotKeyCmd.start(HotKeyCmd.java:103)
[11:29:03 AM] at com.maddox.rts.HotKeyEnv.startCmd(HotKeyEnv.java:247)
[11:29:03 AM] at com.maddox.rts.HotKeyEnv.keyPress(HotKeyEnv.java:271)
[11:29:03 AM] at com.maddox.rts.HotKey.msgMouseButton(HotKey.java:108)
[11:29:03 AM] at com.maddox.rts.MsgMouse.invokeListener(MsgMouse.java:98)
[11:29:03 AM] at com.maddox.rts.Message._send(Message.java:1217)
[11:29:03 AM] at com.maddox.rts.Message.sendToObject(Message.java:1191)
[11:29:03 AM] at com.maddox.rts.Message.sendToArray(Message.java:1147)
[11:29:03 AM] at com.maddox.rts.Message.sendTo(Message.java:1128)
[11:29:03 AM] at com.maddox.rts.Message.trySend(Message.java:1115)
[11:29:03 AM] at com.maddox.rts.Time.loopMessages(Time.java:180)
[11:29:03 AM] at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
[11:29:03 AM] at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
[11:29:03 AM] at com.maddox.il2.game.Main.exec(Main.java:479)
[11:29:03 AM] at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
[Feb 2, 2022 11:30:05 AM] -------------- END log session -------------
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9524
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here

I tried that, and it still isn't working - it works perfectly as a moving ship, but not as a stationary ship.
Please try this :
In the ships.ini file, disable the line : IsAirport      1


[Scharnhorst]
Description  Scharnhorst Class Battlecruiser
Icon         shipDestroyer

// Model
Mesh         3do/Ships/Scharnhorst/Hier.him

// Motion Parameters
SliderDistance 296.25
Speed          26.39 //65.746
SoundMove      models.Ship

//IsAirport      1
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255

Interesting.
Not seen the problem before.
The IsAirport function is just added to enable you to view the models up close.
Do others have the same problem?
Is it related to memory allocation?
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5452

... well, when I discovered the IsAirport function a while back, I was so enthused that I added it to nearly all of my ships (even the non aircraft carriers) ...

The big advantage being you can see your own Stationary Ships, or the enemy ones, when using the CTRL+F2 to scroll from one enemy AC to the other ...  ;)

But, the drawback is, when you don't need to see the Stationary Ships, well you just can't skip them, and going from the first ship to the last one can be extremely long  ...  :-X

So I deleted the function, except for the aircraft carriers (I think this function was made for them) ...  ;)

Maybe the Scharnhorst has the IsAirport function because she had two catapults and carried 4 Arado Ar 196A ...  ;)

Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9524
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here

Interesting.
Not seen the problem before.
The IsAirport function is just added to enable you to view the models up close.
Do others have the same problem?
Is it related to memory allocation?
In my UP2.01 I have no problem with this function... but I only reserve it for CV/BB/CA/CL!
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -
Pages: 1 ... 20 21 22 [23] 24 25   Go Up
 

Page created in 0.03 seconds with 26 queries.