Tags
249HumanAnimated wrong axe shield flying, blender import model too small, nu, Unity 3D mouseover don't work, Unity 3D to Blender, We do not have a target for the camera
Cruba’s B.urg Z.erg A.rcade H.ack A.nd S.lash T.utorial S.eries Guide
Hack And Slash Tutorial Series by Peter Laliberte: burgzergarcade.com
This one is just for people who never did a bigger project. I just want to give you some tips to prevent frustration and put some stones out of the way that would probably stop you.
Don’t forget: Petey did this series out of nothing. It is “live development” like.
*** Tips ***
1) Windows Media Player: No picture when IntelliSense is active
Watching the tutorial series offline over common Windows Media Player, you could have same problem like me : The picture turns blue or black when MonoDevelops IntelliSense is active. I prefer vlc media player. You will not have this problem again.
2) Don’t mess up your work
I’m saving c# scripts after every change or new line that is done. Longer or hard to follow tutorials you will forget to save your work maybe. I also do backups of the whole Unity project 1-4 times per day. Being really new you maybe will do more errors and it’s hard if you have no saved point to return.
3) Overview
You should trim values. 1.0467664 is not good to keep the overview and for your project 1.046 or 1.05 will have the same effect.
4) Stick exactly to the code shown in the video
It’s just an advice: Do the code exactly like shown in the videos. The reason for doing additional work? You will always be able to identify scripts, parts and codelines without guessing or being unsure.
5) Fix codelines or parts, when you see changes in videos
Sometimes there was made fixes or rearrangements behind the scenes. It’s useful to compare code from time to time. I compare any code in any new video.
6) Try to reach the “from the scratch” series and you’ll be safe
If you reach tutorial 148 and later 243 a-u, many errors and not well working stuff will be gone by magic. Just try to reach this milestones.
7) Errors, Null Reference – everything stoped!
Be sure your code definately have no typos. Be sure: A single semicolon too much or forget it means the whole thing will stop and force you to fix errors before going on.
8) It’s not like in the video! I did exactly the same!
Be sure you did something wrong. Check the whole video again if needed. Somethimes it’s really fast, you miss a single action that is important for the whole thing.
9) Character Generator (CharacterGenerator.cs) – Override spending points
When you work on this part, you will get crazy spending all points again and again for testing. You could just override spending the points. Of course be sure before, that the functionality is given. Now you just need to enter name to go on.
// override points detection, earlier tutorials
// if(_toon.Name == “” || pointsleft > 0) <<– original
if(_toon.Name == “”) <<– without checking points
// override points detection, later version
// if(PC.Instance.Name != “” && pointsleft < 1) <<– original
if(PC.Instance.Name != “”) <<– without checking points
*** Traps ***
1) The “My model is just big like a pea or huge like a mountain!” issue
Importing and dropping a model in your scene in Unity 3D, maybe you have this problem. The scale comes from the program the model was made in. If you work with Blender, when you export to fbx you will see a scale bar.
I think the default is 1. You could adjust it there. Anyways: When you import a model in Unity 3D and click is in your Project window, the first you see in Inspector is “Scale Factor”. Just raise the factor (example 0.01 too small, adjust to 1). Unity 3D will ask you to apply this rescaling. Just click apply.
2) The “249HumanAnimated model flying axe and shield!” issue
If you download the model, the reason for it is simple: You downloaded a version without correct hand and arm rig (skeleton for it missing). Nothing to do against – but u know you don’t do something wrong.
Get my free animated/textured model for you / fbx here:
https://6thousend.wordpress.com/crubas-downloads/
3) My mouscalls(mouseover, hover) functions don’t work
If you have objects that don’t do mousecalls, check if another object’s sphere collider maybe covers your object. Any mousecall command will not work then.
4) We do not have a target for the camera! Still not! Still not! St……
You will see this warning all the time! Don’t Worrie about it and just ignore it when your Hack And Slash Camera is working. It’s just something called to the wrong time in my eyes. Should go away after “243 from scratch”.
5) Tutorial 36 – I don’t get Debug results “willpower = willpower”!
Problem: Before the last step, you get debug results as shown in the video. After that last step, you don’t get the debug result “willpower = willpower”.
The problem part will be deleted and rearranged by Petey in the following video: 37 Unity3d Tutorial – Instantiating Our Character 55. So don’t care if you have same problem like me.
6) Tutorial 50 – In the air! Mob Class / y value changed from 6 to 1
In 42/43 Tutorial videos (Player Spawn Point) the y is set to 6 for visual effects with a (maybe) ragdoll falling on the floor – so the model is in the air. In this video(#50) the y is set to 1 – so human model and slug mob are on the floor again.
7) Tutorial 59 – Error when targeting mobs
Be sure the mob health is not 0.
8) Tutorial 263 – Déjà-vu… I did that before!
After 12 minutes around, the video is repeating the actions that were done before.
That’s it!