playMaker

Author Topic: RTS controls in need of help! Any would be appreciated.  (Read 1239 times)

vfxrob

  • Playmaker Newbie
  • *
  • Posts: 1
RTS controls in need of help! Any would be appreciated.
« on: May 11, 2015, 07:58:57 AM »
Hello, I've been looking to do a RTS control system to show off graphics for my portfolio, (not a programmer).

Playmaker is the closest I've got to having it successful but still having a few problems, that I can't seem to avoid. I will break it down to what I have working and what I desire to have working...

What it has:
A basic RTS camera thanks to this tutorial
https://www.youtube.com/watch?v=MANk3Bj4Nkk

Some basic select functions, move functions and sound.
Tutorial here: https://www.youtube.com/watch?v=czRB5klLT7g
Both great tutorials easy to follow.  :D

And I'm using the RAIN plugging AI system on my character, I really like the logic, will be adding my own models in time. ;D


What I would like to happen
Mecanim animation clips to work at all in my playmaker events, even a foot id be stoked. :o
Currently the biggest problem I'm struggling with is connecting my characters Mecanim clips he just slides everywhere, I've tried the playmaker plugin, but I don't understand how it works at all, looked at the tutorials via playmaker channel no luck exactly. The default animation with playmaker system seems logical but wants me to turn my clips to legacy and that destroys the animation. Any input on this would be greatly appreciated, its the biggest problem I'm having.

Others are:
Select individual object: At the moment the script I have if I just select anywhere it will still get the character, just want it to select the individual object, I've seem one tutorial about ray casting but unsure on how to apply it to this.

Any input on how to apply collisions and pathfinding with playmaker, at the moment i have just a box when i click past or onto the character, it floats through or floats on top hoping to stop this.

Click to deselect, can't seem to get away from the character once i have it!

Any additional input or feedback is appreciated!, i really just want to focus on the graphic side of things :'(
Like below its a beautiful scene and it was just one days work, i have a whole vision to create! space scenes, city scenes if i can get this function right i can apply it to space ships and other models.
[img]http://3.bp.blogspot.com/-3czG1PVoyLw/VUvjvRMvsYI/AAAAAAAAALM/Ulgid7Xebfw/s1600/Screen%2BShot%2B2015-05-07%2Bat%2B10.00.22%2Bpm.png/img]

If you want to add to this please do, id be happy to partner up with some people, to roll this a bit more quicker. And see it fleshed out with some more controls, If you do of course il share the final product with graphics, sound and music for your own portfolio, one thing i will do is make it look sick.

Also remember I'm no programmer any links to scripts, i just need to know where it goes in my scene, I've done like a tonne of tutorials on scripting, but i can't fathom how to link them together, "false = false is true wtf", playmaker has been the closest ive gotten to getting this to work.

Package content below:
https://dl.dropboxusercontent.com/u/25237488/RTS_Controls.unitypackage

Thankyou!