Warning: Use of undefined constant MIGRATION_WRITE_NEW - assumed 'MIGRATION_WRITE_NEW' (this will throw an Error in a future version of PHP) in /users/botf2/www/wiki/LocalSettings.php on line 152

Warning: session_name() [function.session-name]: Cannot change session name when headers already sent in /users/botf2/www/wiki/includes/Setup.php on line 522

Warning: Cannot modify header information - headers already sent by (output started at /users/botf2/www/wiki/LocalSettings.php:152) in /users/botf2/www/wiki/includes/Feed.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /users/botf2/www/wiki/LocalSettings.php:152) in /users/botf2/www/wiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /users/botf2/www/wiki/LocalSettings.php:152) in /users/botf2/www/wiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /users/botf2/www/wiki/LocalSettings.php:152) in /users/botf2/www/wiki/includes/WebResponse.php on line 38
http://botf2.square7.ch/wiki/index.php?feed=atom&namespace=0&title=Special%3ANewPages BotF2-Wiki - New pages [en] 2026-04-17T21:42:04Z From BotF2-Wiki MediaWiki 1.22.2 http://botf2.square7.ch/wiki/index.php?title=3D_Model 3D Model 2022-03-05T13:50:16Z <p>KennethOfBorg: /* How to bring in */</p> <hr /> <div>[[Category:3D Combat Engine]]<br /> = Intro =<br /> <br /> = How to bring in =<br /> '''Import blender 3D models into Unity BOTF2 3D'''<br /> <br /> '''*[BLENDER - 3.0]'''<br /> **1) Orientation: model faces forward: is -y and up is +z<br /> **2) Use (object mode) control-J to join multiple model objects into one object for export<br /> **3) Set origin just in front of a ship<br /> **4) In object mode apply all (control-a) trans, rotation, scale<br /> **5) Select Edit Mode and X-Ray, in Properties Material tab: Select faces for New materials and Assign faces OR from Material Library, highlight and Apply to Selected For glow colors emission to 4, Metallic to 1 for metals. <br /> ****Use material Library down Material tab.<br /> **6) Top left of viewport Set to Viewport shading and take drop down menu (above Options) set to material, back face culling.<br /> **7) To export as race_shiptype_era.FBX model after removing camera, lights, animation and save in Unity\&lt;current build bothf2&gt;\Assets\FBX<br /> <br /> <br /> '''[UNITY]'''<br /> **1) Create an empty in the Hierarchy and name it race_shiptype_era.<br /> **2) To empty add Rigid Body with no gravity and capsule collider, no friction and on z axis.<br /> **3) To empty add Game Manager and Ship script<br /> **4) To ship script add public properties from audio and prefab library<br /> **5) To top of inspector add a new or select a tag, chose layer<br /> **6) Add fbx mesh to empty<br /> **7) Edit capsule collider in Scene window<br /> **8) Move empty to PreFabs folder.<br /> **9) Add PreFab ship into Game Manager slot<br /> <br /> <br /> '''[VISUAL STUDIO]'''<br /> **1) Game Manager;<br /> ***a) add ship as public GameObject property<br /> ***b) add ship to PrefabDictionary<br /> ***c) add to string[] in LoadFriendAndEnemy Names<br /> <br /> <br /> <br /> '''[ShipData.txt]''' <br /> ** in Unity\&lt;current build&gt;\Assets edit the ShipData.txt file to include data for your ship from the Google Sheet 3D Combat Ships</div> Reginald