Wednesday, April 29, 2015

ET17 ASSIGNMENT 09 Adding AI - Turrets that Track & Fire at you


This is what you meant by "Victorian turret," right?  It's what Google thinks a Victorian turret is.




I thought it'd be a good idea to add a stationary base like Waqas' version does.


I probably should've modeled my own barrel, but then I'd have to model my own projectile, too, and screw that!




Ow. Ow. Ow. Ow. Ow. I think it works, guys.  Ow. Ow. Ow...


Friday, April 24, 2015

Oh. Hi. So. How are you holding up? BECAUSE I MADE A TELEPORT GRENADE

Just something I came up with during a meeting today.  I don't think I'll actually use this in my level, but I thought I'd share this because it's pretty cool if I do say so myself.  Skip ahead eleven seconds if you don't want to stare at a Blueprint that long.


Wednesday, April 22, 2015

ET17 ASSIGNMENT 08 Doors & Light Mapping

Well, I got the doors, though they've been there a while now.  Meanwhile, look at all the new stuff I made!



Lamp post/pillar.  Holds up walkways, provides light, and covers up corners.  Made a different version for the upper walkways, but I forgot to get a picture of it before turning it into this this.  Guess I should've just copied it.  And made it a single model instead of keeping it separate pieces.




The round deck I mentioned last time.  There are two in the upper picture because Unreal 4 wasn't doing the collision right and there was a trick in UDK that involved making a separate model but I couldn't get it to work.  Instead, the deck and the barrier have been separated into individual models.


The two counters are on their sides here (they weren't tall enough like this).  I also made barriers for the walk ways, including "caps" for the smaller ones that lead nowhere.  Forgot to get picture and footage of them in the level, though.




Two walls with shop windows, one with a doorway and one without.  Haven't used the second one yet.


Much more open now!


Short counter for the retail shops.



Long counter for the bar.  And services, I guess?  I'm sure some businesses would use a counter like this.



Lamp post/pillar.


The concept here is that as they build up the tower, they take these big lamps off and stick another pillar on top of it.

Here's the video:


Wednesday, April 8, 2015

ET17 ASSIGNMENT 07 High to Low Poly Model Detail Transfer Using Normal Maps

Er, well...  I upgraded the model for the I-beam.  The rope wraps around it now... Just don't look too closely at it...







I also made a rounder platform to go around the towers, but I'm having trouble making a non-sloped collision for it.  There was a method that worked in UDK that doesn't seem to work in Unreal 4.5, or maybe I just goofed on it.  Hard to say.




ET17 ASSIGNMENT 04 UNREAL TUTORIAL

I'll have this week's assignment post up later tonight.  For now, here's a tutorial on how to make a simple jump pad.

Making a jump pad isn't exactly complex.  However, it may be almost impossible to find all of the components if you don't know how.  I'll explain what I mean in a moment.  Let's start from the beginning:

STEP THE FIRST: Have you tried running Unreal 4?
Create a new Actor Blueprint.  Name it whatever you like, but for this demo I'm going with "myJumpPad."

SECOND STEP: Make it look like something
Go to the Components tab and drag a mesh or something into Root on the Components box.  I used a Torus (in the Starting Content under "Shapes"), but whatever you use keep in mind that if it's a jump pad the player will probably need to be able to get on top of it (or in it if you're using a particle effect or just a volume).  Of course, if it's a bumper or otherwise just makes them move in a direction other than up, they just need to touch it.





STEP THREE: Put it in a box
Select the Box from the Add Components list, then reposition and resize it.  It's exact dimensions will depend on when you want it to make them jump, but you'll want it to at least reach above the mesh.  Here I've also made it wider than the Torus so the player doesn't actually have to get on top of it, but still has to be up close to it.  I've found it won't work without using this as a trigger volume.

FOUR: ACTIVAAAAAAAAAAAATE!
Go back to the graph, right click on the Box component, and under Add Event choose OnComponentOverlap.  This is crucial to getting the Blueprint to actually function.

FIVE: Press the Jump Pad button
Left click in the Blueprint area, uncheck "Context Sensitive," type Launch, and select "Launch Character."



This is the command that throws the character in a particular direction, depending on the values in the "Launch Velocity" vector.  A positive number will launch them one way (up in the case of the Z-axis), and a negative number will throw them the other way (down along Z).  I've found a value of 500 is about the height of a normal jump for the default character, so I set all my jump pads to 1000.  X and Y can be left at zero, as the player will continue moving in whatever horizontal direction they were going at launch.  Using non-zero numbers, however, means there will be force acting either with or against the player, depending on which way they are moving along those respective axes.






SIX: I feel like I'm forgetting something...

Oh, right.

The Launch node needs a target, but it won't accept an Actor.  It will, however, accept a Character, so you will need to get a Cast to Character node.  Remember earlier how I said it can be difficult finding all the parts to this?  As far as I can tell, as of 4.5, there is only one way to get the Cast To nodes, and if you don't do it they won't show up in the list. So make a note of this so you don't forget... Unless this is something you do all the time, which means I'm wasting it.

Drag out from the "Other Actor" output and make sure "Context Sensitive" is checked.  After that, you can find it under Utilities > Casting, or just type it in like I do.  Once it's in, make sure the Exec outputs/inputs are connected, as are "Other Actor" to "Object" and "As Character" to "Target," and Bob's your uncle.


FIVE, I MEAN SEVEN: Put it in your level
Like I said before, you may need to have your players get on top of the jump pad.  If, like me, the mesh you're using is too big to step onto, you can either make the mesh smaller or just lower it into the floor as shown.  Of course, if the box is around the mesh instead of just on top of it, it might not matter as long as the player doesn't get snagged on it.






EIGHT: Step on it!
Now let's see it in action:
Wee!

Wednesday, April 1, 2015

ET17 ASSIGNMENT 06 Adding Basic Interactivity

I can't help but notice that eCompanion said to title this as an ET15 post rather than ET17.  I assumed that was a typo.

Anyway, I did couple really basic door and girder-on-rope (to be a moving platform) models, Blueprinted them up, and put them in the level.