The Daily Click ::. Forums ::. Klik Coding Help ::. Need help from MMF expert, my multi-RTS-unit-engine almost work! (file attached)
 

Post Reply  Post Oekaki 
 

Posted By Message

Retainer



Registered
  02/06/2005
Points
  218
12th January, 2006 at 21:39:13 -

Okay, so I got a great idea how to make a multiple movable unit-thingie with built-in simple and good looking obstacle-avoiding. It uses Isometric Object 1 for positioning (couldn't get v. 2 to work), and uses simple XYZ arrays to find cell information.

I made it to avoid trees (Those with a X,Y,Z(2) cell value of 1). Works fine with the unit with spread value 0, but not for the rest.

I've gone through my code several days, and I simply can't find an error in my code. IT SHOULD WORK GOD DAMN IT!


Comes delivered with a level editor with the level "trees". just type trees and hit Load. (you can also create trees manually by pressing T)

Can a MMF expert please help? It would be very cool to put this and the level editoring as tutorials on my homepage, so we can see some isometric RTS games being made already!

NOTE: You need isogrid.cox to run this file.

 
Alien Invasion. Going forward!
http://www.create-games.com/project.asp?id=1092

Retainer



Registered
  02/06/2005
Points
  218
12th January, 2006 at 21:41:56 -

And before you unlimitely hate my coding, try to understand that I suck at math, and I do not wanna use anything I do not understand. Like trigonometry. Though the code would be cleaner..

 
Alien Invasion. Going forward!
http://www.create-games.com/project.asp?id=1092

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
12th January, 2006 at 22:13:25 -

File attatched? I see no file

 
n/a

Retainer



Registered
  02/06/2005
Points
  218
12th January, 2006 at 22:38:27 -

Haha, now that's a newbie mistake
Here it is : http://www.gardet.org/retainer/Alien.rar

 
Alien Invasion. Going forward!
http://www.create-games.com/project.asp?id=1092

Retainer



Registered
  02/06/2005
Points
  218
13th January, 2006 at 22:36:33 -

Damn, 41 post reads and no input?
Maybe I underestimated the problem... Or overestimated my code...

 
Alien Invasion. Going forward!
http://www.create-games.com/project.asp?id=1092
   

Post Reply



 



Advertisement

Worth A Click