Sunday, July 29, 2012

Week 3 of Midterm

This week I was put in charge of putting in the enemies into our test level, and finishing the static meshes. Importing the enemies was a simple task the only thing that I had to do was create a custom class to tell the game engine 'Hey I want to load this model and animations with it when I do this.'

One of the more harder things I had to do with Importing the enemies was getting the animations to work we are for right now the enemies will charge at you. We need to create a delay from the time they see you to the time they start attacking you. Our Professor said and I see why this will work, he explained that when the model 'pushes the fire button' he will do a certain animation and that he use the same thing when creating a sword attack animation. Other than that everything was simple.

The screen shot below shows that I had to make a custom class.


This screen shot is what I had to do to make the models appear in the game. 
All the other crazy lines just means that at the start of the level load a random enemy and have them start attacking you then when they die spawn another random enemy and keep on repeating.

Besides getting the enemies into the game I had to finish creating some models that are needed for the beginning level. While I was making these model I noticed that when you look at them in 3Ds Max the look way different than in UDK, because of the default lighting that comes with both programs. So that's why I added two screen shots one in 3Ds Max and the other in UDK to show the difference that I noticed. Something fun that I did was create a bridge out of a photo and I like to think that I got it spot on the only thing that I didn't get would be that there are far more planks and that the rails have there own planks but other than that I would say there identical. I also went back on one of my earlier models and touched it up the only thing with touching up a model would be that you would add more poly's I also included a screen shot of the poly's that are currently on the model to what they were.

If the model looks bigger in the UDK Game Engine it's because the way the camera is set up.




(Left New Chest, Right Old Chest)





No comments:

Post a Comment