WIth my current system each battlefield is 1 trigger.
NEWS UPDATE:
I will use an EUD system instead of FRAGS because FRAGS was to inaccurate in my case and I can still use EUDs because my map is singleplayer only.
->
You will be able to give your hero with melee weapon orders to move and attack with your clickunit (e.g. 1 scourge or a ling or sth like that).
-(inverted location will detect the movement and trigger the mouse position scan)
-(if this is to slow because of lags I will need to store the data for 1 or more triggerloops)
-you can still give ur unit orders with your normal movement orders (select unit and right click)
-you will shot arrows with this system carrying a bow.
-you will use and target spells with this system ordering another unit to move...
EDIT:
DETAILS:
COLORS on battlefield:
Atm, I have p4,5,6,8 as enemies on the battlefield, but you cannot really differentiate between e.g. King Leoric and a normal Skeleton.
I will turn over to p9,10,11,12 and colored units to use the colors.
Projectiles like Arrows and Fireball/Holyball:
-will be flying Scourges
-maybe I will use Scouts, hero scouts and wraiths, too
-these units will be orderd to a side of the battlefield
-to avoid bugs, every enemie owns its own projectiles and they will only start moving if they are over the enemy's monster's head
-to determine hits, every enemie gets a location centered in his field.
-some walls will kill the projectiles
FIRST I WILL ONLY IMPORT ARROWS and maybe some enemy spell attacks.
EDIT:
I may lost nearly all of my battlefield progress because my Vista always had a bluescreen while booting and the only way to repair that was to reset it to the factory settings.
After that I noticed that that operation formated one of my partitions.
Atm I'm trieing to recover some files. But it seems I cannot recover that files.
EDIT:
I was able to recover that file.
EDIT:
Finished a program that calculates which is the best target unit to aim on outside the battlefield to hit the enemy unit with an arrow (flying air unit)...
The target units outside the battlefield create a big cycle around the battlefield. There are 71 of that units.
Atm 5852 triggers are used to set the offset value of that unit (0-71)
EDIT:
Cutted that amount to ~4.8k (1k less).
Here you can see my battlefield.
The mature crysalises will be transfered to burrowed infested terrans to hide the cycle in vision.
Atm the ai projectiles (arrows/bolts) will fly to that direction (I've the same plan with human's projectiles).
I just need to think about reorganizing my current fighting triggers to allow shared triggers for the aiming (1 monster can only aim / cycle).
or if I am lazy and copy the 4.8k triggers 3 times for the second, third and fourth possible monster on battlefield.
Tonight I nearly hit the 40k triggers. I don't know the exact amount because I didn't merge my 2 trigger files (main program & new battlefield), but it should be around 39k atm.
(detecting the mouse position on the map around battlefield will consume many triggers aswell, but most triggers do not run all the time)
And I'm already thinking about the controls since I know that I will EUDs.
Maybe I will use 9 buttons to move/melee attack on battlefield as an alternative to the clicking around on the battlefield every second (like it is now).
How should I use potions?
Should I have 1 key for drinking 1 of each potion?
(I would suggest qwerty // qwertz (German keyboard) for that
or I use qw (healing), as (mana) and yx//zx (rejuvation)).
potion list:
-healing potion
-full healing potion
-mana potion
-full mana potion
-rejuvation potion
-full rejuvation potion
list for key commands:
6 potion slots
maybe 1 activation key (talk/enter/activate)
maybe 9 movement/melee attack keys (maybe only 4... need to which keys I can detect if both are pressed)
4 spell slots (F5, F6, F7, F8)?
Post has been edited 6 time(s), last time on Mar 8 2009, 3:06 am by Ahli.