Requesting help for blender issues

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

unheardof
Posts: 20
Joined: Tue, 18. May 21, 22:48
x4

Requesting help for blender issues

Post by unheardof »

so i managed to get a nice remodel of the new Raleigh transport ship managed to get it to export and also load in to the game at the custom start screen ship looks as model in blender no issues seen after loading into the game the ship then has missing parts (guessing faces here) of the right wing which i duplicated from the right one then mirrored not sure what the issue is here
the second issue is the licence id code that would normally show the serial number of the ship only displays all capital A's not the actual serial number i have not done any modification to this
the third issue is the logo the original logo on the left wing works fine but the duplicated one on the right wing does not show anything and i can not tell if it is actually there
i tried comparing a pre imported dae file to the exported one in notepad ++ for the 2nd and third issues but the the line items under fx_licence have changed greatly and im not sure if it is the same issue blender has with
supporting long file names (example: anim_landing_gear_f_piston_01Xlod0XgenericXgeneric_p1_hulltextu ) (should be this: anim_landing_gear_f_piston_01Xlod0XgenericXgeneric_p1_hulltexture_01_aged )

any help or ideas would be greatly appreciated

here are links to the blender file and dae file im currently using if anyone wants a closer look at the files
note: im using blender version 2.79

https://www.dropbox.com/s/9d7xy04lv6gfc ... blend?dl=0

https://www.dropbox.com/s/y65xil8vxse7k ... t.dae?dl=0
DeadAirRT
Posts: 1124
Joined: Fri, 25. Jan 19, 03:26
x4

Re: Requesting help for blender issues

Post by DeadAirRT »

unheardof wrote: Sun, 17. Apr 22, 03:29 so i managed to get a nice remodel of the new Raleigh transport ship managed to get it to export and also load in to the game at the custom start screen ship looks as model in blender no issues seen after loading into the game the ship then has missing parts (guessing faces here) of the right wing which i duplicated from the right one then mirrored not sure what the issue is here
the second issue is the licence id code that would normally show the serial number of the ship only displays all capital A's not the actual serial number i have not done any modification to this
the third issue is the logo the original logo on the left wing works fine but the duplicated one on the right wing does not show anything and i can not tell if it is actually there
i tried comparing a pre imported dae file to the exported one in notepad ++ for the 2nd and third issues but the the line items under fx_licence have changed greatly and im not sure if it is the same issue blender has with
supporting long file names (example: anim_landing_gear_f_piston_01Xlod0XgenericXgeneric_p1_hulltextu ) (should be this: anim_landing_gear_f_piston_01Xlod0XgenericXgeneric_p1_hulltexture_01_aged )

any help or ideas would be greatly appreciated

here are links to the blender file and dae file im currently using if anyone wants a closer look at the files
note: im using blender version 2.79

https://www.dropbox.com/s/9d7xy04lv6gfc ... blend?dl=0

https://www.dropbox.com/s/y65xil8vxse7k ... t.dae?dl=0
You basically can not make any changes whatsoever to id codes or animations in blender afaik. Someone managed to get id codes working by finding a similar ship and moving them in the xml only. Animation stuff is beyond my knowledge.
unheardof
Posts: 20
Joined: Tue, 18. May 21, 22:48
x4

Re: Requesting help for blender issues

Post by unheardof »

thanks for the reply managed to figure out my texture issue on the duplicated wing apparently when you do a global mirror it also inverts the faces so after looking over my ship in game with a microscope i managed to notice this did a flip face Normals on all mirrored parts and boom it worked also did the same for the logo i duplicated and mirrored and that worked as well :mrgreen:

also noticed that blender breaks the id code on export tried importing an original ship in i made NO changes to the model or anything simply just exported it back out loaded it into the game and low and behold the id code was broke and showing all A's

after i went over my ship in detail i noticed everything that uses the multimat to display textures is now giving me a checkered board pattern instead of the normal one i changed the texture name in blender from hulltexture_01_aged to just hulltexture to give the ship a cleaner look everything displays the texture correctly except those that are only part of the multimat (example: cockpit frame inner and outer and the floor and other things in the cockpit) which i get a checkered pattern instead any ideas how to get the multimat to work with the new texture :gruebel:

thanks for any and all help and ideas
linolafett
EGOSOFT
EGOSOFT
Posts: 3557
Joined: Mon, 26. Mar 12, 14:57
x4

Re: Requesting help for blender issues

Post by linolafett »

Multimat and ID textures are using data from more than a single vertex data channel. In Max it was the "vertex illum" and "vertex alpha" channels, which were used.
I assume the exporter you use is not aware of more than one vertex data (colour) channel and therefore simply culls them, leading to the issues you describe.
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110

My art stuff
unheardof
Posts: 20
Joined: Tue, 18. May 21, 22:48
x4

Re: Requesting help for blender issues

Post by unheardof »

thank you for the information was pulling my hair out trying to figure out what went wrong :)

Return to “X4: Foundations - Scripts and Modding”