Giter Club home page Giter Club logo

blendermafia4ds's People

Contributors

djbozkosz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blendermafia4ds's Issues

Fixed model maps path

Hello.

In your script mafia_4ds_import.py there is a fixed path to C:/Hry/Mafia/maps/ folder.
Is there a way to change it while the add-on is imported?

Modifying the location does not help. And, when obeying the hardcoded path the below error is shown:

Python: Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 425, in execute
    return exporter.Import(self.filepath)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 405, in Import
    self.DeserializeFile(reader)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 394, in DeserializeFile
    result = self.DeserializeMesh(reader, materials, meshes)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 336, in DeserializeMesh
    meshProps.VisualType   = "0x{:02x}".format(visualType)
TypeError: bpy_struct: item.attr = val: enum "0x03" not found in ('0x00')

location: <unknown location>:-1

Thank you.

H

Mafia, character model import into blender.

Hello, I recently downloaded your plugin for importing and exporting 4ds models. There was a small problem. I can now work with any models from the game, except for character models. The plugin does not want to import character models into blender. I count on your help and further correction of this error. Thank you.

Error When Importing

Ahoj, používám k tomu google překladač, ale když přejdu k importu, zobrazí se mi chyba, která by měla být připojena k tomuto problému, pokud to má něco společného s mou stranou, kontaktujte mě prosím na discordu, scouseanthony je tam moje jméno: )
error

Unknown location while importing 4ds model

Hello.

While trying to import any model of character:

Traceback (most recent call last):
File "C:\Users\hynek\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 427, in execute
return exporter.Import(self.filepath)
File "C:\Users\hynek\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 407, in Import
self.DeserializeFile(reader)
File "C:\Users\hynek\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 396, in DeserializeFile
result = self.DeserializeMesh(reader, materials, meshes)
File "C:\Users\hynek\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mafia_4ds\mafia_4ds_import.py", line 338, in DeserializeMesh
meshProps.VisualType = "0x{:02x}".format(visualType)
TypeError: bpy_struct: item.attr = val: enum "0x02" not found in ('0x00')

location: :-1

Other models, like houses and so on work fine.

Any idea why?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.