Update README.md

This commit is contained in:
Hammy 2018-12-21 12:55:30 +01:00 committed by GitHub
parent 35116eac44
commit 1eb6f8fee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -15,6 +15,31 @@ $("<script>").load("https://raw.githubusercontent.com/mrdoob/three.js/dev/build/
$("<script>").load("https://raw.githubusercontent.com/christofsteel/herosaver/master/herosaver.min.js").appendTo($("body"))
```
## Exporting the mount
Exporting the mount is not **officially** supportet, but with a bit of work, you can export the mount.
1. Go to https://www.heroforge.com/ and design a Character with mount.
2. Open the Javascript Console [F12], then click on Console
3. Paste the following
```
$("<script>").load("https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.min.js").appendTo($("body"))
```
4. Open a new tab and go to https://raw.githubusercontent.com/christofsteel/herosaver/master/herosaver.js
5. Copy the whole content
6. Paste it in the javascript console in the HeroForge tab, but do NOT press ENTER
7. Find the line
```
var stlString = exporter.parse(CK.activeCharacter.threeObj.children[max_obj])
```
8. Replace `max_obj` with `2`, so that it reads
```
var stlString = exporter.parse(CK.activeCharacter.threeObj.children[2])
```
9. Now the stl export only exports the mount.
Limitations
-----------