Welcome to Open Carnage

A resource for Halo 1 modding and tech, with unique means of rewarding individual content creation and support. Have a wander to see why we're worth the time! EST. 2012

Kavawuvi

Invader

26 posts in this topic

Hey @Kavawuvi, as you know I don't mod but I just read over most of your dev history and just find this entire idea that you are creating this program to drastically reduce "clutter" of modding Halo CE Maps interesting. 

 

Like, I didn't realize that modders were able to modify a game or game engine to be more efficient. From what I understand, this new format is most beneficial in potential to those who have reached the upper limit of modification "pliability", as we can call it? Where users can no longer push increasing amounts of mods into the map file because of stability issues? 

 

And from your latest updates with AI, it seems to me like your work here would be very useful for single player scenarios.


a992ae08-e9d5-4370-b077-011e3a82a78a_zps4de3f30c.jpg

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

It's another update!

  • AI encounters now default to BSP index 0xFFFF if they don't have any spawns. This should remove some of the "0 BSPs" you may see, particularly the one in The Silent Cartographer.
  • I figured out a hidden value in the biped tag, the head node index. Before this, I always assumed the value was 12, but some bipeds (most notably elites and Captain Keyes) have it set to something different. This value affects aim assist as well as cutscenes, notably the cutscene where Captain Keyes says, "Let's give our old friends a warm welcome." in The Pillar of Autumn. Before, the camera would zoom in on his ear. Now it zooms in on his face as expected.

RgAfxYk.png

 

On 6/9/2019 at 2:36 AM, blitzburns4 said:

Hey @Kavawuvi, as you know I don't mod but I just read over most of your dev history and just find this entire idea that you are creating this program to drastically reduce "clutter" of modding Halo CE Maps interesting. 

 

Like, I didn't realize that modders were able to modify a game or game engine to be more efficient. From what I understand, this new format is most beneficial in potential to those who have reached the upper limit of modification "pliability", as we can call it? Where users can no longer push increasing amounts of mods into the map file because of stability issues? 

 

And from your latest updates with AI, it seems to me like your work here would be very useful for single player scenarios.

The Invader tool is intended to be both faster and better than the stock tool.exe that comes with the Halo Editing Kit in regards to compiling cache files.

 

I am working on having AI encounters work just as well as they do in tool.exe, but a lot of this stuff just isn't quite documented. This requires a lot of reverse engineering of the cache files regular tool.exe generates as well as a lot of trial and error in the base game in order to figure things out.

ST34MF0X, Tucker933 and Vaporeon like this

Share this post


Link to post
Share on other sites

Another update! This time it's a small one, but it could be very important to some people.

 

What is new?

I've added a new tool, invader-crc. This can be used to both calculate and modify the Halo-calculated CRC32 of a cache file. This mostly does the same thing the MEK does, but it is its own separate tool.

 

Why use this?

Having such a tool is very useful, as you could write a script that can take the CRC32 of a map (or a folder of maps) with this tool, deprotect and extract it using MEK, rebuild it using tool or invader-build, and then use this tool to write the CRC32 that you got before. This could be done in Python or Bash.

 

Added to Halo Custom Edition is the CRC32 calculation that is performed on your maps. You may have noticed Halo Custom Edition, without mods, takes more time to start up, and this is because all of your maps are being CRC32'd. When joining a server, this value is compared against the server's value by using a challenge that can only be correctly answered if you have the right CRC32. This means that if you modify a map, there is a large chance that you will not be able to join servers unless you spoof the CRC32 value afterwards.

Tucker933 and ST34MF0X like this

Share this post


Link to post
Share on other sites

Here is a small update. I haven't gotten much done (I suppose I fixed an issue with invader-crc when you try to input an invalid CRC32?), but I have found that most of the remaining issues are mostly singleplayer issues or issues that primarily affect singleplayer maps and not any sort of stock multiplayer map.

 

Here is a short list of remaining things to do before version 1.0 is released.

  • Fix detail object collection tags
  • Fix AI and AI encounters
  • Fix the Pillar of Autumn cryo bay door
  • Jason Jones singleplayer maps
  • Generate a scenario tag reference array from scripts
  • Fix some issues with tag indexing

This list may expand and shrink as stuff is worked on or more issues are discovered. However, most multiplayer maps should work fine.

VoidsShadow, Tucker933 and ST34MF0X like this

Share this post


Link to post
Share on other sites

Here's another update!

 

First off, I've Jason Jonesed singleplayer maps. It is possible that there may be more values that will need to be modified, but probably not. Here are the changes that tool.exe does that I know about:

  • Strips cheat weapons and powerups from globals tags (I already did this a long time ago)
  • Sets error angle values on the pistol to 0.2° - 0.4° (decreased from 0.2° - 2.0°)
  • Sets minimum error on the pistol to 0.2° (increased from 0.0°)
  • Sets elite energy shield damage modifier for pistol to 0.8x (decreased from 1.0x)
  • Sets error angle values on the plasma rifle to 0.25° - 2.5° (decreased from 0.5° - 5.0°)

 

Basically, the pistol gets significantly nerfed as it does 20% less damage to elite energy shields. The plasma rifle, on the other hand, gets buffed. Note that these values will be set regardless of what the original value was because this is to get the same output that tool.exe gives. If you do not want your pistol and plasma rifle tags to be modified, you will need to rename them.

 

Next, I've also fixed bump map scaling with shader environment tags that were made exclusively using the Halo Editing Kit and not extracted with Refinery.

 

Lastly, I've fixed a crashing bug for the water tags that came with the Halo Editing Kit.

ST34MF0X and Tucker933 like this

Share this post


Link to post
Share on other sites

Here is a small update:

  • shader_transparent_generic tags are implemented. These tags do not work in the stock game and only properly work on the Xbox version of the game. However, Invader does build these tags now.
  • You can now use scenario tags with uppercase names. However, the map will be automatically lowercased.
  • Numeric counter limits are now unsigned.

Want this? Download it here: invader-win32-20190620T204001Z.7z

 

 

ST34MF0X likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.