In this second section, I cover setting up menu and cut scenes, importing a gun to pick up and point, shooting the gun to knock over the boxes, and then finally adding a sound effect when the gun is shot.
Discussion
87 Responses to “Game Engine: Simple Character Part 3”Leave a Comment
You must be logged in to post a comment.












ANY BODY know how to delete comments i want to delete the previous ones .And thanks for the help jonathon
when i open the runtime it crashes
how do u make enemy’s that follow you and attack u ,is there any way to make a character lift up another enemy
is there any way to make a split screen for multiplayer games?
I don’t know the exact details but you could have more cameras in the scene. One for each player. I remember seeing it in a tutorial for Unity but I imagine that is how it works in Blender as well.
but when you have 2 camera’s it only looks through 1
can you give me more information
Thanks David for the tutorial, it’s great! Falling over at one bit though…
In the game engine, how do you combine two animations? For instance, I made a simple “H” shape, where two of the arms constantly wave through the “always” command, the other two wave when spacebar is pressed. I can’t for the life of me make both happen together, despite playing with the priorities etc. Only the “arms” are keyframed in the relevant action, so there’s “space” for the opposite pair to move.
What am I missing? Any help greatly appreciated
Cheers
Husbandofemily
plz help me, i cant make the gun shoot, I did everything like in the video(ofc I have another models and that stuff, I think it doesnt matter) and it still wont work, the small cube is just flying forward at the start of the video, plz help
I know it’s an old video but there’s quite a few control glitches that would be good to cover if you continued.
It looks like you’d be able infinitely jump throughout the tutorials. Perhaps add an invisible object at the base of his feet to check for any object below it, just like when he automatically goes into push animation. The check has to be small or he’d have the ability to wall jump. :p
Is there anyway to set a variable to him for when he does pick up said gun? As you showed, he can go into the Gun Aiming animation before he picks it up, probably on Scene 1 since the character is linked. This would allow you to set a 3rd constraint (or Sensor as Blender calls them) that he has to have the gun, and be holding S to aim, then use that constraint for when he fires as well.
It looks like you can, too. I haven’t tested it, but it you can have the Actuator change the value of that Object’s Property (if the property is like.. String, Integer, or Boolean, instead of just a plain old “I have this property.” Then just make the constraint.
You can send a Message to other objects to, and there is a sensor for it, so when an object sends a message it can set a value. For instance, if you shot a special, unreachable power up, it would infuse you with said power up, but since your character isn’t part of that collision reaction, you’d need to do it that way.
Sorry for excessive that I haven’t even tested. Hope it helps some game developers in the making, though.
Hi, thanks for the great tutorial. I have purchased the file to check the whole thing out more in detail. However, the animations are missing in the game. Could you please help me on that? Thanks a lot. Dimitri
I it’s not letting me add objects via the game engine…
Actuator=edit object => add object
do any of the objects need to be actors for this to work? any other settings required?
My “Add Object” feature doesn’t work.
PS I’m usin blender 2.63a
Nice Tut! not only usefull but fun too!
Great stuff as usual. I enjoy modeling in my free time and often reference your tutorials. Might I humbly ask for a tutorial on exporting an animation as an MD5? I have tried to do this and the closest I’ve gotten is having my character appear with no texture or animation. My goal is to create a new central character that I can manipulate in Platinum Arts Sandbox.
http://www.sandboxgamemaker.com/
These links have been the most helpful.
http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/IdTech4_md5
http://www.katsbits.com/smforum/index.php?topic=167.0
http://www.katsbits.com/tools/#md5
http://www.katsbits.com/smforum/index.php?topic=178.0
Please and Thank you
When making gun fire mechanics you should use an empty for where the bullet appears. By do this it makes it alot easier.
Where can i buy/download the finished game?
What you see in this part is the final game. We never took it any further as it was just an educational piece. However, you can find the final version from this tutorial included in the source files, which are available to Citizen members.
Jonathan
Ok Thnaks
Thanks it was a really helpfull video
hahaha Milk a duck? this is brilliant. much better than the stuff on youtube!
hahaha Milk a duck? this is brilliant. much better than the stuff on youtube!