Advanced Rts Example, Last Updated: 27. June 2009 |
This forum is for clear and concise tutorials and well documented examples. Tutorials and examples posted here must follow the format in the pinned Rules and Guidelines.
All new topics must be approved by a moderator before they appear. Don't post twice!
![]() ![]() |
Advanced Rts Example, Last Updated: 27. June 2009 |
Jul 4 2009, 06:43 PM
Post
#81
|
|
|
GMC Member Group: GMC Member Posts: 19 Joined: 29-June 09 Member No.: 135740 |
i cant get the file to open thru gm. when i try to open the file, it doesnt work. i tried opening it with gm, and select program gm, but it doesnt work.
|
|
|
|
Jul 17 2009, 10:49 PM
Post
#82
|
|
|
GMC Member Group: GMC Member Posts: 111 Joined: 30-January 07 Member No.: 69581 |
Hey Fede-lasse,
I'm entering the Indie Game Challenge by Gamestop, and this engine helped me out. Thanks alot, i promise to give you credit! |
|
|
|
Jul 17 2009, 11:44 PM
Post
#83
|
|
|
GMC Member Group: GMC Member Posts: 19 Joined: 29-June 09 Member No.: 135740 |
is there a version for gm 6?
|
|
|
|
Jul 18 2009, 11:52 AM
Post
#84
|
|
|
AI Programmer Group: GMC Member Posts: 1973 Joined: 1-April 07 From: Denmark, Europe Member No.: 75076 |
good job. except when your units die out, the bad guys stop moving. thats not really a bad thing though. Atleast no error lol. That's meant to happen.Fede-lasse, how can I modify the engine so that I can have multiple Enemy players, fighting against each other as well as against the player's army? Need Help ASAP! Let's say there's a blue, red, and green team, with the red being the player controlling that team. You make the blue team's units check whether they're encountering a red OR green unit, red units check whether they're encountering a blue OR green unit, and green check whether they're encountering a blue OR red unit. See where I'm going? It's that simple i cant get the file to open thru gm. when i try to open the file, it doesnt work. i tried opening it with gm, and select program gm, but it doesnt work. Err... I can't help you there.Hey Fede-lasse, Thanks, and good luck I'm entering the Indie Game Challenge by Gamestop, and this engine helped me out. Thanks alot, i promise to give you credit! is there a version for gm 6? No, but you can convert the GMK to GM6 using LateralGM.
|
|
|
|
Aug 4 2009, 11:15 PM
Post
#85
|
|
|
GMC Member Group: GMC Member Posts: 13 Joined: 4-August 09 Member No.: 137522 |
could you make a version avalible for use in the lite version?
|
|
|
|
Aug 6 2009, 05:01 PM
Post
#86
|
|
|
AI Programmer Group: GMC Member Posts: 1973 Joined: 1-April 07 From: Denmark, Europe Member No.: 75076 |
|
|
|
|
Aug 9 2009, 11:03 PM
Post
#87
|
|
|
GMC Member Group: GMC Member Posts: 79 Joined: 21-October 07 From: behind you Member No.: 91210 |
quick problem, not sure if anyone else is experiencing this but when its converted to gm6 there are camera problems, it can only be moved up and left, i checked the code and dont see any problems, plz help
|
|
|
|
Oct 10 2009, 06:52 PM
Post
#88
|
|
|
GMC Member Group: GMC Member Posts: 212 Joined: 16-May 08 Member No.: 107026 |
Your tutorial is freaking awesome! Thank you for that.
Pro is worth it just for this. This post has been edited by Vision305: Oct 10 2009, 06:54 PM |
|
|
|
Oct 15 2009, 01:03 PM
Post
#89
|
|
|
AI Programmer Group: GMC Member Posts: 1973 Joined: 1-April 07 From: Denmark, Europe Member No.: 75076 |
|
|
|
|
Oct 28 2009, 06:15 PM
Post
#90
|
|
|
GMC Member Group: GMC Member Posts: 212 Joined: 16-May 08 Member No.: 107026 |
I've downloaded it and I like it. The one thing that I wanted to learn is how to make the units not enter into each others space. I cannot understand what code you are using.
I have tried the bounce function and it works except its too glitchy and sometimes the units get stuck on a place and then teleport to the goalx and goaly. Im using the built in grid method and using path_start to start the selected unit(s) moving. Im am stuck here and cant figure out how to make it more smooth. I tried understanding the script you use for movement but not sure how its working and how to modify it to fit my code. Everything in my code is working except for the part where units enter into each others space. This post has been edited by Vision305: Oct 28 2009, 06:16 PM |
|
|
|
Nov 2 2009, 05:51 PM
Post
#91
|
|
|
GMC Member Group: GMC Member Posts: 69 Joined: 8-June 08 From: Örebro Member No.: 108480 |
you should really make an RTS building example as awsome as this !
|
|
|
|
Nov 3 2009, 10:09 PM
Post
#92
|
|
|
GMC Member Group: GMC Member Posts: 51 Joined: 13-September 08 Member No.: 114744 |
I have used your basic code structure as the skeleton for my RTS game. However, there is an error whenever you move. The tank (in my case) stops after moving to an area, and doesn't move for 2-3 seconds. Then, however, without moving forwards it rotates in place so that it isn't facing the direction it had stopped at when it got to that area. I thought it was a problem with you mp_move script, but I tried to tinker with it, to no avail. Do you have any idea what might be wrong?
|
|
|
|
Nov 5 2009, 09:54 AM
Post
#93
|
|
|
AI Programmer Group: GMC Member Posts: 1973 Joined: 1-April 07 From: Denmark, Europe Member No.: 75076 |
I've downloaded it and I like it. The one thing that I wanted to learn is how to make the units not enter into each others space. I cannot understand what code you are using. I'm pretty sure the code behind that is in one of the collision events in obj_unit. It's been a while since I checked out the RTS engine.I have tried the bounce function and it works except its too glitchy and sometimes the units get stuck on a place and then teleport to the goalx and goaly. Im using the built in grid method and using path_start to start the selected unit(s) moving. Im am stuck here and cant figure out how to make it more smooth. I tried understanding the script you use for movement but not sure how its working and how to modify it to fit my code. Everything in my code is working except for the part where units enter into each others space. I have used your basic code structure as the skeleton for my RTS game. However, there is an error whenever you move. The tank (in my case) stops after moving to an area, and doesn't move for 2-3 seconds. Then, however, without moving forwards it rotates in place so that it isn't facing the direction it had stopped at when it got to that area. I thought it was a problem with you mp_move script, but I tried to tinker with it, to no avail. Do you have any idea what might be wrong? The 2-3 second pause may be an alarm that's bugged, but the rest doesn't make sense to me. Sorry.
This post has been edited by Fede-lasse: Nov 5 2009, 09:58 AM |
|
|
|
Nov 5 2009, 01:55 PM
Post
#94
|
|
|
GMC Member Group: GMC Member Posts: 47 Joined: 6-June 08 From: somwhere in the USA Member No.: 108349 |
this sounds like a great example, except that I cant download anything from mediafire for some reason, my computer browser keeps blocking it and I cant allow it, a mirror download would be great.
|
|
|
|
Nov 10 2009, 07:56 AM
Post
#95
|
|
|
AI Programmer Group: GMC Member Posts: 1973 Joined: 1-April 07 From: Denmark, Europe Member No.: 75076 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd November 2009 - 10:32 AM |