Jump to content

#10003 error p40e1: You cannot load the p40E1 with Mods On - FIXED


Recommended Posts

Posted (edited)

Hi bug fixers ... i have a weird one, seems only P40E1 plane related.

 

No installed mods !. With mods on i ALWAYS get this ONLY with P40E1 (as player) in any mission or campaign:

 

-10003error.jpg.39ef887eddf50f10a5062cd8e3f0cfeb.jpg

 

Now when i turn OFF mods in game settings totally, there is no problem at all.

 

Tried all sorts of options, even a totally new installation: i cannot find a clue.

 

 

Edited by jollyjack
Posted (edited)

Have you made an changes in the data/LuaScripts/worldobjects/planes/p40e1.txt file?  I get this message when I play around with the parameters at the bottom of the file.  Some you can change with no problem, others are a modification to the file and it won't play.  If it only happens with Mods On then there is some mod making changes to that file (or perhaps another one).

Edited by czech693
354thFG_Drewm3i-VR
Posted (edited)

Edit: didn't read title fully. @LukeFF Please delete, thanks.

Edited by =DW=_Drewm3i-VR
sherlockwatson481
Posted

Hi

        Just got similar problem.But after reading czech693 post I checked LuaScript I found all planes were Planes I was using in Papua New Guinea Mod.Tried to fly them

in Main Game and got same message for each Plane as in JollyJack post.After disabling the PNGMod mods via JGSME planes have all gone back to working in Main game,

Don't know if this will help.

Posted (edited)
17 hours ago, czech693 said:

Have you made an changes in the data/LuaScripts/worldobjects/planes/p40e1.txt file?  I get this message when I play around with the parameters at the bottom of the file.  Some you can change with no problem, others are a modification to the file and it won't play.  If it only happens with Mods On then there is some mod making changes to that file (or perhaps another one).

 

The only changes i made are fixcameras in G:\IL-2 Sturmovik Great Battles\data\LuaScripts\worldobjects\fixcameras\planes.

For the first one in almost each plane, always worked, so that Alt F2 gives a direct view forwards over the cockpit.

For the P40e1:

===================================================

// attach ID should be in range from 100 to 110
// first number is forward - backward (bigger is forward)
// second number is height (bigger is higher)
// third number is left - right (negative is left)
// rotation values : 1st along X-longitudinal, 2nd along Y-vertical, 3rd along Z-look up-down)


[attach=100] // Gun camera over the cockpit
    position = 0.5, 1.2, 0.0
    rotation = 0, 0, 0
    convex = "Cockpit_Mid_0"
    object = "LuaScripts/WorldObjects/GoProCamera75.txt"
[end]

[attach=101] // Forward camera located on the vertical fin
    position = -5.5, 1.5, 0.0
    rotation = 0, 0, -10
    convex = "Fin_Ctl_1"
    object = "LuaScripts/WorldObjects/GoProCamera90.txt"
[end]

[attach=102] // Forward camera located on the horizontal fin
    position = -5.0, 0.4, -1.6
    rotation = 0, 0, 0
    convex = "Stab_L_1"
    object = "LuaScripts/WorldObjects/GoProCamera90.txt"
[end]

[attach=103] // Backward camera located on the engine cowling
    position = 1.4, 0.9, -0.0
    rotation = 0, 170, -5
    object = "LuaScripts/WorldObjects/GoProCamera90.txt"
[end]

[attach=104] // Side camera located on wing
    position = 1.1, -0.3, -4.5
    rotation = 0, 80, -5
    convex = "WingL_Out_0"
    object = "LuaScripts/WorldObjects/GoProCamera90.txt"
[end]

[attach=105] // Forward camera located below the plane tail
    position = -5.0, -0.5, -0.4
    rotation = 0, 0, 0
    convex = "Fuse_Ctl_7"
    object = "LuaScripts/WorldObjects/GoProCamera90.txt"
[end]// attach ID shold be in range from 100 to 110

 

========================================

But with Mods Off the p40E1 loads ... only it seems for ALL planes, my fixcamara edits won't work generally.

 

In general i feel the bug is that you cannot load the p40E1 anyhow with mods on ..

 

 

Edited by jollyjack
Posted (edited)
17 hours ago, czech693 said:

Have you made an changes in the data/LuaScripts/worldobjects/planes/p40e1.txt file?  I get this message when I play around with the parameters at the bottom of the file.  Some you can change with no problem, others are a modification to the file and it won't play.  If it only happens with Mods On then there is some mod making changes to that file (or perhaps another one).

 

Hi Czech, Can you post your correct "data/LuaScripts/worldobjects/planes/p40e1.txt file" maybe? Can have a look then.

 

PS i noticed with game 5.202 that all the default fixcameras plane.txt have changed in data/LuaScripts/worldobjects/fixcameras/planes ...

 

 

All headers read:
// attach ID shold be in range from 100 to 110
// do not set fixcamera close to weapon mod turrets - this may cause VR troubles

 

It was: 

// attach ID should be in range from 100 to 110
// first number is forward - backward (bigger is forward)
// second number is height (bigger is higher)
// third number is left - right (negative is left)
// rotation values : 1st along X-longitudinal, 2nd along Y-vertical, 3rd along Z-look up-down)

Edited by jollyjack
  • jollyjack changed the title to #10003 error p40e1: You cannot load the p40E1 with Mods On ?
Posted
9 hours ago, jollyjack said:

 

========================================

But with Mods Off the p40E1 loads ... only it seems for ALL planes, my fixcamara edits won't work generally.

 

In general i feel the bug is that you cannot load the p40E1 anyhow with mods on ..

 

 

 

Definitely a problem at your end. I've many mods running and have no issues with the P40.

Posted (edited)
11 hours ago, jollyjack said:

 

Hi Czech, Can you post your correct "data/LuaScripts/worldobjects/planes/p40e1.txt file" maybe? Can have a look then.

 

PS i noticed with game 5.202 that all the default fixcameras plane.txt have changed in data/LuaScripts/worldobjects/fixcameras/planes ...

 

 

All headers read:
// attach ID shold be in range from 100 to 110
// do not set fixcamera close to weapon mod turrets - this may cause VR troubles

 

It was: 

// attach ID should be in range from 100 to 110
// first number is forward - backward (bigger is forward)
// second number is height (bigger is higher)
// third number is left - right (negative is left)
// rotation values : 1st along X-longitudinal, 2nd along Y-vertical, 3rd along Z-look up-down)

 

Here you go.  I also run with P-40 with mods enable and no problems.

 

 

p40e1.txt

Edited by czech693
  • Thanks 1
Posted

I could be wrong, but I do not believe that an unmodded game has a worldobjects folder under luascripts. Looking at my beta install I only see the snapviews folder and file cbalancer.cfg in the data/luascripts folder.

 

If you disable mods in jsgme or whatever I don't think you should be able to see text files for planes under luascripts. I think you should look in your collection of mods for the p40e1.txt file - my guess is that one of them has it and it is out of sync with 5.202 or has been changed more than the game allows or perhaps you have orphaned mod files in your install.

Posted (edited)
7 hours ago, Stonehouse said:

I could be wrong, but I do not believe that an unmodded game has a worldobjects folder under luascripts. Looking at my beta install I only see the snapviews folder and file cbalancer.cfg in the data/luascripts folder.

 

If you disable mods in jsgme or whatever I don't think you should be able to see text files for planes under luascripts. I think you should look in your collection of mods for the p40e1.txt file - my guess is that one of them has it and it is out of sync with 5.202 or has been changed more than the game allows or perhaps you have orphaned mod files in your install.

 

You are right .... i had a worldobjects un gtp-ed folder sill active probably causing the p40E1 errors.

A lesson for me that i should always use JSGME instead of setting things up manually.

Did some further testing and exported a fresh worldobjects folder from the Scripts.GTP and now it's OK. Thanks!

Edited by jollyjack
  • jollyjack changed the title to #10003 error p40e1: You cannot load the p40E1 with Mods On - FIXED

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...