.:Fixing Labels with .ENT Plugins:. Halo 2 Modding Tutorial by Not Zachary88-2
~A billion thanks to DemonicSandwich and Grimdoomer for teaching me how to fix this issue. I figured I should share the method as well.
This tutorial will teach you how to fix the labels in all of your .ent plugins so that you can use Entity's Chunk Cloner.
What are Labels?
Labels are things that add certain strings to reflexive dropdown boxes. They're not exactly necessary. So, if you've had errors upon opening Entity's Chunk Cloner, try it now.
What Will We Need?
-A .ent plugin that is giving you chunk cloning errors (duh)
-Notepad
-Entity 1.3 or higher (I will be using Entity UE 1.6)
**NOTE: I do not guarantee that this will solve the answer to the reason why Entity's Chunk Cloner won't open for your tag.
The Tutorial
Now, you may or may not have seen this thread over at Halomods (for you eager Halo 2 modders out there).
It's called "Xzodia's Plugins". It was a program that he started for releasing a completed plugin of his daily. He's finished now, and a whole new world of editing is possible.
... BUT. Xzodia seems to have a bad habit of adding labels, and forgetting to take them out. Thus, some plugins don't allow chunk cloning. >_< (I'm only using xzodia's plugins as an example. This works for any other plugin with labels.)
So, if you're getting this error ... :
... Or having issues with chunk cloning, then let's begin. ^_^
- Open up your .ent plugin in Notepad. I will be using xzodia's [vehi] .ent plugin. You may notice that this plugin code is similar to HTML code (well, in a sense anyway). This is how plugins are created. Now, find a line of code similar to this:
Code:
<struct name="ReflexiveNameHere" offset="#" visible="True" size="#" label="EraseThis">
- This code is the start of a reflexive, also called a "struct" in this kind of code. See this code?
- It's the end of this "struct" start. Words, or any simble for that matter, between the quotation marks are labels. These need to be cleared, so that the Chunk Cloner can open. When cleared, it should look like this:
Example:
Code:
<struct name="Ai Properties" offset="92" visible="True" size="16" label="Type Name">
Changed to:
Code:
<struct name="Ai Properties" offset="92" visible="True" size="16" label="">
- Repeat this step for every "struct" you can find. I find it easier to go to "Edit" > "Find" > then search for "label".
- Once you're complete, open up Entity, scroll down to the tag-class your plugin supported, and open the Chunk Cloner.
Hooray! It opens!
I hope this helped someone out there.
-Not Zachary88-2