This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| ┌· NiObject | |
| │ | |
| ├──┬· NiAccumulator | |
| │ └──┬· NiClusterAccumulator | |
| │ └───· NiAlphaAccumulator | |
| │ | |
| ├──┬· NiExtraData | |
| │ ├───· BrickNiExtraData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pathlib import Path | |
| from es3.utils.math import ID44 | |
| from es3 import nif | |
| meshes_path = Path("C:/Users/Admin/Games/Morrowind/Data Files/Meshes/") | |
| output_path = meshes_path / "g7/export.nif" | |
| skins = { | |
| "b/b_n_dark elf_m_skins.nif", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Lbl G | |
| ClrHome | |
| Disp " J.M.'S DRUGWAR"," SIMULATION",""," VERSION 2.00",""," JUST SAY NO." | |
| 2000→Z | |
| 5000→Y | |
| 0→V | |
| 100→K | |
| 1→B | |
| 2→N | |
| 0→I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Cozmo import * | |
| triggerActions = {"AcknowledgeFaceInitPause" : cozmo.anim.Triggers.AcknowledgeFaceInitPause, | |
| "AcknowledgeFaceNamed" : cozmo.anim.Triggers.AcknowledgeFaceNamed, | |
| "AcknowledgeFaceUnnamed" : cozmo.anim.Triggers.AcknowledgeFaceUnnamed, | |
| "AcknowledgeObject" : cozmo.anim.Triggers.AcknowledgeObject, | |
| "AskToBeRightedLeft" : cozmo.anim.Triggers.AskToBeRightedLeft, | |
| "AskToBeRightedRight" : cozmo.anim.Triggers.AskToBeRightedRight, | |
| "BlockReact" : cozmo.anim.Triggers.BlockReact, | |
| "BuildPyramidReactToBase" : cozmo.anim.Triggers.BuildPyramidReactToBase, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Copyright (c) 2016 Anki, Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License in the file LICENSE.txt or at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |