Coder Social home page Coder Social logo

zirumandbigbro / obj2box Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 6.13 MB

A script collection to build in Aion on the basis of the existing game objects

License: MIT License

Python 99.37% Batchfile 0.63%
python aion voxel-agglomeration binvox

obj2box's Introduction

obj2box

A script collection to build in Aion on the basis of the existing game objects

This script collection converts 3D-file (.obj) to voxel agglomeration and then to npc coordinates (result.txt) for AION online game. example result in result.txt for integration in \AC-Game\data\static_data\spawns(Npcs or gather)\New\location.xml file.

  1. find the 3D Model (.obj was tested) you want to build in Aion. some free models you can find here: https://free3d.com/ thefree3dmodels.com www.turbosquid.com/3d https://archive3d.net/

  2. modificate the binvox_start.bat file and run it. Instructions how to use and adjust the binvox.exe you will find here: https://www.patrickmin.com/binvox/

  3. this program will convert .obj file to voxel agglomeration. To view your .binvox file use viewvox.exe (to start: modificate and start view.bat).

  4. to convert .binvox to game coordinates use binvox2box.py. But first adjust the .binvox file name and game coordinates in this file.

  5. copy coordinates from result.txt and put it in \AC-Game\data\static_data\spawns(Npcs or gather)\New\location.xml file.

Note: large 3D models generates a lot of objects. Be sure your server has enough RAM.

Result see
Example_obj2box.jpg
Example2_obj2box.jpg

and Youtube
https://youtu.be/jBNNru535CQ horse 20 boxes high

https://youtu.be/tGaiiK2lr9Y horse 40 boxes high (if you need coordinates https://yadi.sk/i/oMJAl9ptUZFd_A)

obj2box's People

Contributors

zirumandbigbro avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

nechroterys

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.