I am working on a new map and have run into a problem that I haven't seen before. When the map is run through the world editor's test map function, it runs fine. When it is run on a LAN, there is a huge amount of lag. The framerate doesn't suffer, but when a player issues an order to a unit, it...
You can toggle between placing terrain and selecting it by pressing the spacebar. If you drag a selection box around the section of terrain you want to duplicate, you can copy/paste it with ctrl+c and ctrl+v. The terrain isn't highlighted or shown as selected at all (at least with my low...
Didn't work for me. The height of the text block always stays the same, regardless of the height of the window. Dragging on the x-axis was the only fix that I tried that worked for me.
Bump. I solved the first problem (targeting reticle) by creating a dialog, adding image items to it, and hiding its background. The second question still remains, though...this is really a big hindrance. I don't want to have to have flat terrain. EDIT: I added a 3rd question in the original post.
I am working on a 3rd-person shooter (like everyone and their mother) to learn my way around the editor. I have camera and movement controls working pretty well so far, but I still have a couple of issues:
1. I want to add a targeting reticle to each player's screen, but haven't found a way to...
So...your solution is to remove the bit of code that enforces height restrictions? The only thing that your code did was to enable the unit to fly as high and low as the user wants (including below the ground). That is not where the problem is.
Tried. Removing Deg2Rad for constants is a good suggestion, thanks. Setting temp.height==temp.height-z is a bad idea. Since the terrain (-z) is already accounted for while setting the unit's fly height and temp.height stores the unit's height disregarding terrain, introducing terrain height into...
The idea of that is to get the TERRAIN z, not the UNIT z. The unit z is stored in it's fly height, or in the struct (.height). The purpose of getting the terrain z is to know what value to set the unit's fly height to. If the terrain is higher, the unit's fly height needs to be set lower and...
Hi, I started messing around with a flight system today that utilizes the arrow keys. The system works by creating one flying unit for each player (more specifically a ground unit that has had crow form added/removed from it) that is then controlled with the arrow keys (the unit moves forward at...
"Combat-Attack 1-Damage Base: 0"
"Combat-Attack 1-Dice Rolled: 1"
"Combat-Attack 1-Number of Sides per Die: 1"
That way the attack will roll 1 die with 1 side on attack. With a 0 base damage that means that the unit can only do 1 damage.
Unit enters playable map area should work in all of these scenarios. In all cases the unit is still entering the playable map area, so that can be used as a catch-all event.
Hi, I have a fatal error problem. I am working on a custom map, and the first time the map is played in one session of WC3 it runs perfectly normally. The second time the map is hosted (or the second time a player joins a game of this type) in a single session of WC3, that person gets a fatal...
@PrisonLove: Sorry, the shops are owned by neutral passive. Typo in first post-I will fix it. (Good eye, though!)
Ah, I feel dense now. I double-checked my triggers, and they are all coded properly, but then I decided to check what player id neutral passive had, and it turned out to be one...