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
| var resourceContext = new ResourceSerializationContext(sbsp.Resource2); | |
| var definition = _info.Deserializer.Deserialize<RenderGeometryResourceDefinition>(resourceContext); | |
| var resourceStream = new MemoryStream(); | |
| resourceManager.Extract(sbsp.Resource2, resourceStream); | |
| using (var objFile = new StreamWriter(File.Open("D:\\Halo\\bsp_test.obj", FileMode.Create, FileAccess.Write))) | |
| { | |
| var objExtractor = new ObjExtractor(objFile); | |
| for (var i = 0; i < sbsp.Sections2.Count; 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
| #pragma once | |
| #include "Tags.hpp" | |
| namespace Blam | |
| { | |
| namespace Tags | |
| { | |
| struct ChudDefinition : Tag<'chdt'> | |
| { | |
| struct HudWidgetDefinition; |
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
| #pragma once | |
| #include "Tags.hpp" | |
| namespace Blam | |
| { | |
| namespace Tags | |
| { | |
| struct ChudGlobalsDefinition : Tag<'chgd'> | |
| { | |
| struct HudGlobal; |
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
| echo Enabling Valhalla weapons spawns | |
| edit 3488 | |
| setfield Weapons[5].PaletteIndex 1 | |
| setfield Weapons[5].AllowedZonesets 1 | |
| setfield Weapons[6].PaletteIndex 1 | |
| setfield Weapons[6].AllowedZonesets 1 |
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
| echo Enabling High Ground weapons spawns | |
| edit 5247 | |
| setfield Weapons[0].PaletteIndex 2 | |
| setfield Weapons[0].AllowedZonesets 1 | |
| setfield Weapons[1].PaletteIndex 2 | |
| setfield Weapons[1].AllowedZonesets 1 |
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
| echo Enabling Last Resort weapon spawns | |
| edit 4f14 | |
| setfield Weapons[8].PaletteIndex 0 | |
| setfield Weapons[8].AllowedZonesets 1 | |
| setfield Weapons[9].PaletteIndex 0 | |
| setfield Weapons[9].AllowedZonesets 1 |
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
| echo Enabling Narrows weapons spawns | |
| edit 4a08 | |
| setfield Weapons[0].PaletteIndex 0 | |
| setfield Weapons[0].AllowedZonesets 1 | |
| setfield Weapons[1].PaletteIndex 2 | |
| setfield Weapons[1].AllowedZonesets 1 |
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
| echo Enabling Sandtrap weapon spawns | |
| edit 54e9 | |
| setfield Weapons[7].PaletteIndex 1 | |
| setfield Weapons[7].AllowedZonesets 1 | |
| setfield Weapons[8].PaletteIndex 1 | |
| setfield Weapons[8].AllowedZonesets 1 |
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
| echo Enabling The Pit weapon placements | |
| edit 4455 | |
| setfield Weapons[3].PaletteIndex 0 | |
| setfield Weapons[3].AllowedZonesets 1 | |
| setfield Weapons[4].PaletteIndex 0 | |
| setfield Weapons[4].AllowedZonesets 1 |
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
| echo Enabling Standoff weapon spawns | |
| edit 4bd7 | |
| setfield Weapons[0].PaletteIndex 7 | |
| setfield Weapons[0].AllowedZonesets 1 | |
| setfield Weapons[1].PaletteIndex 7 | |
| setfield Weapons[1].AllowedZonesets 1 |
OlderNewer