Re: uFlyff - Flyff in Unity
Early morning update - Here's a screenshot of the imported .chr and the bone hierarchy.
I worked a little bit yesterday to figure out the .chr format so I could import skeletons and then later add in some animations. It was pretty simple, however, Unity has their own way of storing bone structures called an Avatar - and there's two types.
The first type is the "Generic Avatar" which you can give any type of bone structure and expect it to work. This is good for Flyff's vast amount of monsters and NPC's. Importing them is simple, just give the AvatarBuilder a root bone for the skeleton structure and it does the rest. You can apply your own imported animation clips as long as they link up to the names of the bones.
The second type is the "Humanoid Avatar," which is Unity's way of generalizing all human-like figures into one skeleton. My theory is that if both the male and female skeletons can be ported over to this humanoid avatar, that would give the ability to import animations from other sources like here. Later on, if someone wanted to replace all of the old animations with newer, more dynamic ones, it would be more than simple.
I haven't quite figured out how to get Flyff's bone structure into a Humanoid Avatar yet, but that's my next step. After that I can tackle .ani formats and try and get some monsters moving.
Re: uFlyff - Flyff in Unity
This is a great project, Actually I'm planning on porting/recreating flyff using unreal engine after my current game project is done
the difference is that I'm planning on remaking some of the animations/models of the game and i already created some core mechanics like questing, inventory, skill system and Combat system.....basically im making a ripoff hahahaha
it would be great if u release your Source code of parser for the file formats. i can also use unity3d so yea i can contribute to your project if your going to open it to the public
Re: uFlyff - Flyff in Unity
Quote:
Originally Posted by
errorlog2
This is a great project, Actually I'm planning on porting/recreating flyff using unreal engine after my current game project is done
the difference is that I'm planning on remaking some of the animations/models of the game and i already created some core mechanics like questing, inventory, skill system and Combat system.....basically im making a ripoff hahahaha
it would be great if u release your Source code of parser for the file formats. i can also use unity3d so yea i can contribute to your project if your going to open it to the public
Thank you. I was thinking about using Unreal because DirectX is used by default, whereas in Unity it's all OpenGL. This usually doesn't make a difference on the user's end, but when you import assets from Flyff into Unity all of the matrices need to have their rows and columns swapped. Not a big deal, but it's just something I ran into recently.
The main reason I picked Unity was because of it's usability for beginner programmers. I want to help coax new programmers and developers with an easy to use platform so they can learn and contribute to the project. I could be wrong, but if Flyff is ported to a newer engine, whether it ultimately is Unreal or Unity, it might spark a little interest in outside communities, which would lead towards a small revival of the development section. It sounds a bit hopeful, but who knows, right?
If you want to get a head start you can check out @Aishiro 's ATools source. Shoutout to him, because between Flyff's source and the documented file formats on here I would have never gotten the .o3d parser to work. I've mainly based all of my file I/O off of his work.
Update: Here's a little screenshot of a beloved Ferfern showing it's bone structure fully imported. Gotta get some animations in and we'll be in business.
Re: uFlyff - Flyff in Unity
Hi guys,
I just opened up a GitHub repository for uFlyff. I'll be committing and making changes as I flesh out the game. Currently it's pretty empty, with only a few asset processor scripts (that aren't even fully wired as of this posting.) If you are interested in supporting the project, please feel free to fork, propose changes, submit issues, ect.
@errorlog2 If you'd like to see the file I/O done for the three main formats, check out the scripts here. If you're interested in reading about how some of it will work in the future, check here.
Re: uFlyff - Flyff in Unity
Hello guys!
Here's a screenshot of some fully imported .o3ds and their respective textures mapped properly! Turns out the issue was the fact that DirectX and OpenGL UV coordinates are slightly different. If you'd like to read about it, this post helped me figure out the issue.
Now I'm on to figuring out these animation files. I know nothing about rigs and animations, but no time like the present, right?
Re: uFlyff - Flyff in Unity
Quote:
Originally Posted by
DrEinsteinium
Hi guys,
I just opened up a
GitHub repository for uFlyff. I'll be committing and making changes as I flesh out the game. Currently it's pretty empty, with only a few asset processor scripts (that aren't even fully wired as of this posting.) If you are interested in supporting the project, please feel free to fork, propose changes, submit issues, ect.
@
errorlog2 If you'd like to see the file I/O done for the three main formats, check out the scripts
here. If you're interested in reading about how some of it will work in the future, check
here.
Wow thank you for this :D ill try to contribute if i have something that is worthy to be contributed, ill follow your project and try it out if i have time
Your documentations really helps alot hahahah im now thinking of trying this out than doing my unreal version after i finish my current project :D
Again Good Job and Goodluck with this :D will be following you on your progress
- - - Updated - - -
ow btw in the server side this can be easily be ported into unity
http://forum.ragezone.com/f484/hellion-emulator-1120838/
Re: uFlyff - Flyff in Unity
I was actually thinking of removing the base of flyff code from the source and creating server and client dlls for unity but it's a ton of work for something you could be sued for.
Re: uFlyff - Flyff in Unity
Quote:
Originally Posted by
420twisted1
I was actually thinking of removing the base of flyff code from the source and creating server and client dlls for unity but it's a ton of work for something you could be sued for.
yea its better to emulate how it works rather than getting it from the source, emulation isnt illigal so its good
ive been itching to try this out but my schedule is a bummer :(
Re: uFlyff - Flyff in Unity
I am planning to create flyff in unity3d also, and I found this thread! I will contribute to the repo. I got the same problem on viewing the models in the unity.
Re: uFlyff - Flyff in Unity
Quote:
Originally Posted by
errorlog2
yea its better to emulate how it works rather than getting it from the source, emulation isnt illigal so its good
ive been itching to try this out but my schedule is a bummer :(
Emulation isn't illegal but copyright infringement is...
Does anyone know network programming? Flyff as a single player game in unity is as easy as drag and drop, I can get it online but you could hack it to pieces.
Oh and for the models just Youtube rigging models in blender for unity and you now have more animations than you know what to do with.
Re: uFlyff - Flyff in Unity
I could make network programming, but I have not tested on unity yet. I am using libGDX
Re: uFlyff - Flyff in Unity
The problem is animation did not support
Sent from my Flare XL Plus using Tapatalk
Re: uFlyff - Flyff in Unity
anyone manage t ow work the animation
Re: uFlyff - Flyff in Unity
You're thinking about it wrong, I'm sure you could code a way to get the default FlyFF animations but the best way is to use mecanim animations which unity has a ton of free animations and provides a way to make your own. If you wanted a private server you can get every asset you need for free since what you're doing is already illegal and have the most insane server ever with almost no coding experience.
I advise giving up on FlyFF as I did once I figured out how "basic" it is. I paid for a Unity subscription which till the end of this month comes with $300 of free assets at this point you can make whatever you want LEGALLY which means you can earn a profit.