| 04-12-2009, 12:29 PM | #1 |
Hi guys, in my map I am going to add a new race called the Naga. The main idea would be to add it something like the Undead blight, but with Water instead of blight. Naga are only able to build on Water and they have a bonus while in it. However I have 2 problems: - I make absolute no idea on how to make this work - My map also has the Undead race, so I don't Water and Blight to cause conflicts - I don't know how I can make the building be built only on top of water (or shallow) I am open to ideas, I give rep++ for help. |
| 04-12-2009, 12:55 PM | #2 |
First, use something like naval pathing check to determine whether the build order was issued on water. If it wasn't, abort the build order and display an error message. |
| 04-12-2009, 01:35 PM | #3 | |
Quote:
Is it an object editor trick? Will it conflict with blight? |
| 04-12-2009, 03:03 PM | #4 |
Have you even checked the pathing section of the object editor...? If yes, check harder. |
| 04-12-2009, 03:19 PM | #5 |
base your buildings off the goblin shipyard. you can't spawn water without making some fucked up stuff on the terrain. |
| 04-12-2009, 07:44 PM | #6 | ||
Quote:
Quote:
So my original idea would be to code the whole damn thing. Is it even possible, using a few tricks? |
| 04-12-2009, 09:19 PM | #7 | |
Quote:
What's your point, allies can't build on blight unless they're undead.. |
| 04-12-2009, 10:21 PM | #8 | |
Quote:
|
| 04-12-2009, 10:40 PM | #9 |
In a melee game, human/orc/nightelf can build on any buildable terrain-type while Undead is limited to blight. If you wanted to duplicate this effect then you would have to make human/orc/nightelf able to build on water. |
| 04-13-2009, 12:36 AM | #10 |
so, this setting does not work: (Object Editor \ Units) Pathing - Placement Requires: Sea-pathable ?EDIT: it works for me, structures that have this setting have to be build on water. |
| 04-13-2009, 05:57 AM | #11 | |
Quote:
You could import iNfranNe's water model to simulate water that doesn't require cliff height adjustment, but the problem to face then is that you wouldn't have actual terrain; it's just for props. And, you want to be able to detect whether or not there is water, too, right? Because buildings built by this race can only be built on your Water. Then again... Can you detect custom tiles? If you want to also simulate the Undead's inability to even build beyond blight, you'd probably have to hack the game, or something. The only to do that is to miraculously have the game know that you're new "blight" exists, and then have it registered as real pathing. Yeah... You'd have to hack the game. |
| 04-13-2009, 08:55 AM | #12 | |||||
Quote:
Quote:
Quote:
Quote:
Quote:
Thx for the water model, rep++ |
| 04-13-2009, 09:13 PM | #13 | |
Quote:
You don't play ladder much, do you? |
| 04-13-2009, 09:21 PM | #14 | |
Quote:
Or were you talking about the "no building on water"? |
| 04-13-2009, 09:32 PM | #15 | |
Quote:
Apparently you've never played melee, because he was correct. |
