Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • how to make and .smd file parser for forge
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
bouwmeester2003

how to make and .smd file parser for forge

By bouwmeester2003, December 8, 2018 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

bouwmeester2003    0

bouwmeester2003

bouwmeester2003    0

  • Stone Miner
  • bouwmeester2003
  • Members
  • 0
  • 66 posts
Posted December 8, 2018

could anyone help me with making an .SMD file parser for forge so i can make models in blender and pre-animate mobs by switching the skeleton like pixelmon

  • Quote

Share this post


Link to post
Share on other sites

V0idWa1k3r    391

V0idWa1k3r

V0idWa1k3r    391

  • World Shaper
  • V0idWa1k3r
  • Members
  • 391
  • 1773 posts
Posted December 8, 2018

Forge has nothing to do with this. You just need an SMD parser in java. You may use an existing library and use forge's jar-in-jar feature to package it with your mod or you can write a parser yourself. It looks like smd is a plain text file describing a model so you should not have many issues with parsing it. Here is the format specification. However note that since minecraft has no notion of skinning or even armatures/bones you will have to build everything from the ground up. This is not really a forge issue though and you might find more help with that on gamedev forums rather than here. 

 

56 minutes ago, bouwmeester2003 said:

could anyone help me with making an .SMD file parser for forge

Nobody here is going to write code for you but you are free to ask questions if you have any troubles with the matter at hand.

  • Quote

Share this post


Link to post
Share on other sites

loordgek    176

loordgek

loordgek    176

  • World Shaper
  • loordgek
  • Members
  • 176
  • 1823 posts
Posted December 8, 2018

https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java

google is your best friend use and abuse it

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted January 20
On 12/9/2018 at 12:44 AM, loordgek said:

https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java

google is your best friend use and abuse it

how can we load the smd model into the games as entities tho

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7695

diesieben07

diesieben07    7695

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7695
  • 56358 posts
Posted January 20
2 hours ago, MegaTigerpaw said:

how can we load the smd model into the games as entities tho

You need to write a renderer for it.

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted January 20
6 hours ago, diesieben07 said:

You need to write a renderer for it.

I used that link but from there how can I load the smd models as entities?

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted February 15
On 1/20/2021 at 12:59 PM, diesieben07 said:

You need to write a renderer for it.

like...what method should I call?

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Eksity
      Another freaking "error in currently selected datapacks prevented world from loading"

      By Eksity · Posted 2 minutes ago

      great. Is there anything I can do other than go mod-by-mod and test everything?
    • diesieben07
      Another freaking "error in currently selected datapacks prevented world from loading"

      By diesieben07 · Posted 3 minutes ago

      Well, it looks like some of the mods you have installed are breaking your world. I can't tell from the logs which one it is though.
    • Eksity
      Another freaking "error in currently selected datapacks prevented world from loading"

      By Eksity · Posted 5 minutes ago

      also if I save and quit and try to rejoin it doesn't work
    • Eksity
      Another freaking "error in currently selected datapacks prevented world from loading"

      By Eksity · Posted 7 minutes ago

      I can create a new world, and for some reason there's a survival world that works if I remove all the armor mods I was using for my video. however, all other worlds seem to be broken. I tried re-creating it as well as duplicating the file in minecraft/saves, although I'm not sure if either of those have any effect.
    • diesieben07
      Another freaking "error in currently selected datapacks prevented world from loading"

      By diesieben07 · Posted 12 minutes ago

      Does the same occur with a fresh world?
  • Topics

    • Eksity
      12
      Another freaking "error in currently selected datapacks prevented world from loading"

      By Eksity
      Started 19 hours ago

    • Ariel David
      1
      Do i need minecraft installed

      By Ariel David
      Started 28 minutes ago

    • Skyriis
      12
      [1.16.5] Adding a Button to KeyBindings

      By Skyriis
      Started Wednesday at 11:07 PM

    • Deadlocked47
      1
      Can't get into forge discord

      By Deadlocked47
      Started 21 hours ago

    • IntentScarab
      6
      (SOLVED)[1.16.4] Block entity invalid

      By IntentScarab
      Started 1 hour ago

  • Who's Online (See full list)

    • vemerion
    • Eksity
    • diesieben07
    • Beethoven92
    • gottsch
    • IntentScarab
    • Aviator737
    • KatiePandaEx
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • how to make and .smd file parser for forge
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community