SCS Blender Tools

User avatar
CrazyMango73
Posts: 222
Joined: 24 Jun 2020 20:09
Location: London

Re: SCS Blender Tools

#2831 Post by CrazyMango73 » 27 Aug 2021 11:31

deTbiT wrote: 23 Aug 2021 18:47 You can set your material like below image. I couldn't attach the file. You can directly download dds file from here https://www.detbit.net/download/share/gold.dds

Thank you!!!! :D
https://www.flickr.com/photos/193527766@N05/ - Follow my Blender work here!
User avatar
tobrago
Posts: 2352
Joined: 19 Jun 2013 12:54
Location: Serbia
Contact:

Re: SCS Blender Tools

#2832 Post by tobrago » 28 Aug 2021 16:02

Blender v2.93.3 and Blender Tools are installed on the new computer. There is no problem loading the model but there is a problem when the mod needs to be packed.

Code: Select all

bpy.context.space_data.context = 'OUTPUT'
Error: Python: Traceback (most recent call last):
  File "C:\Users\Tomislav\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scs_tools\operators\scene.py", line 853, in execute
    os.remove(dir_entry_abs_path)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Tomislav\\Desktop\\BLENDER ALATI\\conversion_tools_2_12\\linked_bt_d4572498f8f38e8dc5e27909a2047a37f4bc15bb'

location: C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\bpy\ops.py:132

Edit Post: Identical typed error with Blender version 2.93.0 64-bit

Blender v2.93.3 64-bit (Blender is allowed Administrative Permissions)
SCS Blender Tools v2.2
Conversion Tools v2.12
Windows 10 (10.0) Professional 64-bit (Build 19043)
DirectX 12.0

Thank you in advance for your help and advice.
Google translator | Greetings and cheers | Keep truckin'

[ external image ] [ external image ] [ external image ]

Discord: tobrago#1504

Everything will be okay in the end, and if it`s not okay, it`s not the end.
User avatar
nemanja694
Posts: 389
Joined: 16 Aug 2018 15:20

Re: SCS Blender Tools

#2833 Post by nemanja694 » 28 Aug 2021 21:04

How can I fully disable windshield reflection on scs scania s ?
User avatar
tobrago
Posts: 2352
Joined: 19 Jun 2013 12:54
Location: Serbia
Contact:

Re: SCS Blender Tools

#2834 Post by tobrago » 29 Aug 2021 07:23

I solved the problem. I downloaded "Conversion Tools v2.12" again and activated it in Blender v2.93.3 64-bit. I used the previous "Conversion Tools v2.12" from Backup, most likely there was a problem in accessing files within "Conversion Tools v2.12". Read-write access is granted was not allowed.
Google translator | Greetings and cheers | Keep truckin'

[ external image ] [ external image ] [ external image ]

Discord: tobrago#1504

Everything will be okay in the end, and if it`s not okay, it`s not the end.
User avatar
supersobes
Global moderator
Posts: 13714
Joined: 07 Dec 2016 21:53
Location: Northern Virginia, USA
Contact:

Re: SCS Blender Tools

#2835 Post by supersobes » 08 Sep 2021 14:36

There seems to be a bug with Conversion Tools. If it throws an error while exporting, the error window stays up and says "press any key to continue." But there is also an X at the top of the error window. If you click the X instead of pressing a key, Conversion Tools causes Blender to crash, which means you loose all your work if you didn't save it before exporting.
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: SCS Blender Tools

#2836 Post by galimim » 08 Sep 2021 14:47

Its been like that since the beginning. It is quite annoying if you forget.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: SCS Blender Tools

#2837 Post by galimim » 08 Sep 2021 15:08

A question for Simon or anyone else that could help. I am trying to export a truck model that has multiple parts and I keep getting this error:

Code: Select all

Traceback (most recent call last):
               File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scs_tools\operators\bases\export.py", line 184, in execute_export
                 result = _export.batch_export(self, init_obj_list, name_suffix=ef_name_suffix, menu_filepath=menu_filepath)
               File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scs_tools\exp\__init__.py", line 95, in batch_export
                 export_success = pix.export(filepath, name_suffix, root_object, game_object_list)
               File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scs_tools\exp\pix.py", line 226, in export
                 export_success = _pia.export(root_object, armature_object, scs_anim, anim_dirpath, name_suffix, skeleton_filepath)
               File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scs_tools\exp\pia.py", line 322, in export
                 bone_channels = _get_bone_channels(scs_root_obj, armature, scs_animation, action, scs_globals.export_scale)
               File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scs_tools\exp\pia.py", line 178, in _get_bone_channels
                 mat_rot = Euler(rotation, pose_bone.rotation_mode).to_matrix().to_4x4()  # calc rotation by pose rotation mode
             ValueError: mathutils.Euler(): invalid euler order 'QUATERNION'
Does anyone know what did I mess up to get this?
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
Dotec
Posts: 1150
Joined: 20 Dec 2012 15:52
Location: Stuttgart, Germany
Contact:

Re: SCS Blender Tools

#2838 Post by Dotec » 08 Sep 2021 16:36

When you make animations, always select XYZ Euler in pose mode

[ external image ]
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: SCS Blender Tools

#2839 Post by galimim » 08 Sep 2021 16:45

I did. I have no idea why it messed it up, anyway, I have fixed it.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
Dotec
Posts: 1150
Joined: 20 Dec 2012 15:52
Location: Stuttgart, Germany
Contact:

Re: SCS Blender Tools

#2840 Post by Dotec » 08 Sep 2021 16:46

Deleted .pis file?
Post Reply

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 5 guests