About Bud the Spud

"Bud the Spud" is a potato and unlike other potatos Bud is perfectly happy to remain a potato, he has no intention of becomming "Mashed Potato, French Fries, potato Chips" or anything else that takes away from his being just a plain ordinary potato.

one day Bud discovers that the "Rotten Potato" is selling off his fellow potato people to the fast food conglomorates in a mass genocide of his own people. Now this is enough to piss off any self respecting potato. And so begins Bud's adventure to find and stop the "Rotten Potato" from this dastardy most dispicable act of genocide. Bud will have no easy task as he will have many obstacles along the way, deadly toxic mud bogs to cross, attacking Worms, Potato Beetles, rogue toy Robots, food processing machines, Hibachi BB Q's and so much more.

Thus begins the concept for my indie game development project "Bud the Spud"
Showing posts with label non player characters. Show all posts
Showing posts with label non player characters. Show all posts

Monday, May 21, 2012

Chattering Toy Teeth Character

I've been putting the final touches on the code for the "Chattering Toy Teeth" character. It's almost done, just fine tuning it to match up with sounds and working out the characters death setup for when Bud the Spud jumps on him. I'm making him similar to the Potato Beetles in that it will take Bud two jumps to defeat this enemy. Because he has a top and lower jaw section I'm not sure how that will workout but I'm sure I'll figure it out.

I've been having some export issues with Max 8 lately, for some reason when I export out as FBX with the Y set to Up when it shows up inside of unity it's still Z up?? Very strange. So I've had to use my fix that I ended up using for my Alien Zombies a while back where I had to place my character inside of an empty game object and reference the animation to the model inside of that object. I have no idea why Max 8 suddenly decided to muck up my exports when they were working fine before?? 

low Poly Chattering Teeth Character Finalization

Finished up the low Poly Chattering Teeth texture mapping & made the very simple animation for him. Not really sure if he needs an idle animation or not or what would even be good for an idle animation for that matter but later on today I'll export him into Unity 3D and get him all set up to attack Bud the Spud. ;)

He has a partially detailed interior in that there is a box for the motor, and the gear plate that makes the upper jaw move. I did not place in the little cog or cam, I figured it will most likely never be seen in the game engine so why bother creating the extra poly. I will make a high poly version available and for that one I will place in the little cam or cog. I'll most likely need to make a better texture map for the high poly version as well.

Saturday, May 19, 2012

Chattering Toy Teeth Character

Bud the Spud is going to have a new toy enemy to deal with in the Sand Box Level these comical looking Toy Chattering Teeth that will chase after and snap at Bud the Spud.

Right now just a WIP but soon to be finished. I'm thinking that this will be a toy he will be able to destroy by jumping on top of. Not sure what manor of destruction I should give the toy teeth for when Bud jumps on them though??

Thursday, May 10, 2012

Sand Box Robot Set Up and Testing

I was hoping to have something a little more constructive accomplished between yesterday and today, but I was having some issues trying to code my robot to work properly. You can see here in my testing area, which is a simple scene in which I test stuff out before making it into a prefab to place into game scenes later on. You may recall me mentioning that I should have been able to modify the machine gun sentry script to work for my robot. Well yes and no. Seems I can get it to partially work the way I want. I have his animations all set up as:


  • Aware
  • Shoot
  • Deactivate
Aware: is supposed to play a short animation where the robots moves and shifts a little buried in the sand and his chest doors pop open to reveal his guns as bud the Spud gets within a certain range.

Shoot: is supposed to then play the animation in which the robot torso spins 360 degrees 1 turn but is a looped animation.

Deactivate: Is supposed to play an animation where the chest doors close as the robot guns retract back inside of his chest area.

Sounds simple enough right? Until you get to start trying to code it that is, still working on it.
The other issue that might kill this great idea with the robot, is that he might be too high poly for this type of attack scenario. In making him in Max 8 I was trying very hard to keep him as low to medium poly as I could without sacrificing too much detail in the robot. But when he animates in Unity 3d's editor the whole scene slows to a crawl, so I might in the long run just have him as a nice sand box decoration :( (sadness) because I was really liking the idea of placing him right by the bridge crossing the sand castle mote. I suppose I can rework him in Max 8 and try and bring his poly count down a lot more. That is indeed if that is the issue as it could be the machine gun script rotating him as well as his rotation animation playing at the same time.

I tried making my own script similar to the "Jack in a Box" script but got really weird results like the animations would play making the robot move way below his desired location, so I've no idea what was going on there as it works for the "Jack in a Box." ??

Thursday, April 26, 2012

Bud the Spud With Jack in a Box

After a fair amount more tweaking my initial problem with the weird "Flipped Normals" of my FBX import from Max 8 into Unity 3D still unsolved I found a somewhat workable/not too bad solution (by no means permanent). What I did was use a "Transparent/Cutout/DiffuseBack" shader which I'm sure is WAY more complicated than what I actually need but at least it's showing my "Jack in a Box" head to look somewhat normal. I still have the point light inside of it tough. When I saved it into a prefab and dropped it into my Tree House scene I had to dial back the point light's intensity quite a bit but as you can see here it looks not too bad since I can't light map dynamic objects. I did however light map the tin box, lid, hinge and front tab so at least those parts appear to cast and receive shadows from the rest of the environment.

This will do until I can find a more permanent solution to the stupid "Normals being flipped" issue.

Jack in a Box re Texturing

I figured I might as well get right to it and re texture map the "Jack in a Box" with new maps that I can use. I still pulled some google images to use as a basis for my maps but I gave them a jolly good reworking in Corel Painter so now they are original enough for me to be able to use and redistribute with my model. In some way it was kind of a shame as I had grown quite fond of the maps I was originally using but I'm very satisfied with these, they have a more hand painted look and I tried to keep the overall painting style consistent, it also gave me a chance to fix up some areas of the texture map that I was not 100 percent happy with from the first batch of textures I was using.

I'm still having that freaking import issue from Max 8 into Unity 3D with it buggering up my head of my Jack in a Box and flipping the normals in a very weird way that it also affect the direction the light hits the head part of the model as well... really do not know how to fix that. But last night I did a little experimenting and I found that if I use the Nature soft occlusion leaves material, (it's the wrong texture I know but the only one I could think of that was double sided), tweak the setting and place a point light inside of the head that I can make it look somewhat passable if I have too... but I would rather that the Fracking problem fixed. After this post it will be some more searching on the web to see what I can find out from anyone else who is suffering from the same stoooopid issue... C'mon Unity Fix your Fracking Software!! 

Tuesday, April 24, 2012

Jack in a Box WIP II

OK we have our rather disturbing looking "Jack in a Box" 3D model completed. Now all I have to do is rig it for animation so that way when "Bud the Spud" either bumps into or gets within a certain distance, right now I'm leaning more to the actual bumping into because I'm thinking it more justifies the sudden unwinding of the "Jack in a Box", the box will spring open and give Bud a nice surprise, albeit a grim surprise with the note pinned to the disturbing looking clown from the "Rotten Potato."

I'm hoping to get the character rigging done today so that way I can either work on his animations later today or early tomorrow morning. It took me some time to try and find some google images of sinister looking clowns the dress up the box with, hopefully I can use the images in this circumstance, if not I'll just have to create my own, a pain in the ass but if I gotta then I gotta, no biggie. lol

Sunday, April 22, 2012

Robot Avoidance Testing

As I had mentioned earlier this morning that I had planned to make the first wind up toy robot in the Tree House a bit more of a challenge to avoid. I've since made the trap door as you can see here which serves very well for blocking "Bud's" direction on the one side, I've also added a lot more toy wooden blocks to make the corridor more narrow to traverse. It's still very easy for Bud to avoid the robot though so I think I need to place something else along that wall with the toy blocks, Not sure what though as I'm trying to watch my poly counts because although those toy wooden blocks are fairly small, they do have beveled edges and angled corners as you can see if you look closely at them. So they will add up to be expensive I'm sure if I use too many of them, so far they seem to play with no problems at all in the editor and my Draw Calls are not bad at all so I think I'm doing really OK in that department. But yeah I'm wanting very much to make Bud's avoidance of this robot a lot more of a challenge so as bud will have to time running through the passageway a little more carefully before the robot turns around to walk back down the corridor between the blocks and trap door. I shortened the distance between his auto waypoints so that has helped a lot but I need to make something to place just after the toy blocks... Hmmm maybe an old kite because I can keep that pretty low poly and still have it look good and it might just be big and bulky enough to extend the obstacles along that wall just enough?? There's a thought ;)