Jump to content

[Sandbox] Metin2 Offline Client - No server at all


Recommended Posts

  • Active+ Member

TLDR: Please see the video attached below 

What is it?

 



What is it? 

I had a client in my PC that I was mostly used for testing assets such as models, adaptations, effects and so on. 
Overall, everytime when I tried to test something quick, a spare of time was wasted on Open VM Box > login > start the server > Put files accordingly on client side > pack > start the client > Pray that you've done correctly the client files > see the actual results. 

I've started a project thinking that maybe we can test a bunch of stuff only using client side without relying on both client and server comunication. 
Then I thought maybe this thing can be used as an offline kinda "game-engine" since you can do anything you can dream of via CPP and python. 

What I achieved so far (The project is still work in progress) :
You can just add a gr2 file in a specific folder (armors, hairs or weapons) and then using the UI inside client, type their file name and the models will be accordingly attached to the character. 
You can test models that are either in this test folder OR from the client files (d/ymir work/whateveR). You dont need msms and so on. 
You can spawn any model from the game: NPC / Pet / Monster / MOB / Boss / other chars. 
You can polymorph into one of those mentioned above. 
Using Test Animation Panel, you can test each possible animation that can be existent for that model. Just click on a animation button and the animation will play on the morphed mob / model. 
You can set run speed up to 1000 along with attack speed between 1 and 1000. 
You can test MAPS! just put the name of the map (that can be found inside game files) and click on Warp and you will redirect teleported on that map. 
You can TP on specific maps using coords. Just type the coords you want and you will easly teleported to that location. 
For Weapon test, based on what char you are poly-morphed ( from 0 to 7 - races) you can set the type of animation: 1 hand/ 2 hand / bow / dagger / bell. 
Direct-boot into the game: Just double click the exe (run the exe) > Wait that everything is loading > Done, you are in the game! 
Restart / Reset / Revive button: If you have messed up something, just click on this button and will reset everything back to default. 


Future plans: 

Add test subfolders for maps / mobs / objects. 
Eliminate the colision of the map / object via toggle 
Enhance and optimize what we have right now 
Optimize the boot loading and / or make it nicer - So far when running the client you'll see a black screen for some seconds (between 3 and 15 seconds of wait time) before everythign being loaded. I would like a loading screen. 
Make the big map appear (M) - so far for the moment we are not reading the atlas. 
Add point to click to teleport on big map. 
Looking for a way to travel on maps muchh faster. Maybe a free camera will do the trick? Dunno. 

Bugs: 
when resetting back to default or after unmount or after unmorph, when running, the animation of the last mob you've been morphed will play in regards running - can be avoided by just set a weapon. (see the video) 
the text when hovering entities or yourself in the minimap is black and hard to see. 
Others maybe that I dont see at this moment. 


Any ideas what else can be done / added / improved? 
Waiting for your feedback regarding this. 

 

  • Metin2 Dev 5
  • Flame 1
  • Good 2
  • Love 2
  • Active+ Member
Posted (edited)

https://metin2.download/video/Q0phbTcL8T2ND53ohWRI1g9e3Yo52DIz/.mp4 

Hot reload on textures. 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Love 1
  • Active+ Member
Posted (edited)

3rd Update - Patch notes: 

Added Effect support - You can test any effect you want but just drag and drop it in an open specific folder (no pack needed) next to the executable client. Also you can play an effect by being auto attached to the root bone of the current char OR you can spawn a mob and then select it > select a bone from that spawned mob > spawn your desired effect. 
Fixed some issues with the polymorph and Mount - Added virtual creation of msa files based on gr2 files if msa missing / virtually modify existent msa files to accomodate the path specified in those files, based on the gr2 animation found in the unpacked test mount folder (next to the client as well) 
Added a new Panel for Skill race toggle
Made the Taskbar to work with Hiperlink ( you can put skills in the taskbar) 
Added a proper Loading screen after opening the exe - run the exe > loading screen > game loaded. 
 Move Affect Mapping logic client side only and before the check
Other small fixed that I can't remember. 


I still need to fix some minor issues with effect clear / Refresh page and skill group of new skill ui panel. 
Video: 

 

Edited by KolenMG
typos
  • Love 1
  • Active+ Member
Posted (edited)

Keeping this topic as an evolution, to see how I started and where I'll be in the future with this. 

Many improvements on stability in regards each functionality of the sandbox: spawn mob, spawn mount, spawn effects, scale and position, select, skills effects. 

Along with many fixes in regards hair index, armor or race set. 

Also, finally fixed an issue with the animations of everything that were played 2x-4x faster than they should 

https://metin2.download/video/1ImT1jDZ2MZ84CR1NasvBntAv6RJ679u/.mp4

Edited by Metin2 Dev International
Core X - External 2 Internal
  • 2 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.