Post by ©³~ SilentK on Jan 19, 2011 14:02:30 GMT -6
The files with the hex editing and the ones with the .xml root command shifting I including pre-made. This was a difficult decision to make, because it would be impossible to explain (you people have enough trouble with PMI), and it ruins the point of creating chain spawn. So rather, this is a tutorial on how to Customize Chain Spawn.
How to Customize Chain Spawn chains
First you'll need to recognize the files and why. At this point, you should have OPENED the folder included, and maybe browsed through it. Don't read the first steps, and find it. I want you to understand it.
There are 2 folders, Frags and Chainfrags. The Frags folder contains duplicated frag grenade meta and corresponding .xml. Also ruins Chain Spawn. And so you know, it was supposed to be this:
-Duplicate as many frag grenades
-Hex frags (particle strings)
-Recommand .xml in all duped frags so that particle input can be configured to any tagclass
_/\Start tutorial/\_
-Alter each frag to it's spawn,
-Form chain
I left out details
It's not relavent anyway, but thought you should know.
Continuing, the files include a duplicated frag grenade, so you can spawn the chains (starts chain), and so you can start different chains. And in chainfrag, the different frag grenades (elements of spawn) and their effects (mainly what they spawn next).
Now the build.
Batch any map (bloodgulch) I recommend PMI the wraith mortar into the map, then batching it, if you want wraith mortars. If you dn't have that luxury of PMI, then don't worry about it.
-Dump the whole chainfrag folder as a folder into the weapons of rebuild
-Go to Chain Spawn folder and go to the frag grenade folder. Copy the 2 files as files into the rebuild directory weapons/frag grenade.
I pre-editted the the files (hexed at particle strings) to spawn frags (filled in the empty hex string so you don't have to.
Now the Chains
I'm going to do Lead frag-plasma grenades-fuel rods-rockets (chain configured to 4)
Configuration:
The way to edit the chains, the next thing it spawns, is to replace commands in the .xml of the grenade you're editing. Element1 spawns more, Element 2 spawns 3, 3 spawns final, doesn't spawn. I will show you where the commands are.
There are 4 commands in each grenade.
To access the .xml controlling the chain's next spawn,
-In the rebuild of Chain Spawn, go to weapons/chainfrag/and effects
-Open Element2.xml in notepad
The Dependencies will look like this
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
It's easier to use ctrl+F.
Here are the locations. There are 4.
Commanding the .xml (ordering chain)
In order to do this, you must change the tagname and its ruling tagclass.
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
Note the jorpejboÿÿÿÿ. This the tagclass with each section in reverse (proj obje ÿÿÿÿ).
Below it is the weapons\chainfrag\frag grenade2. This is spawning the next grenade. It is there because I configured it like that before I released it, so it would be easier to edit. I use it as just <Filename></Filename> and type the tag in.
Since plasma grenades come 2nd in the chain, switch weapons\chainfrag\frag grenade2 with weapons\plasma grenade\plasma grenade. Make sure you replace all of them with weapons\plasma grenade\plasma grenade. Since we're spawning a projectile, we can leave the tagclass alone.
*Hint* If you don't know the tagname, go to HMT. Although it's weapons\, it's not in weapons. Check the tagclass for the branch, go into HMT and copy the tagname at the top.
The tagname is the name of the meta file.
Now you have the second spawn, now for third and fourth.
-Open element3.xml
Replace weapons\chainfrag\frag grenade2 with weapons\plasma_cannon\plasma_cannon (underscores _ included)
-Open element4.xml
Replace weapons\chainfrag\frag grenade2 with weapons\rocket launcher\rocket (just a space), not an underscore)
!WARNING! IN ORDER TO SPAWN THE CHAIN, YOU MUST GO TO HMT AFTER REBUILD, AND SWAP FRAG GRENADE2 WITH FRAG GRENADE. THIS WAY YOU THROW THE CHAIN STARTING GRENADE!
That is like the biggest error.
That is how to simply command .xml strings to spawn chains (for my files anyway). Now let's get more interesting.
When you've mastered that, let's spawn something more than vehicles.
Spawning more than projectiles
Let's spawn vehicles at the end of the chain.
-Open element4.xml. You need to have the batched map, so I hope you have the folder (by the way you can rebuild in the batch, doesn't matter.).
When you come across the string;
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
The tagclass must be altered to accommodate the new spawn. It is configured for a projectile, and we are spawning a vehicle.
For <Tagclass>jorpejboÿÿÿÿ</Tagclass> you must swap it for that of a vehicle. That would be vehi unit obje, however each section is reversed.
vehi unit obje
ihev tinu ejbo
ihevtinuejbo
Now you can enter the tagname in the slot, vehicles\warthog\mp_warthog.
This (should) work with anything that can spawn (or a mod2);
-proj
-vehi
-weap
-scen
-equip
Quick Chain Commands
-Batch a map
-Drop whole chainfrag folder as folder into weapons
-Add the 2 files as files from frags into weapons/frag grenade
-Open element2.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Open element3.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Open element4.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Rebuild map
-In HMT, swap frag grenade with frag grenade2
Tips and errors
-If your chain's not spawning, GO TO HMT AND SWAP FRAG GRENADE WITH FRAG GRENADE2.
-If you shoot it straight up, sometimes it rains not in a clump.
-To get a never-ending chain, command and element to spawn a previous element. The element you use to spawn the previous element will be the final. If use element 3 to spawn previous elements, element 4 will not exist.
-If a particular part of a chain doesn't spawn, in the .xml string, make sure you used the underscore (_) correctly.
-Sometimes it's a space
-You can't type y's for ÿ's. Get used to it.
-Try spawning fire!
There will be NO complaints or asking how to fix something in this topic! It's a glitchy mod. GET USE TO IT!. I made a bitch topic for this, so... bitch there...
Download: www.modhalo.net/index.php?app=core&module=attach§ion=attach&attach_id=2641
How to Customize Chain Spawn chains
First you'll need to recognize the files and why. At this point, you should have OPENED the folder included, and maybe browsed through it. Don't read the first steps, and find it. I want you to understand it.
There are 2 folders, Frags and Chainfrags. The Frags folder contains duplicated frag grenade meta and corresponding .xml. Also ruins Chain Spawn. And so you know, it was supposed to be this:
-Duplicate as many frag grenades
-Hex frags (particle strings)
-Recommand .xml in all duped frags so that particle input can be configured to any tagclass
_/\Start tutorial/\_
-Alter each frag to it's spawn,
-Form chain
I left out details
It's not relavent anyway, but thought you should know.
Continuing, the files include a duplicated frag grenade, so you can spawn the chains (starts chain), and so you can start different chains. And in chainfrag, the different frag grenades (elements of spawn) and their effects (mainly what they spawn next).
Now the build.
Batch any map (bloodgulch) I recommend PMI the wraith mortar into the map, then batching it, if you want wraith mortars. If you dn't have that luxury of PMI, then don't worry about it.
-Dump the whole chainfrag folder as a folder into the weapons of rebuild
-Go to Chain Spawn folder and go to the frag grenade folder. Copy the 2 files as files into the rebuild directory weapons/frag grenade.
I pre-editted the the files (hexed at particle strings) to spawn frags (filled in the empty hex string so you don't have to.
Now the Chains
I'm going to do Lead frag-plasma grenades-fuel rods-rockets (chain configured to 4)
Configuration:
The way to edit the chains, the next thing it spawns, is to replace commands in the .xml of the grenade you're editing. Element1 spawns more, Element 2 spawns 3, 3 spawns final, doesn't spawn. I will show you where the commands are.
There are 4 commands in each grenade.
To access the .xml controlling the chain's next spawn,
-In the rebuild of Chain Spawn, go to weapons/chainfrag/and effects
-Open Element2.xml in notepad
The Dependencies will look like this
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
It's easier to use ctrl+F.
Here are the locations. There are 4.
Commanding the .xml (ordering chain)
In order to do this, you must change the tagname and its ruling tagclass.
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
Note the jorpejboÿÿÿÿ. This the tagclass with each section in reverse (proj obje ÿÿÿÿ).
Below it is the weapons\chainfrag\frag grenade2. This is spawning the next grenade. It is there because I configured it like that before I released it, so it would be easier to edit. I use it as just <Filename></Filename> and type the tag in.
Since plasma grenades come 2nd in the chain, switch weapons\chainfrag\frag grenade2 with weapons\plasma grenade\plasma grenade. Make sure you replace all of them with weapons\plasma grenade\plasma grenade. Since we're spawning a projectile, we can leave the tagclass alone.
*Hint* If you don't know the tagname, go to HMT. Although it's weapons\, it's not in weapons. Check the tagclass for the branch, go into HMT and copy the tagname at the top.
The tagname is the name of the meta file.
Now you have the second spawn, now for third and fourth.
-Open element3.xml
Replace weapons\chainfrag\frag grenade2 with weapons\plasma_cannon\plasma_cannon (underscores _ included)
-Open element4.xml
Replace weapons\chainfrag\frag grenade2 with weapons\rocket launcher\rocket (just a space), not an underscore)
!WARNING! IN ORDER TO SPAWN THE CHAIN, YOU MUST GO TO HMT AFTER REBUILD, AND SWAP FRAG GRENADE2 WITH FRAG GRENADE. THIS WAY YOU THROW THE CHAIN STARTING GRENADE!
That is like the biggest error.
That is how to simply command .xml strings to spawn chains (for my files anyway). Now let's get more interesting.
When you've mastered that, let's spawn something more than vehicles.
Spawning more than projectiles
Let's spawn vehicles at the end of the chain.
-Open element4.xml. You need to have the batched map, so I hope you have the folder (by the way you can rebuild in the batch, doesn't matter.).
When you come across the string;
<Dependency>
<Location>0x198</Location>
<Tagclass>jorpejboÿÿÿÿ</Tagclass>
<Filename>weapons\chainfrag\frag grenade2</Filename>
</Dependency>
The tagclass must be altered to accommodate the new spawn. It is configured for a projectile, and we are spawning a vehicle.
For <Tagclass>jorpejboÿÿÿÿ</Tagclass> you must swap it for that of a vehicle. That would be vehi unit obje, however each section is reversed.
vehi unit obje
ihev tinu ejbo
ihevtinuejbo
Now you can enter the tagname in the slot, vehicles\warthog\mp_warthog.
This (should) work with anything that can spawn (or a mod2);
-proj
-vehi
-weap
-scen
-equip
Quick Chain Commands
-Batch a map
-Drop whole chainfrag folder as folder into weapons
-Add the 2 files as files from frags into weapons/frag grenade
-Open element2.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Open element3.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Open element4.xml in notepad
-Edit tagname and tagclass (if accommodating)
-Rebuild map
-In HMT, swap frag grenade with frag grenade2
Tips and errors
-If your chain's not spawning, GO TO HMT AND SWAP FRAG GRENADE WITH FRAG GRENADE2.
-If you shoot it straight up, sometimes it rains not in a clump.
-To get a never-ending chain, command and element to spawn a previous element. The element you use to spawn the previous element will be the final. If use element 3 to spawn previous elements, element 4 will not exist.
-If a particular part of a chain doesn't spawn, in the .xml string, make sure you used the underscore (_) correctly.
-Sometimes it's a space
-You can't type y's for ÿ's. Get used to it.
-Try spawning fire!
There will be NO complaints or asking how to fix something in this topic! It's a glitchy mod. GET USE TO IT!. I made a bitch topic for this, so... bitch there...
Download: www.modhalo.net/index.php?app=core&module=attach§ion=attach&attach_id=2641