Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-21-2014, 09:09 PM
Tyen05
Discordant
 
Join Date: Mar 2009
Location: eqbrowser.com
Posts: 309
Default

This will create a menu item in Unity to make XML import happen for objects.

You have to make a prefab resource called "Dummy" in "Objects" directory (this must be located in a Resource directory). The rotations are in radians and not degrees. You may see multiplyers like "pos *= 0.3f", this is for scaling.

In case your scene is rotated you should rotate it, OR modify the script to replace coordinates or rotation parts. Depends on your project, really.

Unity XML Object Importer: http://eqbrowser.com/misc/EQObjectImporter.cs

This is an example of the XML: https://github.com/eqbrowser/Ecommon...20ECOMMONS.xml
__________________
Browser based EQ project
Reply With Quote
 

Tags
pras eqbrowser.com, unity3d


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3