Jump to content

Lineage 2 in Unity


Recommended Posts

On 8/10/2023 at 7:56 PM, Blitzkrieg said:

This was always also my desire to do, to create some instances / dungeons where players actually use their heads to progress


That's what I've been trying to do with my brother, on a project we've been working with for many years already, but we're applying it to everything (interactive dungeons, farming, character builds, character classes in general, crafting, alchemy, etc etc etc). At this point you could argue that it's a different game though, but L2 is just monotonous and boring AF right now, hence why most people usually go towards implementing auto farm on their servers instead of making farming interesting.
 

i.e; here's a WIP of a 'randomly generated dungeon' system we've been working on, using catacombs (the red lines are doors, and the dungeon gets bigger and more dificult depending on the amount of people who enters, plus there are multiple objectives to complete in order to advance)
53433.gif

 

 

  • Upvote 1
Link to comment
Share on other sites

Thanks for the support folks! The reality is that I'm most likely not going to build a client that's compatible with existing servers. I'm fully aware of the amount of work such a task entails. Instead, I'm using this project as a way to get my nostalgia kick and to prototype some gameplay ideas.

  • Like 1
  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Not render-ready, but re-working all the textures to clean them up and smooth out the ugly pixelation in the originals. Currently reworking Aden and TOI. Image quality stays pretty good even at max compression. Should leave enough room for normal, metallic, and occlusion maps.

 

spacer.png

spacer.png

Edited by cgrahamseven
  • Like 3
Link to comment
Share on other sites

On 10/21/2023 at 11:03 PM, cgrahamseven said:

Not render-ready, but re-working all the textures to clean them up and smooth out the ugly pixelation in the originals. Currently reworking Aden and TOI. Image quality stays pretty good even at max compression. Should leave enough room for normal, metallic, and occlusion maps.

 

spacer.png

spacer.png

Neat. I specifically chose Talking Island first because it doesn't have too much architecture. I find that all buildings are just too low detail, even with texture updates, and would require an artists intervention.

Link to comment
Share on other sites

On 10/29/2023 at 3:28 PM, Carow said:

Neat. I specifically chose Talking Island first because it doesn't have too much architecture. I find that all buildings are just too low detail, even with texture updates, and would require an artists intervention.

Your last talking island update pic looks gorgeous. Are you working in gamma or linear color space? It almost looks dream-like as if it was gamma. The textures look really good at least from that pic. 

 

I've found that alot of the older areas of the game (talking island, de village, gludio, etc) have textures that are in serious need of improvement. It would definitely be good to have an artist to do it, but you can also tweak them a bit with the right AI models and get some decent enhancements that still hold to the original feel. Definitely takes some experimenting and can be quite time consuming because of the number of textures used. I wish they had used texture atlases instead of having like 10-15 textures per model. I was recently messing around with Lineage 2M and they really made good use of atlases there because it was for mobile but it was so nice to just apply one texture to a material that is used for like 15 different models.

 

At one point I considered trying to bake the lineage 2 textures for certain buildings or towns into one single texture but you run into problems because their existing uv maps are fairly atrocious and they frequently scale the uvs outside of the bounds of some of the textures. 

 

With regards to some of the older art, you can kinda see what I did here in the DE village. They're subtle changes, but much more visible and clean up close. It's not 100% done (carpet and some other pieces/minor uv map updates), but you can see that once I add lighting and normal/metallic maps, you can kind of visualize in your head how it's going to pop with all that metal and rock. Throw in some post processing with bloom effect and it should be really dramatic. 

 

spacer.png

 

spacer.png

 

spacer.png

Edited by cgrahamseven
  • Upvote 1
Link to comment
Share on other sites

7 hours ago, cgrahamseven said:

Your last talking island update pic looks gorgeous. Are you working in gamma or linear color space? It almost looks dream-like as if it was gamma. The textures look really good at least from that pic. 

 

I'm doing it in linear space since it's the more physically "correct" way of doing things. I'd mostly recommend gamma space if you're going for an old school aesthetic or are targeting really old mobile/WebGL devices.

 

As for atlasing textures, I'm not bothered about it at the moment because it's premature optimisation. Unity's SRP Batcher batches draw calls by shader, rather than material. This already produces great performance. My current performance bottleneck is all the grass I'm drawing anyway. New vid is being finished shortly, so that'll show the progress.

Edited by Carow
Link to comment
Share on other sites

39 minutes ago, Carow said:

Latest video is out 

Its great to see more from this 🙂
About the BSP brushes, honestly, i have no idea how they set up the texture mappings, but there's a simple method to convert BSP brushes to staticmeshes, which can then be extracted using UModel:
Screenshot_1.jpg?ex=655b9495&is=65491f95

Screenshot_2.jpg?ex=655b9510&is=65492010


(It's an integrated function in Unreal Engine 2's editor, so you just need to select the brushes and click a button and voilà)
I don't have much free time these days, but let me know if you wanna try it out, i'll give you a small step by step

 

  • Thanks 1
Link to comment
Share on other sites

4 hours ago, 911reg said:

Its great to see more from this 🙂
About the BSP brushes, honestly, i have no idea how they set up the texture mappings, but there's a simple method to convert BSP brushes to staticmeshes, which can then be extracted using UModel:
Screenshot_1.jpg?ex=655b9495&is=65491f95

Screenshot_2.jpg?ex=655b9510&is=65492010


(It's an integrated function in Unreal Engine 2's editor, so you just need to select the brushes and click a button and voilà)
I don't have much free time these days, but let me know if you wanna try it out, i'll give you a small step by step

 

Here the brush extractor from .unr maps into .json for unity

https://workupload.com/file/JWseAVdY6pc

 

p.s. original author of this program i think "kisliy" from Gildor's forum.

Edited by deMEV
  • Like 1
Link to comment
Share on other sites

8 hours ago, Carow said:

Latest video is out 
 

 

Love it. Especially nice job with the lighting in the church. The emission map for the windows really gives a much better feel to that room. I saw some comment on the vid saying they didn’t like the glossiness of the floor. I think it looked more realistic how you did it. 
 

I think I looked at using KWS water solution a while ago but he has some limitations that don’t let you properly mask out certain areas effectively. The problem you will run into with a single water prefab set to infinite water is that there are many spots on the world map that dip below sea level where you would want to just entirely mask out the water. I think I settled on Crest and it was much more configurable and allowed for the creative use of masking and setting water plane heights. 
 

Definitely love the combat changes. The movement and combat really have to be changed. I reworked some animations to include jumping and 8-directional WASD with strafing and it just feels a lot better. Of course it still remains to be seen how well the original skills would look with that kind of free movement where it doesn’t move you to the target and stop you to attack. I think it can be done with avatar masks with upper and lower body masks to do something like still allow you to use skill and attack animations while moving.  
 

Really excellent work overall. Impressed. 

Edited by cgrahamseven
Link to comment
Share on other sites

8 hours ago, cgrahamseven said:

Love it. Especially nice job with the lighting in the church. The emission map for the windows really gives a much better feel to that room. I saw some comment on the vid saying they didn’t like the glossiness of the floor. I think it looked more realistic how you did it. 
 

I think I looked at using KWS water solution a while ago but he has some limitations that don’t let you properly mask out certain areas effectively. The problem you will run into with a single water prefab set to infinite water is that there are many spots on the world map that dip below sea level where you would want to just entirely mask out the water. I think I settled on Crest and it was much more configurable and allowed for the creative use of masking and setting water plane heights. 
 

Definitely love the combat changes. The movement and combat really have to be changed. I reworked some animations to include jumping and 8-directional WASD with strafing and it just feels a lot better. Of course it still remains to be seen how well the original skills would look with that kind of free movement where it doesn’t move you to the target and stop you to attack. I think it can be done with avatar masks with upper and lower body masks to do something like still allow you to use skill and attack animations while moving.  
 

Really excellent work overall. Impressed. 

 

Honestly, I'm not sure when/if I actually get to all the other areas at this rate. Each one requires a lot of attention to do right. As such, KWS water fits the bill for now. It's also the plugin that had the shore wave system I wanted.

 

As for combat, I'm mostly inspired by Soulsborne games. As such, I expect there to be a decent amount of movement (running attacks, attack based momentum movement, active evasion/blocks, etc.), but not to the point where you can freely navigate while attacking - that always looks and feels extremely floaty to me.

Edited by Carow
Link to comment
Share on other sites

You are not recreating L2 in Unity. You are recreating the MAPS.

 

What you are doing is PoC and will remain unfished forever, and simply because recreating Lineage 2 is much more than importing / improving maps in Unity.

 

Think of client side code, networking, game data, effects, sounds which is truly A LOT, trust me.

 

To do all this in Unity will require an enormous man-hour waste to script, with probably inferior performance to the good old native L2 binaries.

 

I will not even discuss about incompatibility with L2J/L2OFF networking, you will also have to remake the server because scripting the current networking would be a dumb idea on such a project.

 

Overall, yeah nice effort / graphics.

  • Upvote 1
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.




×
×
  • Create New...