I have a goal in mind for myself and it is to make a full working 3d game in an engine by this time next year. |
If you mean you will be using an existing engine, this is doable, but unlikely. If you mean you are going to write the engine yourself, then it will take much longer than a year for you to get familiar enough with C++ to do this effectively.
Even using an existing engine... completing a "full" game will take quite a while.
Not to discourage you or anything, but you should know what you're getting into.
It was con-structers and de-structers. What are the purpose of these and how do i incorperate them into A.I. |
They aren't necessarily related to AI. They are fundamental concepts of Encapsulation and OOP.
A constructor is run whenever an object (an instance of a class) is created. This allows you to initialize all of its members which lets you ensure that your object is always in a known state.
A destructor is run whenever an object is destroyed, which lets you free up any allocated resources.
The application and significance of these is obvious when you understand the idea behind OOP and encapsulation. If you want to learn more about these particular features, that is a topic you can research.
Secondly if i wish to make a loot drop in lets say the cryengine 3 SDK can i do this with a flowgraph or a math algorithm. |
I'm not familiar with cryengine... but this question is so generic that I'm all but positive the answer is "yes".
Pretty much any "math algorithm" can be implemented in programming.
Thirdly. How can i make zombies randomly spawn in groups of lets say 20. I wanted to make it so that they spawn in allocated areas on the game world. |
This question out of context is impossible to answer.
If you know how to spawn 1 zombie... then just put that in a loop to do it 20 times.
When (or after) they're spawned, just put them wherever in the game world you want by adjusting their position.
Lastly. If i want my script to relate to a particular object or feature in my game how do i make them relate. Example: How do i make my zombie script in c++ relate to my mesh in game and use the script on the mesh. |
Again.. this question is very generic and difficult to answer in any meaningful way.
You zombie code (read: it's not a script) can just modify your mesh as needed. Typically you'd have a 'Zombie' class which would own both the logic and the mesh, and when you update the Zombie object it would also update the mesh according to the zombie's AI/logic... and when you draw the Zombie object it would draw the mesh.