I started working towards making an RTS like Glest (http://glest.org/en/index.php) in blender, it seemed to me to be a very ignored genre because of the complexity of the AI, so i have decided to start with the basics and deal with the AI when it happens. i have made a scripted camera from scratch, that is similar to that on AOE and Glest etc. Firstly i have a few problems. have a go and see what happens when using keyboard and mouse at the same time.
any thoughts would be greatly appreciated
w - up
a - left
s - down
d - right
q - rotate
e - rotate other way
moving mouse to edge of screen will move the camera.
I have spent some time reading up on the .getCurrentlyPressedKeys() and come up with something I am happy with. you will see now that the keyboard and mouse work together so I am happy with the script. also it only uses maximum 1% on logic (YAY!) no i just have to figure out how to zoom in and out but im sure it will be ok
I’m Back, sorry it took so long, one of my computers got infected with a virus, anyway here it is http://savefile.com/files/1924541
I took a look at it and might have over estimated what I did, basically there are three ships, left click to select one and then left click to set a rally, right click to deselect and thats about all, and ignore the unpacked textures,
controls; mouse wheel moves hight, w,a,s,d, move the camera.
I might take up this project just to give you something more that this : )
here’s another one demo.blend (234 KB) This one is for building buildings, and the money.
basically you can hit 1-6(on the top of the keyboard) and it selects a building. Then you move the cursor, with the arrow keys, then press space bar to build them. If you don’t have enough money then you cant select the building. And when you press space bar it deducts money. Each building has a different cost. This is just a quick step up, 6 minutes. Hope it helps. Hope you can understand it:o
Wow this is interesting.
I was thinking of making an RTS, or anything close to that, due to my unsatisfaction of Age of Empires III.
I’ve almost quit on my I-16 game, may try finishing it.
can someone write up a list of the main things we need? that would help alot
I tried to make a RTS prototype in the past.
Here’s the thread: http://blenderartists.org/forum/showthread.php?t=129336
I hope it’ll help you.
I suggest you first focus on the functionality of the game then you should start working on the artistic content.
I have been doing some research over Christmas and have an update for you all, I hope you like it, i have added zoom that im not completely happy with so any suggestions welcome. also check out the building placement stuff.
to do: (incomplete)
add support for multiple buttons
zoom working properly