Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crate Editing
Trying to figure out how to do crate editing in the pc version of n sane trilogy using Alchemist.
To explain what I mean, I don't want to move the crates location, I just want to change the type of crate. as I was originally writing this I thought of something and figured it out mostly. I cant figure out how to make a crate something that isn't supposed to be in that level. for example put a nitro crate in n sanity beach. if anyone knows how to do this and can explain it i would appreciate it because i want to create a mod similar to ards all nitro mod just a lot more reasonable to play casually making some akuaku crates, more life crates, tnt crates, or other changes needed that dont require you to lag the game) how reasonable it is to manually edit every single crate in every single level is something that will be decided by how complicated the answer to my question is.
Thank you for reading this expect a short demo within a week (assuming doing this is possible)
I frankly don't know how Alchemist handles things, but I can answer your question a bit, if you manually modify the Crates.igz file for the level of choice, using a Hex Editor to open the file.

Now to answer your question proper, as long as you change the string code of the igz file with one that contains the same total number of letters, you are able to change certain crate types to your heart's content.
A few examples include:
Bounce to AkuAku or Random
Basic to Nitro or Arrow
The game is able to recognise some of these combinations since you don't change the code too much, but one particular part called Crate_"Insert crate name here"_Spawned_gen.
For example) As demonstrated, you can change any of the above strings in the code and the game won't crash at all (from the crate modifications at least).
Crate_Arrow_Spawned_gen. or Crate_Nitro_Spawned_gen. or Crate_Basic_Spawned_gen.
Crate_Bounce_Spawned_gen. or Crate_AkuAku_Spawned_gen. or Crate_Random_Spawned_gen.

I'll test for more possibilities going forward but for now, I hope this clears things up a bit.
Just got back into this recently, this is an old post, but showing the Alchemist route may be useful to someone.
[Image: sEUtWom.png]
In the L000_LevelName_Crates.igz (or bonus stage in this example)
Under Content you'll find the crates. Click the crate you want (here I've clicked CEntity: Crate_Basic_Iron001)

Click the part of the hex you want to change,
- Line 3 part 1,2,3 are the X, Y, Z co-ordinates of where the box is (in float).
- Line 5 part 1 is your Crate type. Select that and the "Offset" dropdown menu will show what that hex represents and what you can change it too.
- Other parts do other stuff... presumably

When changing to another crate type be sure to change it to the one ending "_entityData_gen", so changing to TNT would be "Crate_TNT_entityData_gen".
Results may vary for crates not already in that level? Don't really know. Also might not work well with the in-built randomiser.

Forum Jump: