HEK: Chain Spawning Tutorial

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
chaosking202





Posts: 171
Joined: Thu Feb 19, 2004 3:37 pm
Contact:

HEK: Chain Spawning Tutorial

Post by chaosking202 »

This will teach you how to make a projectile spawn another projectile, or other things, after it is destroyed. So if you want a frag grenade to explode, then have 3 armed plasma grenades come out of it, this is the place.

Lets get started.

1. First, go to your "Halo ce\tags\weapons\frag grenade" folder and make a copy and paste it somewhere. It's a good idea to make a copy of anything you'll be altering.

2. Now open up Guerilla, and open go to the "weapons\frag grenade\effects" folder, and open "explosion.effect".

We are going to make a simple chain grenade that spawns 3 plasma grenades.

3. Now that you have explosion.effects open Guerilla, go down to where it reads "PARTS". This is the 4th section from the top.

4. In this section, click the "Add" button 3 times.

5. Now in the dropdown bar you shuold see "8.effect_part_block". Select it.

6. Now 3 tabs down is "location" dropdown bar. Click this and select "0. effect_locations_block".

7. Skip flags and go to the "type" dropdown bar. Select "projectile". In the tab to the right, hit the "..." button, and go to "weapons\plasma grenade\plasma grenade.projectile".

8. In the "velocity bounds" section, enter "0.2" in both sections. I believe this is the speed that the projectile travels when spawned. So the higher it is, the further and faster it will go.

9. In the "velocity cone angle" section, enter 25 degrees.

10. In "angular velocity bounds", put "0.5" in both sections.

11. Repeat this process for the other two "effect_part_block" dropdowns. Just make sure you change the "velocity cone angle", so the grenades spread out in different directions.

12. Now save the file, and recompile your map.

That's it, you have just created a frag grenade that will spawn 3 plasma grenades when it explodes. Then the plasma grenades will explode. The possibilities are endless. Try puting other heavy weapon projectiles, or even vehicles and weapons in place of the plasma grenade. You can even spawn a MC decoy, just use the correct "type" tag. "vehicle" for example if you want to spawn a warthog or ghost. Just be carefull with the vehicle spawning, to prevent lag, and turn off vehicle respawn in the setup menu, otherwise they will keep piling up at the same spawn points that you set in your map. Also don't get carried away with the chain spawning, if you where to make an assault rifle fire rockets that spawn 100 extra projectiles, the engine will not be able to handle it and the game will crash. Also, just for fun, edit the plasma grenade to spawn plasma rifle bolts when it explodes, or you can even edit the plasma rifle bolt impact effects files to make it appear to bounce off the walls. Have fun, and soon I will make a quick tutorial on duplicating projectiles. This is so you can have a frag grenade spawn other frag grenades without it going on forever. See you online sometime.

This is a link to a demo movie of chain spawning.

http://files.halomods.com/viewtopic.php?t=9572

Deimos


this was not written by me, just thought i would share the knowlage.
Overlord





Posts: 137
Joined: Wed Jun 09, 2004 12:46 pm

Post by Overlord »

uh wrong forum this is halo pc not halo ce
kaptainkommie




Wordewatician 500

Posts: 732
Joined: Wed Nov 26, 2003 11:59 pm
Location: Raleigh, NC, USA

Post by kaptainkommie »

Moved and stickied.
sonicm





Posts: 51
Joined: Tue Jul 13, 2004 4:30 pm

Post by sonicm »

can it be used for pc?
(Extract batch then rebuild map via HMT 3.5)
halo mods rock





Posts: 32
Joined: Mon Jul 26, 2004 4:54 am
Contact:

Post by halo mods rock »

User avatar
Locke




Socialist Advisor Translator

Posts: 2225
Joined: Fri Aug 06, 2004 1:42 am
Location: Woot.com
Contact:

Post by Locke »

[quote="halo mods rock"][/quote]
You didnt even post anything.Stop advertising for your clan.
Image
Feel free to send me an instant message if you need anything.
RI5ER





Posts: 118
Joined: Tue Nov 30, 2004 7:14 pm
Location: Texas, ya'll
Contact:

Post by RI5ER »

sorry for being such a noob and not knowing anything, but what does recompile mean? is it to rebuild the map or somethin?
McFarlane





Posts: 1391
Joined: Wed Mar 31, 2004 4:18 pm

Post by McFarlane »

yes
Image
My pb | My gifts | Catch22
RI5ER





Posts: 118
Joined: Tue Nov 30, 2004 7:14 pm
Location: Texas, ya'll
Contact:

Post by RI5ER »

sorry again, but i got to use tool? or can i use HMT?
Knuckx118





Posts: 74
Joined: Fri Apr 22, 2005 8:33 pm

Post by Knuckx118 »

Yeah how are you supposed to recompile the map?
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

it never works for me
...left for good
ledhedgn





Posts: 251
Joined: Wed Jun 22, 2005 2:44 pm
Contact:

Post by ledhedgn »

sry bout the bump, but incase u guys cant get it to work, open up the copied frag grenade.projectile in geeurilla, scroll down to the detonation part, then click the 3 dots in the same row as the effect option in it, then go to the copied frag grenade folder, then go into that effects folder, now choose the explosion.effect u modified. after that you gotta do something in the globals, but im not sure, ill edit back when i find out what works in the globals
Specialpat





Posts: 2
Joined: Wed Sep 13, 2006 7:27 pm

Post by Specialpat »

I cannot find the tag folder :oops: . i have reinstalled ce several times so could someone help me plz?
666!
Dominatr





Posts: 861
Joined: Fri Oct 07, 2005 10:52 pm
Location: Shooting Nazis, Zombies, and anything inhuman

Post by Dominatr »

Go to the CE directory, usually C:\Program Files\Microsoft Games\Halo Custom Edition
You will find the tags folder in there
Specialpat





Posts: 2
Joined: Wed Sep 13, 2006 7:27 pm

Post by Specialpat »

ok i went there but it wont load any tags i put in it
666!
PJ!





Posts: 29
Joined: Thu Mar 08, 2007 10:48 am

Post by PJ! »

how do u recompile map?!?!?
User avatar
TomClancey





Posts: 2565
Joined: Sat Jan 28, 2006 6:49 am
Location: Ohio
Contact:

Post by TomClancey »

Nice bump. Read the Rules.
User avatar
DiSrUpTiOn





Posts: 33
Joined: Tue Jul 17, 2007 1:25 pm
Location: Tsavo Highway

Post by DiSrUpTiOn »

i cant fin tags either in ce and i looked every where

and when i try to load a tag i exported outof bg it says

YOU need to set ur working directory

can some 1 pm me on how to do it
Image
i like cheese more than the moon
User avatar
DiSrUpTiOn





Posts: 33
Joined: Tue Jul 17, 2007 1:25 pm
Location: Tsavo Highway

Post by DiSrUpTiOn »

how do u do this stuff im new to this help


im at the part to save and recompile map
Image
i like cheese more than the moon
techninja





Posts: 15
Joined: Sun Sep 30, 2007 5:16 pm

Post by techninja »

Yeah me too... plz help. I've been trying to do it for days... I'm pretty much clueless.

(btw, I'm reffering to recompiling the map)
Post Reply