Page 1 of 2

[Tags, Tutorial, MOD] Laser Grid

Posted: Tue Jun 01, 2010 6:42 am
by Sparky
How to make a laser grid

In this tutorial, I'd like to explain how you can make a laser grid for your map. I will include the tags, screenshots and a mod for immediate use and reference.

Screenshots
Image
Image
Image

Tags
The scen tag is in Eschaton meta format and provides you with a single laser that can be duplicated easily with a scenario editor like Eschaton or SwordEdit.
Download the tags

Mod
Here is the Laser Grid mod that applies the grid to both of the bases as seen in the above screenshots of the red base.
Download the mod

Tutorial
Now for the explanation of how this was made! You will need Eschaton 0.8 and a scenario editor like SwordEdit. You'll also need some things I mention below. It will help to have Halo Full, but it's not entirely necessary.

Open Eschaton now, we'll work with this application first.

Step 1: Conceptualize
The technique of spawning a projectile out of nothing can be achieved by using a combination of two ideas: scen tags with referenced effects (most easily found in Halo Full) and chain spawning (made with Halo CE's Halo Editing Kit (HEK)).

The scenery tag references an effect tag. This effect tag references a projectile tag. Diagram below:

Code: Select all

scen
	effe
		proj
In our situation, the projectile is a laser.

Step 2: Extract the right tags

- Open a Halo Full map or a mod that contains the Glowing Drip tag, and recursively extract the scenery\emitters\glowingdrip\glowingdrip scen tag.
- Open my Chainspawning mod with Eschaton and non-recursively extract the weapons\frag grenade\effects\explosion effe tag.
- Open a Halo Full map or a mod that contains the Sentinel Laser Beam, and recursively extract the characters\sentinel\beam proj tag.

Step 3: Open and expand a map

Step 4: Import the extracted tags
- Check the option to skip duplicate tags when importing the Glowing Drip and Sentinel Laser tags.
- UNCHECK the option to skip duplicate tags when importing the chain spawning effe tag.

Step 5: Organize references
- Go under the Reference Swapper of our imported scen tag.
- Change the last referenced effe tag to our imported effe tag (the frag grenade explosion with a plus sign (+) after it).
- Double click this imported effe tag.
- Go under the Reference Swapper and null out everything except the first proj reference, change that proj to the imported Sentinel Laser projectile.

Step 6: Substitute a new model for the laser spawn point
In order to better manage the projectile's spawn location point in a scenario editor, we'll give it a more visible model with which to work.

- Navigate to the imported Glowing Drip scen tag and go under Reference Swapper. Select the mod2 and change it from mod2 scenery\emitters\single_marker_forward\single_marker_forward to mod2 powerups\over shield\over shield. In SwordEdit, this will make the scen look like the active camoflage powerup. (Weird, eh?)

Step 7: Null out the lagging decals and effects
The laser projectiles will create burn decals on anything they touch. This can really lag a map, even when the lasers are not in view. I very strongly recommend nulling the deca reference in the projectile's referenced impact effect tag, and for the purposes of a more equal grid effect, also nulling the burn particles:

- Navigate to the imported Sentinel Laser proj tag (characters\sentinel\beam) and go under Reference Swapper. Now decide which materials you want to null impact effects upon. It depends upon your application of the laser, what material it will impact in its "neutral" state, but since this will likely be something other than a biped's collision material (like stone, sand, grass, metal, etc.), then you only have to change one tag. In the reference swapper, double click on effe characters\sentinel\effects\impact dirt, then choose the Reference Swapper for that tag. Null out all the references except the snd! (sound) tag. If you want the laser to fire silently (to surprise the player, for example), then null out the referenced sound tag also. You might also change these to other values, like flame particles or a screaming sound...

Step 8: Rename the tags
This step is option and will help avoid overlapping names when modding with duplicate tags. You should rename the tags if you're using, for example, another set of Glowing Drip and Sentinel Laser tags for other purposes.

- With the expanded map and using Eschaton 0.8 or later, select the expanded map's tags and rename them to something appropriate, like laser_grid or whatever you decide.

Step 9: Reference the scen
The safest way of doing this is as follows:

- In Eschaton, navigate to the scnr tag. Wait for it to load. Choose the Reference Swapper. Scroll down to a referenced scen tag that you can afford to lose (like the a50 rock because it only has one spawn point in Bloodgulch). Now swap that scen for the laser grid scen.

Step 10: Rebuild the map

Now open the rebuilt map with SwordEdit. Make an archive backup of your mod first, for safekeeping.

Step 11: Place the laser grid's lasers around the map
In step 6, we changed the model to the model of the overshield powerup, which just so happens to look like the active camoflage powerup... Now we can use the square shape and small size of this model to make evenly-spaced laser grid lines wherever we want to place them.

- Select the camo-lasergrid thingy and move it near the general vicinity of where it should spawn.
- The red line coming out of the object in SwordEdit designates the path of the laser beam (the direction the object faces). Over large distances, this laser beam path might shift around a bit, but will eventually rest at a single spot in the same general direction.
- With the scen object still selected, set its Roll to 180 so that it's upside-down. Now you can see the precise spawn location of the projectile, where the red, green and blue lines meet. You will need to make sure that this spawn point is not buried in another object, or else the laser won't appear in the map. Be careful when placing the laser spawn point against walls to make sure it's not buried inside a wall.
- Place the laser beams precisely where you want, evenly spacing them by using the active camoflage's square model as a guide and by pretending the red coordinate line is the laser itself.

Step 12: Save the map
Only save once per SwordEdit session. Load map, mod, save, quit, repeat.

Step 13: Change the laser's impact damage to suit your needs
In the provided mod, the laser only does normal damage, it's not instagib. The reason for this is that you can't actually turn off the grid (yet, but that's coming in a later version).

- Load your mod in Eschaton and navigate to the Sentinel Beam proj that we're using for the laser grid. Under Reference Swapper, double click on its jpt! tag.
- Modify the meta Damage values in this jpt! tag to make it do more or less damage, skip shields, whatever you want.

Step 14: Make the scen model invisible
If you're using a scen with a placemarker model like the Glowing Drip or various emitter tags, then you can use those invisible models, or you can just null out the reference:

- Navigate to the scen tag in use and go under Reference Swapper.
- Change the referenced mod2 to mod2 scenery\emitters\single_marker_forward\single_marker_forward or just null it out.


You're done!
Thanks for reading the tutorial, congratulations and good luck!

Here's what the laser grid looks like without Step 14:
Image

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Tue Jun 01, 2010 8:53 am
by Turtle
Great!
Will try this soon.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Tue Jun 01, 2010 10:24 am
by Sparky
Testing this with an old-time MGM member revealed that there might be a problem with clients immediately lagging-out and disconnecting.

EDIT: A Bananna and I determined that the mod needs a client-side version with the spawn points nulled in the scenario. Another requirement is that the host must use a locked room (password-protected). The mod now includes a client-side version. Any modifications of the host version's laser spawn points will be CSS for the client. So you can make variations on this mod without needing to distribute your changed version, wherever you put the lasers will be CSS for people with the client-side version of Laser Grid.

Summary of requirements:
  • - Clients must use the client-side version of the map (included with download).
    - Hosts must make a password-protected room, but can put the lasers anywhere and they will be CSS for people with the client-side version.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Tue Jun 01, 2010 3:55 pm
by kiddten
good job Sparky! although you probably know this, you should add this to the tags database.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Wed Jun 02, 2010 10:13 pm
by Mota-Lev
Do the lasers do damage or have collision??

But they look good nice work.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Wed Jun 02, 2010 10:16 pm
by Sparky
Mota-Lev wrote:Do the lasers do damage or have collision??

But they look good nice work.
Yes, they are laser projectiles.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sat Jun 05, 2010 5:05 pm
by Amy
Needs a switch.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sat Jun 05, 2010 9:06 pm
by Smythe
Frinîk wrote:Needs a switch.
Needs to be possible first.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sun Jun 06, 2010 8:01 am
by Amy
olly12345 wrote:
Frinîk wrote:Needs a switch.
Needs to be possible first.
Needs a possible.

Btw making the pistol shoot the emitters is super leet.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sun Jun 06, 2010 2:03 pm
by Sparky
Do they stay in place where you shoot them?

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sun Jun 06, 2010 5:40 pm
by Amy
Sparky wrote:Do they stay in place where you shoot them?
YEah, it's a lil glitchy as in they flicker but yeah they stay.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sat Feb 23, 2013 11:38 pm
by rEsTnPeAcEz
What about making a gravity lift? Using a projectile that has a maximum range and some kind of force.
Can we make a CSS one? Using projectiles already in the map.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sun Feb 24, 2013 12:51 am
by TaxiService
CSS: Nooope. You could somehow reuse the gravity rifle/needler to shoot continuously a modified needle (since there is an unused needle projectile in mp maps) that had a huge force or something, but it'd be kinda meh. A joiner would see themselves warp upwards an it'd not be that great.

Gravity lifts in halo 1 are usually made by an emitter that spawns an effect with a jpt! that has a high force. You just jump on the effect and the jpt! shoots you away. Due to the hardly predictable nature of the process, some CE modders encase the emitter into the bottom of an invisible tube that can be accessed from the side, so that when you get hit by the jpt! you are guided upwards by this sort of barrel, kinda like this:

Code: Select all

exit
|^|
| |
|^|
| |
|^ <-- entrance
|#|
emitter
Sooo yeah...

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Sun Feb 24, 2013 8:01 am
by rEsTnPeAcEz
Instead of the invisible tube, maybe you can put a whole ton of emitter around the main emitter, to focus the axis of movement.

Re: [Tags, Tutorial, MOD] Laser Grid

Posted: Mon Feb 25, 2013 4:12 am
by TaxiService
Interesting idea. An issue with this might be that the other emitters might shoot you in the wrong direction and get you "stuck" into the emitters tube. But who knows? Needs more research!