Wednesday, June 10, 2015

ET17 FINAL

It's finally done.  Well, not so much "done" as "Due midnight and is mostly functional."










Here's the video.  I apologize in advance if this video is choppy or disorienting.  My computer was running slow.  And I have no idea what's causing the glitch on the moving girder.



Wednesday, June 3, 2015

ET18 ASSIGNMENT 18 Sound Effects

...ET18?  Well, you're the boss.

Anyway, I haven't gotten around to recording any of the sounds in my level this week, so I'll just show you a video from a previous week in which the tutorial just happened to show how to add sound effects to something.

Tuesday, June 2, 2015

ET17 ASSIGNMENT 17 Multi Pick Up Item Setup

Maybe I shouldn't be wedging things into my main project when bugs are preventing anything involving MyCharacter to work.  I mean, I know it works properly in other projects.

ET17 ASSIGNMENT 16 Health & Damage

My project's been a bit screwy ever since I converted it to 4.7.  For no discernible reason, the MyCharacter Blueprint refused to update.  Whenever I compiled it, the Health Bar widget would become uncompiled, and when I compiled the widget, MyCharacter would uncompile.  If I tried running it anyway, none of my changes to it would be recognized.  I even spliced Print String nodes into the parts that were working, and it wouldn't print.  Fortunately, the "Show health bar" stuff works fine as its own blueprint, but if MyCharacter can't be changed now it could cause problems.  For this project, at least.

Another problem I'm having is the Cast to My Character node is failing when it isn't supposed to.

Here it is in the cannon ball blueprint, but I've tried it on a permanent, stationary blueprint and it doesn't work there, either.  It will fail regardless of hitting the floor or the player.


Oh, well.  I guess I can't use this in my level for now.  Ho hum.

Wednesday, May 20, 2015

ET17 ASSIGNMENT 14 in progress

Seriously underestimated the time I needed this week.

Partway through the fire tutorial, I noticed it got a little weird.  Maybe it's my computer?  I realize there were some details that changed after tutorial was saved, but it doesn't explain what I'm seeing here.  I'm sure I followed it exactly.



Wednesday, May 13, 2015

ET17 ASSIGNMENT 13 Main Menu UI

Well, I tried to do this in my project, but I couldn't find the nodes.  Might have to do with my project being in 4.5 while the tutorial was in 4.7.  I did it in a separate game file anyway to show that I did it. I'll have to figure this out later.

Wednesday, May 6, 2015

ET17 ASSIGNMENT 12 Basic AI Pace & Chase

So I got two AIs in the same area.

The default blue guy just paces back and forth, but the Mixamo "Vampire" uses senses to detect the player and chase after them.  The tutorial I followed said to delete their cameras, but for some reason I couldn't delete any components from the Mixamo characters.  Hopefully, that won't be an issue.  I know there were more in the tutorial, but they weren't going to look significantly different.



ET17 ASSIGNMENT 11 Timed Button Triggers

So now we have a blueprint where I can go up to a button, press it, and a platform comes down.
The button is in this booth.  My standing in that green TriggerVolume, all you have to do is press F and the platform comes down.
This platform.  It was already in my level, so why not?

...And I'm stuck.  At first, I thought the program froze, but now I think I'm being punk'd.  The the tutorial I followed had me make a blueprint where the Trigger Volume enabled controls when you entered and disabled them when you left.  Except there's no specification as to what controls are disabled, so it just disables all of them.  Ironically, it does not prevent me from using the key that lowers the platform while I'm outside the Trigger Volume, even after disabling controls.  Maybe it's my computer, but going over the tutorial again I could not find anything that would suggest the Blueprint to disable/enable controls had any relationship to the one that lowered the platform.  Unless something was left out.  I dunno.

ET17 ASSIGNMENT 10 Triggered explosion & Fracture Meshes

I'm not quite sure what I need to show, since it'd just look like the tutorial, so I'll show off my set-up.
I decided to blow up a wall instead of a window.  Maybe you'll have to break into this building by blowing a hole into it... Even though it's still under construction?  Eh, I'll come up with something.



...Huh. I'm sure I followed the tutorial exactly.  Well, basically. Look, maybe I didn't follow every single little tiny syllable, no, but basically I did it.  I'll continue looking into it and update this post once I fix it.


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!