This section will explain to you how to use the e_stack command in Ent Mod:
Command Use: Usage: Description:
This tutorial will tell you how to use the e_stack command to copy entities efficiently.
e_stack is used to copy an entity one or more times each seperated by the space you specify. If you use the admin_lookingat command on a entity you will see it's mins and maxs. This helps to determine the size. If there's an entity you want to copy many times and make a floor out of, for example, copy it and put it at a corner of the floor your going to make. Then do admin_lookingat in the console while looking at it.
Look for the mins and maxs and you'll see something like:
If you subtract the mins from the
maxs you'll get the size of the entity:
Now use the showx and showy commands to see which direction is positive x and positive y. We'll assume for the command example that positive x and positive y is the direction we want to copy our entities. So if we use the entity to make a 5 by 5 tile, we run the
following commands while looking at the one we're making copies
of:
Now we will have the sides of our 5 by 5 tile. To get the rest do one of the following:
You will now have 25 copies of the entity each touching each other making a perfect floor (assuming you used a rectangluar entity).
Another example (making a staircase): By default, the biggest step you can take is 18 units up. Any thing more and you won't automatically move up, you'll have to jump. So for this example, we'll take an entity and use e_stack to create a staircase with steps 18 units tall. Find an entity you want to use and put it on the ground.
Now, to make a staircase in the X direction with 5 steps, run the
following command while looking at the entity on the ground: This makes 5 steps, each of them 24 units out and 18 units up from the last.
Tips:
|