Files
SpaghettiKart/export.html
T

178 lines
7.4 KiB
HTML

<!-- HTML header for doxygen 1.10.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SpaghettiKart: Export</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
<link href="docs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">SpaghettiKart
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('export.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title">Export</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="export-1"></a>
Export</h1>
<h2><a class="anchor" id="quick-overview"></a>
Quick Overview</h2>
<p>A basic track needs the following:</p><ul>
<li>A surface mesh built using a plane (a flat square, not a cube)<ul>
<li>Large enough to encompass the spawn area from (0,0,0) to (0, -16.8, 0) in blender, in-game (0, 0, -420)</li>
</ul>
</li>
<li>A path built using a Path or bezier curve</li>
</ul>
<h2><a class="anchor" id="setup"></a>
Setup</h2>
<ul>
<li>Naming the objects in blender is not required.</li>
<li>To export a track all the objects need to be placed inside the empty like so: <img src="image-1.png" alt="" class="inline"/></li>
<li>This can be done by dragging mesh or path into the empty while holding <code>SHIFT</code></li>
</ul>
<h2><a class="anchor" id="export-panel"></a>
Export Panel</h2>
<p><img src="image-2.png" alt="alt text" class="inline"/></p>
<p>Featureset</p><ul>
<li>Must be set to HM64 Name</li>
<li>The name of your track Mods Path</li>
<li>The mods folder where the data will output too<ul>
<li><code>desktop/mycoolmods</code> will output as <code>desktop/mycoolmods/tracks/mytrackname/stuff_here</code> Export</li>
</ul>
</li>
<li>Press this button to export the track!</li>
</ul>
<h2><a class="anchor" id="packaging"></a>
Packaging</h2>
<ul>
<li>Find the <code>desktop/mycoolmods/tracks</code> folder and place a mods.toml file beside the tracks folder. Place the following in mods.toml <div class="fragment"><div class="line">[mod]</div>
<div class="line">name = &quot;mymod&quot;</div>
<div class="line">version = &quot;1.0.0&quot;</div>
</div><!-- fragment --></li>
<li>Highlight the tracks folder and the mods.toml file. <img src="https://github.com/user-attachments/assets/8842a528-ef67-4ae6-81cd-802f133bbea1" alt="image" width="120" height="74" class="inline"/></li>
<li>Right-click --&gt; <em>Add To Archive</em> and turn into a stored zip archive.<ul>
<li>This file should <em>not</em> be compressed.</li>
</ul>
</li>
<li>If you wish, you may rename this file to mod_name.o2r or mod_name.zip</li>
</ul>
<p>If you open the zip folder, you should immediately see the <code>tracks</code> folder and the mods.toml file. Inside <code>tracks</code> should be a folder with the name of your track, and some files inside of that folder.</p>
<p>If it does not contain any files similar to the below then something has gone wrong.</p>
<p><img src="https://github.com/user-attachments/assets/ccef558b-ac9a-42ed-bc85-e27da4f16598" alt="image" width="289" height="466" class="inline"/></p>
<ul>
<li>If all checks out, go to your game executable</li>
<li>Add a <code>mods</code> folder. Drag and drop your mod into the mods folder.</li>
<li>Any number of tracks may be placed in the tracks folder<ul>
<li>This allows map packs </li>
</ul>
</li>
</ul>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="trackmenu.html">Track Making</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>