• Working On A 3D Game and need some code sources
    21 replies, posted
Im making a game called Army. Its a 3D FPS. I need some help. Can anyone show me a site which will have the following codes. [LIST] [*]Aiming [/LIST] [LIST] [*]When You Click The Left Mouse It Will Shoot.[/list] [LIST] [*]And some codes to make the co op bots move[/list]
[url]http://msdn.microsoft.com/en-us/library/bb203897.aspx[/url] This may come in handy. Don't expect people to write your code for you though. Edit: Specifically: [url]http://msdn.microsoft.com/en-us/library/bb975644.aspx[/url]
You're clearly in way past your depth - try something simpler.
[QUOTE=Darkimmortal;22337988]You're clearly in way past your depth - try something simpler.[/QUOTE] Im experienced in 3D modeling. Not coding :/
[URL="http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/Mouse_camera.php"]http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/Mouse_camera.php[/URL] that will help with a mouse-aimed camera, allthough its written in C# for XNA. theres also a really good tutorial for terrain on that website
[QUOTE=TheSpy;22338067]Im experienced in 3D modeling. Not coding :/[/QUOTE] you're making a game how then
Since you don't know coding you have to options. -Learn to code. I mean really learn everything that there is to learn in coding. Yes making games required a lot of knowledge. -Make a Mod and muddle trough the coding. This will make your game look more like a re-skin of another game. If you don't do much coding. Either way, if you want to make a game you have to learn how to code. There is way more things that you need to consider than these three you mentioned. If anyone gives you code for the things you requested you will never ever have a functional game. That code will also have to be adapted to you game design. Either way, you'll have to be a good coder to make a game that's decent. One thing you can start with is making a source mod. It's much simpler than making a game from scratch. You'll have to get your hands dirty with C++ and you'll have a basic HL2-ish game. If you want to change any behavior in the game you will have to to code them in. All the complicated stuff will be done for you. by complicated stuff I mean entity management, collision detection, server/client connections, aiming, moving around, bots, etc. This is only the beginning of the "complicated stuff". If you really want to make a game I'd say first learn coding and then learn coding for games. (AKA how game engines work) then you'll need to work a billion hours and VOILA, you have a game... Making a 3D FPS from scratch with a one-man show is not the easiest thing to do.
[QUOTE=TheSpy;22337884] [LIST] [*]When You Click The Left Mouse It Will Shoot.[/list] [/QUOTE] I'm sorry, but if cannot figure this out, you have no place in programming an FPS right now. Baby steps. Learn a programming language first. Trust me. I tried that route first and it was so much easier when I realized I had to learn C++ before making games in it.
blind leading the blind here.
OP seems like he's either an obvious troll or completely unaware of how game development works.
Unless you can 3D Model some code, I don't see you making a game. Edit: By yourself that is.
[QUOTE=layla;22339054]blind leading the blind here.[/QUOTE] Seems to be happening a lot lately.
"So, can someone give me the entire sourcecode and I'll just put my models in ok ?"
Can I be the ideas guy for this project?
Obvious troll is not so obvious apparently
Don't know if MechCommander 2 is 3D but the source for MC2 was released. Look it up on google.
[QUOTE=Boris-B;22338921]-Make a Mod and muddle through the coding.[/QUOTE] Out of curiosity, has anyone actually learned this way?
My first C++ stuff was a source mod. I made the rocket launcher have a clip of three, fired one by one or right click would release the rest of the clip in a spiral of death like in UT2004. I had experience with source via Lua in gmod though.
Coding isn't something you can just "piece together" with separate "codes" you find on the internet.
[QUOTE=nullsquared;22365881]Coding isn't something you can just "piece together" with separate "codes" you find on the internet.[/QUOTE] Hush, it's exactly like Lego.
[QUOTE=blankthemuffin;22366175]Hush, it's exactly like Lego.[/QUOTE] That takes a long time to build?... or something.
[QUOTE=tanthreecle;22364777]Out of curiosity, has anyone actually learned this way?[/QUOTE] Example A: Garry Newman
Sorry, you need to Log In to post a reply to this thread.