Hey guys, I have a few issues I could really use some help with. I have done countless site and forum searches, and have looked at pretty much every tutorial I can find, so this is a last resort for me when it comes to this stuff. I am so close to finishing the map and these are the last things I need help with. Well, these and a store dialog.. but that is something I want to figure out myself. Aaaaanywho...
1) I am trying to get the movement control in the game to work like it does in diablo 2; as long as you are holding down the right mouse button the character will "follow" the cursor. I have looked around in the triggers a lot and have tried a lot of different trigger combos/functions, but I cannot get it to work.
2) I have a bunch of control regions/structures set up on my map that require the player to stay in the area for X amount of time to capture it. They are turned off by default and each one is activated separately by X amount of kills or when the zone trip timer reaches 0, depending on which comes first. That was the easy part. Now I am trying to figure out the trigger combo to activate a random zone instead of a specific one when the trigger is tripped. I tried applying an array and giving each region/structure a number in the array, then called a random number in the array, and I am pretty sure that is what I have to do, but again, I can't get this to work.
3) Radars. This one has really been getting under my skin. I know it is not hard to make a radar, and that there are posts out there concerning them, but nothing I have found has been able to help me. All i want is a minimap that only reveals a small area surrounding the hero, and for the hero to stay in the middle of the radar-minimap as they move through the map. I have been able to get a custom minimap dialog up that shows the locations of the hero and enemies, but that is as far as I have gotten. I can't get the map to "zoom in" even though I have read posts and tutorials trying to describe how to do this. It has to be something I am doing wrong, I just can't figure out what!
I hope someone out there can give me some advice on this stuff. I have been working on just these three things for 9 days now and would really like to finish my map. Any help would be greatly appreciated and even if you can't help and made it this far, thank you for reading! Hopefully this thread can help more than just me!
1) sadly, the first thing you said is not possible YET, ill explain this in a second
2) what you said is 100% correct, could you post your code? id be happy to take a look at it for you
3) if your using the dialog minimap, saldy, there is no way to do this. once you disable the "real" minimap, the dialog version will not work as we would like, this does suck, but there are some workarounds, like a custom image that you have move as your character moves, something like this takes way more work than its worth however
about the first thing, there is no way to track the active mouse, so once you click, thats it.
HOWEVER, im currently smashing my head in the edior as I swear i almost have a solution, it has to do with Global Ref variables when you cast a spell and use the "mouse actor", once we figure out a way to get this point, mouse cords in real time will work, until then, no go.
Rollback Post to RevisionRollBack
Random Information
Tutorials - Map Development - Galaxy wiki
|Issues? PM me|
Thank you SO MUCH for the reply. In some regards I am happy you can't do that stuff, makes me feel slightly less stupid, lol. I will post the control zone code as soon as I get home from work. I have tried the stuff with the minimap you mentioned, applying an image to the dialog and getting the XY of the hero and XY of units for the dots and stuff, but can't get the hero to stay in the center. He just runs off the edge of the radar never to be seen again unless I run back to the original spot he spawned at. I will post that code too. Thanks again man, I really appreciate the help!!
Hey guys, I have a few issues I could really use some help with. I have done countless site and forum searches, and have looked at pretty much every tutorial I can find, so this is a last resort for me when it comes to this stuff. I am so close to finishing the map and these are the last things I need help with. Well, these and a store dialog.. but that is something I want to figure out myself. Aaaaanywho...
1) I am trying to get the movement control in the game to work like it does in diablo 2; as long as you are holding down the right mouse button the character will "follow" the cursor. I have looked around in the triggers a lot and have tried a lot of different trigger combos/functions, but I cannot get it to work.
2) I have a bunch of control regions/structures set up on my map that require the player to stay in the area for X amount of time to capture it. They are turned off by default and each one is activated separately by X amount of kills or when the zone trip timer reaches 0, depending on which comes first. That was the easy part. Now I am trying to figure out the trigger combo to activate a random zone instead of a specific one when the trigger is tripped. I tried applying an array and giving each region/structure a number in the array, then called a random number in the array, and I am pretty sure that is what I have to do, but again, I can't get this to work.
3) Radars. This one has really been getting under my skin. I know it is not hard to make a radar, and that there are posts out there concerning them, but nothing I have found has been able to help me. All i want is a minimap that only reveals a small area surrounding the hero, and for the hero to stay in the middle of the radar-minimap as they move through the map. I have been able to get a custom minimap dialog up that shows the locations of the hero and enemies, but that is as far as I have gotten. I can't get the map to "zoom in" even though I have read posts and tutorials trying to describe how to do this. It has to be something I am doing wrong, I just can't figure out what!
I hope someone out there can give me some advice on this stuff. I have been working on just these three things for 9 days now and would really like to finish my map. Any help would be greatly appreciated and even if you can't help and made it this far, thank you for reading! Hopefully this thread can help more than just me!
-Mark
Bunch of bad news in here for you
1) sadly, the first thing you said is not possible YET, ill explain this in a second
2) what you said is 100% correct, could you post your code? id be happy to take a look at it for you
3) if your using the dialog minimap, saldy, there is no way to do this. once you disable the "real" minimap, the dialog version will not work as we would like, this does suck, but there are some workarounds, like a custom image that you have move as your character moves, something like this takes way more work than its worth however
about the first thing, there is no way to track the active mouse, so once you click, thats it.
HOWEVER, im currently smashing my head in the edior as I swear i almost have a solution, it has to do with Global Ref variables when you cast a spell and use the "mouse actor", once we figure out a way to get this point, mouse cords in real time will work, until then, no go.
@Molsterr: Go
Thank you SO MUCH for the reply. In some regards I am happy you can't do that stuff, makes me feel slightly less stupid, lol. I will post the control zone code as soon as I get home from work. I have tried the stuff with the minimap you mentioned, applying an image to the dialog and getting the XY of the hero and XY of units for the dots and stuff, but can't get the hero to stay in the center. He just runs off the edge of the radar never to be seen again unless I run back to the original spot he spawned at. I will post that code too. Thanks again man, I really appreciate the help!!
@HeyRevolver: Go
no problem, send me a PM to this topic once you post back so I dont miss the post.