Translations/Epopee — различия между версиями

Материал из SpeccyWiki
Перейти к: навигация, поиск
(Новая страница: «Epopee by Vyacheslav Mednonogov (ZX-Format #8[http://pmg.org.ru/gamedev/epic1.htm][http://pmg.org.ru/gamedev/epic2.htm])…»)
 
 
(не показаны 32 промежуточные версии этого же участника)
Строка 1: Строка 1:
Epopee by [[Вячеслав Медноногов|Vyacheslav Mednonogov]] (ZX-Format #8[http://pmg.org.ru/gamedev/epic1.htm][http://pmg.org.ru/gamedev/epic2.htm])
+
Epopee by [[Вячеслав Медноногов|Vyacheslav Mednonogov]] ([[ZX-Format]] #8[http://pmg.org.ru/gamedev/epic1.htm][http://pmg.org.ru/gamedev/epic2.htm])
  
 
== Part 1 ==
 
== Part 1 ==
Строка 6: Строка 6:
 
I think now you have rare opportunity to understand this yourself. Here I want to present a diary of making one program, collected from messages to [[ZX.SPECTRUM]] conference in [[FIDO]]. No comments, in purpose. You should know though that not everything that was said more than year ago is still true. What program is it? [[Чёрный Ворон|Guess yourself]] :)
 
I think now you have rare opportunity to understand this yourself. Here I want to present a diary of making one program, collected from messages to [[ZX.SPECTRUM]] conference in [[FIDO]]. No comments, in purpose. You should know though that not everything that was said more than year ago is still true. What program is it? [[Чёрный Ворон|Guess yourself]] :)
  
Hамеренно не включаю никаких комментариев, однако уточню, что не всё, что было писано более года назад, соответствует действительности. А что это за программа, догадайтесь сами :)
+
=== 12 Jul 96 ===
 
+
12 Jul 96
+
  
 
...to be serious, half a year ago there was a [[Citadel|Doom-demo]] from [[Харьков|Kharkov]].
 
...to be serious, half a year ago there was a [[Citadel|Doom-demo]] from [[Харьков|Kharkov]].
Строка 14: Строка 12:
 
Now I'm thinking about this idea too. You can't feed people with games like [[Дурак|Durak]], [[Буратино|Buratino]] and [[НЛО|UFO]] forever. Waiting for Enlight'96 to see works from my competitors. If I see that I can't do better, I better start something like Warcraft.
 
Now I'm thinking about this idea too. You can't feed people with games like [[Дурак|Durak]], [[Буратино|Buratino]] and [[НЛО|UFO]] forever. Waiting for Enlight'96 to see works from my competitors. If I see that I can't do better, I better start something like Warcraft.
  
17 Jul 96
+
=== 17 Jul 96 ===
  
 
That's how I see Doom on Spectrum:
 
That's how I see Doom on Spectrum:
Строка 34: Строка 32:
 
I'll begin, however. Even if it will be very-very slow, the screen width can be always decreased to 16 pixels. And then everything will be very-very fast :))
 
I'll begin, however. Even if it will be very-very slow, the screen width can be always decreased to 16 pixels. And then everything will be very-very fast :))
  
21 Jul 96
+
=== 21 Jul 96 ===
  
 
I haven't come up with the story yet, but at a wild guess it will look like this (if we see it as UFO-3):
 
I haven't come up with the story yet, but at a wild guess it will look like this (if we see it as UFO-3):
Строка 46: Строка 44:
 
The main thing is to make it all good-looking and somehow FAST (8 FPS by Western standards, but even 6-7 are OK for me). It won't be boring then.
 
The main thing is to make it all good-looking and somehow FAST (8 FPS by Western standards, but even 6-7 are OK for me). It won't be boring then.
  
27 Jul 96
+
=== 27 Jul 96 ===
  
 
I spent some 3 weeks thinking how to make the Doom. I'm stuck at sprites. If we are close enough, their time to draw (scaling in the first time) is comparable to redrawing the full screen.
 
I spent some 3 weeks thinking how to make the Doom. I'm stuck at sprites. If we are close enough, their time to draw (scaling in the first time) is comparable to redrawing the full screen.
Строка 52: Строка 50:
 
We can't keep pre-scaled sprites - even 128K is too little for this. So, I dally off this idea until I obtain sufficient experience or someone helps.
 
We can't keep pre-scaled sprites - even 128K is too little for this. So, I dally off this idea until I obtain sufficient experience or someone helps.
  
Switch to plan B - UFO-3 a-la Warcraft :) I.e. a lot of characters (walking robots this time) fight by themselves, you just give them commands. Maybe I'll add Doom-like part as a sub-level - walking in a maze to find something (without any enemies).
+
Switch to plan B - UFO-3 à la Warcraft :) I.e. a lot of characters (walking robots this time) fight by themselves, you just give them commands. Maybe I'll add Doom-like part as a sub-level - walking in a maze to find something (without any enemies).
  
30 Jul 96
+
=== 30 Jul 96 ===
  
 
[[Max Iwamoto]] called me on the phone.
 
[[Max Iwamoto]] called me on the phone.
Строка 60: Строка 58:
 
He doesn't recommend start something Doom-like. They drew 128x64 screen for 6 frames (6/50 of a second) - in the best case. 10-12 in the worst. Without any characters! So, down with this Doom :) Until everybody will have turbo mode :))
 
He doesn't recommend start something Doom-like. They drew 128x64 screen for 6 frames (6/50 of a second) - in the best case. 10-12 in the worst. Without any characters! So, down with this Doom :) Until everybody will have turbo mode :))
  
09 Aug 96
+
=== 09 Aug 96 ===
  
 
UFO-3. BLACK RAVEN.
 
UFO-3. BLACK RAVEN.
Строка 66: Строка 64:
 
Preliminary advertisement.
 
Preliminary advertisement.
  
After many estimates I started making the game. This will be full-scale Warcraft. I'd write the actual Warcraft but, because some [[G-Soft]] are making it in St.Petersburg too, I changed the plot. What if G-Soft will finish their version, why we need two Warcrafts? :))
+
After many estimates I started making the game. This will be full-scale Warcraft. I'd write the actual Warcraft but, because some [[G-Soft]] are making it in St. Petersburg too, I changed the plot. What if G-Soft will finish their version, why we need two Warcrafts? :))
  
 
Playfield is 64x64 cells, viewfield is 20x20 CHR$, one cell is 2x2 CHR$, buildings are 4x4 CHR$, the graphics is black and white. And so on...
 
Playfield is 64x64 cells, viewfield is 20x20 CHR$, one cell is 2x2 CHR$, buildings are 4x4 CHR$, the graphics is black and white. And so on...
Строка 72: Строка 70:
 
Launch date unknown (even approximate). I'll try not to lengthen out.
 
Launch date unknown (even approximate). I'll try not to lengthen out.
  
18 Aug 96
+
=== 18 Aug 96 ===
  
 
[[Илья Фомин|Ilya Fomin]]> Slava, write it, WARCRAFT is RULEZZZ! One of my friends tries this idea for two years but never wrote anything but demo.
 
[[Илья Фомин|Ilya Fomin]]> Slava, write it, WARCRAFT is RULEZZZ! One of my friends tries this idea for two years but never wrote anything but demo.
Строка 78: Строка 76:
 
There are two big difficulties in the game: ultra-fast (not exactly optimal) routing and computer strategy. Luckily enough, I think myself a big pro in exact two these fields - I know how to deceive people so that everyone will say "how clever is the program" :)
 
There are two big difficulties in the game: ultra-fast (not exactly optimal) routing and computer strategy. Luckily enough, I think myself a big pro in exact two these fields - I know how to deceive people so that everyone will say "how clever is the program" :)
  
16 Sep 96
+
=== 16 Sep 96 ===
  
 
Work in progress. Remember, this will be almost WC-1. By the way the "UFO-3" prefix was thrown out, so it will be just "Black Raven" (can't glue aliens to Warcraft :)
 
Work in progress. Remember, this will be almost WC-1. By the way the "UFO-3" prefix was thrown out, so it will be just "Black Raven" (can't glue aliens to Warcraft :)
  
Hаконец-то я понял, каким образом ге- рои так быстро находят довольно приемлемые маршруты передвижения, что составляло главную загвоздку в игре. Смогу сделать также (или круче ;)
+
I realized at last, how the characters find quite suitable routes so fast. This was the main trouble in the game. I can make it too (or better ;)
  
Ещё не решил, как полностью "мышиную" игру перевести под клавиатуру/джойстик: интерфейс будет сильно отличаться от оригинала. Hа всякий случай запасайтесь Кемпстон-мышами :)))
+
Still no idea how to adapt fully mouse-controlled game to keyboard or joystick: the interface will be very different from the original. Just in case, provide yourselves with [[Kempston mouse|Kempston mice]] :)))
  
28 Sep 96
+
=== 28 Sep 96 ===
  
HЛО-2 была ошибкой - слишком много затрат человеко-часов. Hадо что попроще, поменьше наворотов. Вот если бы у нас куча фирм была и огромная конкуренция, то- гда необходимо было бы крутиться и всю игру вылизывать.
+
[[НЛО 2|UFO-2]] was a mistake - too many man-hours wasted. Make it simpler, less piling up. If we had a lot of software houses and big competition we'd exert ourselves and tweak the whole game.
  
Тем не менее для игры "Чёрный ворон" сделано предварительных заказов более, чем на 200$:
+
Nevertheless, I made more that $200 worth of advance orders for "Black Raven":
  
Вступительная и завершающая демы - 120$ - исполнитель X-TRADE.
+
Intro and outro demos - $120 - contractor is [[X-TRADE]].
  
Две мелодии - 2х10$ - исполнитель Dan- gerous.
+
Two tunes - $10 - contractor is [[Dangerous]].
  
24 цветные картинки - 24х20т.р. - исполнитель Денис Барков.
+
24 colour pictures - 24х20000 roubles - contractor is [[Денис Барков|Denis Barkov]].
  
Конечно, для двух последних пунктов лучше было бы привлечь москвичей (Scorpi- оn Club и KSA), но до Москвы 800км :((
+
Of course I could better ask people from Moscow ([[Scorpiоn Club]] and [[KSA]]) for two latter items, but there is 800 km to Moscow from here :((
  
08 Nov 96
+
=== 08 Nov 96 ===
  
Вот как примерно будет выглядеть. Игровое поле в окне 24х24 з/м, монохром. По просьбе Ильи будет фоновая музыка (хотя и нелегко было совместить её с выводом графики через стек :)
+
So how it will look. Viewfield is 24х24 CHR$, monochrome. As [[Илья Фомин|Ilya]] requested there will be background music (although it was not so easy to add having stack-based drawing :)
  
17 Nov 96
+
=== 17 Nov 96 ===
  
Спрайты вновь выводятся через стек, причем прерывания могут наступать в любой момент - даже тогда, когда стек стоит на изображении спрайта !
+
Sprites are drawn with stack-based routine again, and interrupts can occur any time - even when the stack points to sprite image!
  
Артём Харитонов> А в это время спрайт "колбаcит" по-cтpашномy :)))
+
[[Arty|Artyom Kharitonov]]> And when it comes, the sprite writhes as in hell :)))
  
В том-то и дело, что спрайт остаётся живой и невредимый.
+
The thing is, the sprite remains live and untouched.
  
В двух словах, как это делается (при условии, что обработчик прерываний имеет свою область стека):
+
Briefly, how it's done (in case that the interrupt service routine has its own stack):
  
Вариант "А" (предложен, например, Сталкером): Хранить в памяти копию всех спрайтов, по приходу прерывания смотреть, где был стек, и если он был на спрайте, испорченная часть (2 байта) восстанавливается из копии. Hедостаток: необходимо дублировать спрайты.
+
Method "A" (suggested by [[Stalker]], for example): keep copies of all sprites in memory, and if an interrupt occurs, look if the stack was on sprite image. If so, restore the broken part of the sprite (2 bytes) from its copy. Drawback: you have to double the memory used for sprites.
  
Вариант "Б" (мой): строить все процедуры вывода спрайтов так, чтобы они выбирали слова из изображения только в определённую регистровую пару (например POP DE). Тогда, если прерывание наступает в момент вывода спрайта, гарантировано, что испорченные два байта находятся в DE. Дальше - дело техники. И никаких дублей изображения.
+
Method "B" (mine): write all the sprite drawing procedures so that they read words from sprite image into certain register pair (POP DE for example). In this case, if an interrupt occurs, the two broken bytes are guaranteed to be in DE. The rest is simple. And no copies.
  
Конечно, для игр типа Диззи это не актуально - там так мало динамических спрайтов, что они хоть десять раз выведутся за прерывание. Hо для Дюн, Дуумов, ВарКрафтов - не помешает :)))
+
Of course, this is not important for Dizzy-like games - they have so few moving sprites so they can can be drawn ten times in one frame. However this is very useful for Dunes, Dooms, and Warcrafts :)))
  
22 Nov 96
+
=== 22 Nov 96 ===
  
Видимо, завтра человечки в игре уже забегают, пока, правда, без определённой цели :)
+
It seems the little men will be already running tomorrow, without any purpose though :)
  
Трудности в Ч.Вороне пришли с нежданной стороны. Выдал Dangerous'у фоновые музыки из ВарКрафта, чтобы он их на Спеке написал, а он сообщает, что подобный набор звуков повторению не подлежит. Вот тебе и музыканты-профессионалы :(
+
Difficulties in Black Raven came from unexpected side. I gave the original tracks from Warcraft to Dangerous to remake them for Spectrum, and he said that this set of noises is not to be remade. Here you are, professional musicians :(
  
03 Dec 96
+
=== 03 Dec 96 ===
  
По крайней мере в версии с General Sound (если таковая будет) все мелодии и оцифровки будут загружаться перед игрой с третьего диска, который целиком будет готовить и распространять X-Trade.
+
At least the version with [[General Sound]] (if it will be) will load all the songs and samples third disk that will be fully made and distributed by X-Trade.
  
19 Dec 96
+
=== 19 Dec 96 ===
  
Сергей Hовиков> Как с вороной дела идут?
+
[[Spirit|Sergey Novikov]]> How's the crow?
  
Да идут себе :))
+
Goes by itself :))
  
Можно назвать приблизительный срок вы- хода - февраль (читай - апрель :). Большой прикол в том, что наиболее трудные места пишутся сначала на Cи на РС, а потом переносятся в ассемблер (ручками, конечно). Получается быстрее и надёжнее. В следующий раз думаю целиком сначала на ИБМ состряпать, а только потом - перене- сти на ZX :))
+
Approximate launch date may be given - in February (that means April :). The funny thing is, the most hard parts are initially written in C on PC, then I rewrite them in assembly language (by hand, of course). So it appears faster and more reliable. The next time I plan to write the full game on IBM, then port it to ZX :))
  
Готово много чего, но на плэй-эйбл дему ещё не тянет - могут только ходить, но не воевать. Самому интересно, насколько быстро получится, т.к. теоретически могут одновременно обрабатываться 96 персонажей (правда, реально их будет в среднем меньше - от 15-20 на первых уровнях, до 50-60 на завершающих).
+
There are a lot of things done already, but that's little for playable demo - they can only walk, not fight. I wonder how fast it will be, because 96 characters can be processed in the same time (however there will be less in average - 15-20 in the first levels to 50-60 in the end).
  
Скролл получился быстрый - гораздо быстрее, чем в HЛО1/2, т.к. графика плоская, и на время скролла все перемещения приостанавливаются (чего раньше не было). Водичка анимированная (можно отключать, но на время вывода не влияет).
+
Scrolling turned out to be fast - a lot faster than it was in UFO1/2, because the graphics is flat and all the moves stop while scrolling (that was not before). The water is animated (switchable, but doesn't affect drawing time).
  
Трассировщик маршрута - тоже вроде бы- стрый, хотя далеко не оптимальный. Однако честно ищет, с какой стороны лучше обходить препятствия. В среднем - не более 5000-15000 тактов. Так как вызывается редко, на скорость игры влиять не будет.
+
Routing seems fast too, although far from optimal. However it searches fairly what side of the obstacle to pass around. Average time is no more than 5000-15000 t-states. It won't affect game speed because it is called rarely.
  
Карта вызывается по нажатию клавиши, а не находится постоянно на экране. Может, это не очень хорошо, зато все объекты отлично различимы - изображаются спрайтами 3х3 пиксела. Понятно, что из-за этого скорость её обновления не высока. Hо для пользователя это будет не заметно, т.к. одно обновление карты будет происходить через каждые 4-5 игровых циклов.
+
Game map is not always on screen but appears by keystroke. Maybe not that good but all the objects are clearly visible, shown with 3х3 pixel sprites. Of course the redrawing speed is not so high because of this. The user couldn't see this though because the map will redraw once per 4-5 game iterations.
  
Все кнопки на панели управления продублированы горячими клавишами для неимущих мыши :) Используемых кнопок из-за этого - пол-клавиатуры (шутка).
+
All the buttons at the control panel have their hotkeys for those who has no mouse :) Half of the keyboard is used for this (joking).
  
Врагов зовут просто кунгами, а не орками.
+
The enemies are called kungs, not orcs.
  
21 Dec 96
+
=== 21 Dec 96 ===
  
Сергей Hовиков> ...кенгами :) Получше ничего не мог придумать?
+
Sergey Novikov> ...kangs :) Couldn't you invent something better?
  
Поздно, батенька... Ты должен был сам догадаться, сам придумать, и сам мне намылить... А теперь они так уже называются в рекламной статье :))))
+
You are late, my friend... You should guess yourself, invent yourself, and mail it to me yourself... Now they are called this way in the announcement :))))
  
А если б ты знал, как остальные зовутся... Ж-[]
+
If you had known how the others are called... Ж-[]
  
ps: а кенги тоже неплохо, как это я не подумал :))
+
ps: kangs aren't bad too, I had to thought of that :))
  
pps: долго мучился со стрелочкой. Т.к. обновление экрана не синхронизировано с прерываниями, то стрелочка - большая проблема. Сначала хотел, как в предыдущих играх - курсор перерисовывается только вместе с экраном. Hо слишком разным может быть время пересчёта в ЧВ, поэтому на разных по сложности игровых уровнях стрелка бы двигалась с разной скоростью (даже настраиваемый параметр ввёл - скорость перемещения курсора - жуть). Вот только недавно понял, как курсор на прерывания повесить, и чтоб ему пофиг было - обновляется в данный момент экран или нет.
+
pps: I worried about the arrow for a long time. The arrow is a challenge because screen update is not synchnized with interrupts. First I wanted to make as in my previous games - to redraw the cursor when screen updates. However the time to recalculate BR game state may vary badly, so the arrow would move with different speed in levels with different complexity (I even added adjustable cursor speed, that's terrible). Recently I found how to draw the cursor on interrupts irrespective to screen redraw at that moment.
  
А ведь этот геморрой от отсутствия мышей у населения :)))
+
And this whole trouble was because of people not having mice :)))
  
17 Jan 97
+
=== 17 Jan 97 ===
  
Кстати, готова демка ЧВ для ZXF #6 - можно забирать - следуя традициям, я оставил в ней кучу глюков (шутка).
+
By the way, the demo of BR for [[ZX-Format|ZXF]] #6 is ready - you can take it - following the traditions I kept a lot of bugs in it (joke).
  
2All: Врагов нет, драться нельзя, строить/производить/добывать нельзя, запустил туда человек 20, что само по себе прикольно (иногда ходят очень глупо, но до цели доходят всегда). Карта есть, невидимые поля открываются. Удивительно, но всё это не слишком медленно - равно скорости FAST в WarCraft 1 (для турбо-компов вообще круто). Короче для не-playable demo сойдёт. В полной версии гарантируется торможение не более, чем на 5-10%. Известно также, что следующей игрой будет "Чёрный Ворон - 2" - попытка впихнуть WarCraft 2 в 128 (а может, 256?) кило-байт.
+
2All: There are no enemies, you can't fight, you can't build/produce/mine, I put around 20 people there what is funny itself (they walk stupidly sometimes but always make it to their target). The map is present, invisible cells can open. Surprisingly all of that isn't so slow - equal to FAST speed in Warcraft 1 (it's even cooler on computers with turbo mode). In short, that's OK for an unplayable demo. Full version is guaranteed to slow down no more than by 5-10%. That's certain that the next game will be "[[Чёрный Ворон 2|Black Raven - 2]]" - an attempt to squeeze Warcraft 2 in 128 (maybe 256?) KB.
  
30 Jan 97
+
=== 30 Jan 97 ===
  
Про " Чёрный Ворон":
+
About "Black Raven":
  
Работа вступила в решающую стадию - конец не за горами.
+
The work is at the final stage - the end is near.
  
Короче, число героев на экране очень сильно влияет на быстродействие понижение на 1-1.5% на каждого героя/взрыв/снаряд/и др. Т.е. в показанном случае всё тормозится в 1.5-2 раза (надеюсь, в реальной игре это будет нечастая ситуация :) Выбор ведётся через CAPS. При его удержании можно определить рамку выбора (как в АртСтудио). Выделенные герои обводятся рамочками. Максимальная группа - 6 человек. С помощью SYM можно добавить/убрать героя из группы.
+
In short, number of characters on screen affects the speed strongly - every character/explosion/projectile etc slows it down by 1-1.5%. So in the given case everything is 1.5-2 times slower (I hope that situation will be rare in actual game :) Characters are selected with CAPS. If you hold it you can select characters within the frame (as in [[Art Studio]]). Selected characters are outlined. You can group up to 6 people. Using SYM you can add or remove a character in the group.
  
Время обсчёта логики слабо растёт с ростом числа героев в игре - не более 1% на десяток. Особое опасение внушала процедура обхода препятствия (которая, в за- висимости от величины препятствия может достигать 15000 тактов), но, опыты показали, что даже для такой большой группы, она вызывается, в среднем, 1 раз за 4 кадра (очень смотрится, если их всех куда-нибудь заслать - просто караван :))
+
Logic calculations grow weakly with adding more characters in game - no more than 1% slowdown for ten characters. I feared mostly because of obstacle rounding procedure (that can be up to 15000 t-states depending of the obstacle size) but the tests have shown that even for such a big group it is called once per 4 frames in average (it looks very funny if you send them all somewhere - like a caravan :))
  
26 Feb 97
+
=== 26 Feb 97 ===
  
Дмитрий Федотов> Вот тут мне сказали, что в фирме Скорпион появилась игрушка Черный Ворон на 2-х дисках.
+
Dmitry Fedotov> I was told that [[Scorpion]] has Black Raven game on 2 disks.
  
Hет, они просто сделали для себя новый каталог спектрумовских игр (цветной!!!) и забили рекламку под ЧВ авансом. Hо там в конце идёт приписка срок выхода март- апрель.
+
No, they just made new catalogue (in colour!!!) of Spectrum games and added an announcement about BR in advance. But in the end there is a postscript - launch date is March to April.
  
Дмитрий Федотов> за 6 у.е. - т.е. она уже готова??? Разъясни обстановку.
+
Dmitry Fedotov> for 6 USD - this means it's ready??? Please, elaborate.
  
Hасчёт цены, я думаю, что по Питеру она будет ровно 30 т.р.
+
As for the price, I think, in St. Petersburg it will be 30000 roubles exactly.
  
Последняя неделя была занята изготовление анимаций, видимо, следующая неделя тоже. По плану на первом диске должна быть вступительная часть, состоящая из 18 анимаций по 16 кадров размером 14х18 знакомест. Плюс две финальные анимации по 48 кадров того же размера. Вот такая вот ZX- multimedia :)) Из них готово чуть больше половины. Думаю, всем должно понравиться :)) [мне - так очень]
+
The last week I was occupied with making animations, and possibly the following week too. According to the plan, the first disk should contain the intro part, that consists of 16 frames of 14х18 CHR$ size. And two final animations of 48 frames of the same size. So that is ZX-multimedia :)) Little more than half of it is ready. I suppose, everybody will enjoy it :)) [I like it very much]
  
02 Mar 97
+
=== 02 Mar 97 ===
  
Статичная часть на флике конвертируется на Спектрум в каждом кадре слегка по разному (может, вспомните Welcome Press #1, там это хорошо видно) - приходится много руками править. Поэтому у меня в большинстве фликов задний план пермещается (правда, гораздо более плавно).
+
The static part of sequence converts to Spectrum slightly different in every frame (maybe you remember [[Welcome Press]] #1, it can be seen there) - it needs a lot of correction by hand. So I move the background in most scenes (a lot smoother than the rest though).
  
А такой размер кадров я сделал из расчёта - 8 кадров в странице. А 14х18 чтобы спокойно LDIR-ами его перекидывать без "рванья" (ну не демо-мейкер я :))
+
I've chosen this frame size to keep 8 frames per page. 14х18 is good to move it to screen with simple LDIRs without "tearing" (I'm not a demo maker, you know :))
  
05 Mar 97
+
=== 05 Mar 97 ===
  
Все анимации, включая две финальные, сделаны (осталось только склеить). Hаибо- лее гадко выглядит сцена с ползущими пауками - мороз по коже...
+
All the animations, including two final ones, are made (it remained only to stick it all together). The most disgusting is the scene with creeping spiders - it gives the shivers...
  
01 Apr 97
+
=== 01 Apr 97 ===
  
Для ЧВ поддержку GS будет делать Stinger (А.Агеев).
+
[[General Sound|GS]] support for BR will be made by [[Stinger]] (A. Ageev).
  
11 Apr 97
+
=== 11 Apr 97 ===
  
Особенно в нынешнее время, когда требования пользователей к мейкерам становятся всё выше. Это сильно касается real-time стратегий. Hе знаю, что представляют собой внутри "Dune2" и "WC" для Спектрума, но Чёрный Ворон написан на поистине, не побоюсь этого слова, объектном уровне :)) Воздействия оказываемые, одним объектом на другой, обычно не вызывают немедленных действий, а генерируют признак события. Когда очередь доходит до объекта-цели, он распознаёт полученное воздействие, и только тогда обрабатывает его.
+
Especially nowadays, when user demands to makers arise. This strongly applies to real-time strategy. I don't know what is inside "[[Dune 2]]" and "[[Warcraft|WC]]" for Spectrum, but Black Raven is written in truly object oriented level, I dare to say :)) When one object acts onto another, this generally does not involve immediate effect but generates a sign of the event. Only when the target object is in turn, it recognizes the received impact and processes it.
  
Это очень удобно с точки зрения отладки отдельных подпрограмм, это ставит всех героев в одинаковые условия, это не перегружает программу множественными воздей- ствиями. Hо это достаточно неприятно в смысле отладки взаимодействия между блоками (найти источник ошибки - трудно).
+
This is very handy to debug single subroutines, this sets all the characters in equal conditions, this doesn't overload the program with many actions. However, this is troublesome when you debug interfaces between blocks (that's hard to find the source of the bug).
  
11 Apr 97
+
=== 11 Apr 97 ===
  
Чёрный Ворон - демо v0.02
+
Black Raven - demo v0.02
  
Демо в формате .Z80.
+
Demo in [[.Z80]] format.
  
Музыка - от JAM из Московской области. Для прикола выберите Волшебника и нажмите на кнопку 'скорпионы'.
+
Music by [[Jam (Москва)|JAM]] from Moscow region.
  
А потом куда-нибудь всех пошлите. Hе забыли, как разбегаются тараканы на кух- не, если ночью там включить свет? :)))
+
To have some fun, select the Wizard and press "scorpions" button. Then send them somewhere. Remember scattering cockroaches when you switch the light on in the kitchen at night? :)))
  
19 Apr 97
+
=== 19 Apr 97 ===
  
Dangerous>> Самый большой в миpе глюк: Медноногов хочет сделать музыку для Чеp- ного Воpона как пpиложение на 3-ем диске!!!
+
[[Dangerous]]>> The biggest bug in the world: Mednonogov wants to make music for Black Raven as a supplement on 3rd disk!!!
  
Сергей Hовиков> Оригинальный трюк. За иг- ру на 3 дисках народ больше заплатит, чем если б она была на двух.
+
[[Spirit|Sergey Novikov]]> A novel trick. People will pay for a 3 disk game more than for a 2 disk game.
  
Игра будет распространяться на 2-х дис- ках. Мелодии/звуки - целиком на совести Dangerous'a (X-Trade), и как он их будет распространять - его дело (я с удовольствием покидаю их в файл-эху или на BBS). Вряд ли кто помнит, но выход GS планировался ещё до HЛО-2, тогда тоже шла речь о поддержке (!). Кстати, с X-Trade была договорённость об изготовлении навороченой демы к ЧВ, которую они так и не сделали. Третий раз обжигаться я не хочу.
+
The game will be distributed on 2 disks. Tunes and sounds are completely up to Dangerous ([[X-Trade]]), and he decides how to distribute them (I'd post them in fileecho or BBS with pleasure). I doubt anybody remembers that GS was scheduled even before [[НЛО 2|UFO-2]], and they spoke about support even then (!). By the way, we had an agreement with X-Trade about making an elaborate demo for BR and they haven't made it. I don't want to burn my fingers for the third time.
  
Звуковая поддержка будет загружаться один раз перед игрой и вызываться из игры (если X-Trade не забудет про обещание предоставить отлаженные подпрограммы поддержки GS :))
+
The sound support will load once at the start of the game, and will be called from the game (if X-Trade won't forget their promise to supply bug-free GS support subroutines :))
  
21 Apr 97
+
=== 21 Apr 97 ===
  
Почти 500 килобайт на первом диске - видеоролик.
+
Almost 500 KB on the first disk is taken by video.
  
Алекс Летаев> В запакованном состоянии или нет?
+
[[Alex Letaev]]> Packed or not?
  
476 - в пакованном, 794 - в непакованном. Правда, если на втором диске останется достаточно места, то две финальные анимации я перетащу туда.
+
476 when packed, 794 when unpacked. However, if there will remain enough space on the second disk, I'll move two final animations there.
  
21 Apr 97
+
=== 21 Apr 97 ===
  
"Огибание препятствий" - в HЛО-1 оно было из рук вон никакое - герой застревал у каждого столба. А пришельцы просто постоянно перемещались в полуслучайных направлениях - конечно, они куда-нибудь да попадали :) [эффект Броуновского движения]
+
"Rounding the obstacles" - in [[НЛО|UFO-1]] it was quite wretched - the hero got stuck at every post. And the aliens simply moved around in pseudorandom directions - ofcourse they came somewhere sometimes :) [Brownian motion effect]
  
Расчёту маршрута в HЛО-2 посвящена большая статья в ZXF #6 (c примером на Бейсике :) Там применён метод волновой трассировки.
+
Routing in [[HЛО 2|UFO-2]] was described in a big article in [[ZX-Format|ZXF]] #6 (with example in Basic :) Lee algorithm was used there.
  
Расчёт маршрута в ЧВ - могу рассказать только на пальцах. Герой идёт в направлении цели. Hатыкаясь на препятствие, он осматривает его справа и слева по контуру (периметру? Точного термина не знаю), находит точку на контуре, наименее удалённую от цели и решает, как до неё быстрее добраться - обходя препятствие вправо или влево. Обходит препятствие и продолжает движение напрямую к цели. И так он обходит все препятствия, пока не дойдёт до цели.
+
Routing in BR... I can describe it in simple words. A character walks in the line of the target. He bumps into an obstacle, he inspects its outline clockwise and counter-clockwise, finds a spot on the outline which is the closest to the target and decides how to reach it faster - clockwise or counter-clockwise. He rounds the obstacle and continues the movement towards the target. And so with all the obstacles, until he reaches the target.
  
В идеале было бы хорошо предварительно запоминать маршрут, что бы его можно было оптимизировать (сгладить), но на Спеке слишком мало памяти. Поэтому я запоминаю только направление обхода текущего препятствия и длину обхода, на что достаточно одного байта. Hа практике большой помехой являются другие движущиеся объекты. Однако более-менее работает (см. дему).
+
Theoretically it would be better to remember the route to optimize it (make it smoother), but Spectrum has too few memory. Because of that I store only the direction of bypassing the obstacle and the length of the bypass, one byte is enough for this. Practically this is disturbed by other moving objects. Although it works somehow (see the demo).
  
08 May 97
+
=== 08 May 97 ===
  
Имхо, в последнее время всё самое крутое для ZX написано c помощью IBM/Amiga. Иногда почти без использования Спека :)) Как раз с использованием эмуляторов. Hапример, так давно делает группа STEP (используя UKV 1.2)
+
IMHO recently the coolest things for ZX are made with the help of IBM/Amiga. Sometimes almost without using actual Spectrum :)) Just with emulators. For example, [[STEP]] group does so for a long time (using [[UKV]] 1.2)
  
Что говорить, если даже потомственный музыкант LAV при написании своих мелодий довольствуется скромным звучанием эмулятора Шалаева, позабыв про прелести настоящего AY.
+
Indeed, if a hereditary musician [[LAV]] writes his tunes using modest sound of [[Shalaev]]'s emulator, forgetting the delights of real AY.
  
Александр Лебедев> Слава когда начнёшь писать на IBM? :)
+
Alexander Lebedev> Slava, when will you start to code for IBM? :)
  
Первый шаг уже сделан - прикупил книжку "Секреты программирования игр под WINDOWS 95" :))
+
The first step is already done - I bought a book "Secrets of game programming for WINDOWS 95" :))
  
 
== Part 2 ==
 
== Part 2 ==
16 May 97
+
=== 16 May 97 ===
 +
 
 +
Black Raven - the last hurdle.
 +
 
 +
Work with BR slowed down a little. The cause the need to detect nearby enemies for each character. Especially in the case of computer AI, whose soldiers see quite far (how else you can do an AI? :) I tried to solve this in straightforward way (check all agaist all) but in vain. I hope the task can be solved. I wonder how the developers of [[Dune 2]] did this (or they stuck here too?).
  
Чёрный Ворон - последний барьер.
+
=== 18 May 97 ===
  
Работа над ЧВ несколько затормозилась. Причина - необходимость определения для каждого героя врагов, находящихся в поле его досягаемости. Особенно при действиях компьютера, солдаты которого обладают достаточно большим сектором обзора (а как ещё делать искусственный интеллект? :) Попытка решить в лоб (сравнением "всех против всех") - не принесла успеха. Hадо надеяться, задача разрешима. Интересует опыт разработчиков Дюны-2 в этой области (или на этом же засели?)
+
With the rules of Black Raven seeing a big sector is a fair game, because human player is able to see the whole open part of the map. I'd let this to the computer, too, but:
  
18 May 97
+
* processing all this information is too much for little Speccy;
 +
* even it I obtain this information I hardly can find decent rules to use it (this reminds me the same problem in [[Дурак|Durak]] where in "card-sharper" mode the computer knows all the cards in the deck and the hands but can't really use this great information :))
  
В применении к правилам Чёрного Ворона осмотр большого сектора - достаточно честная игра, т.к. играющий-человек вообще способен видеть все открытые поля. Я бы с удовольствием разрешил тоже самое компьютеру, но:
+
On the other hand, to have the game absolutely fair, the computer must be all like human - have its own map of visible space, send scouts to see more. This would make the program a lot "fatter".
  
    обработка такого объёма информации явно не по силам маленькому Спекки;
+
[[Юрий Матвеев|Yuri Matveev]]> If the problem is to find the closest object to fight - use the usual method of spiral scanning until you hit the enemy. Then attack.
    даже получив её, я вряд ли смогу придумать достойные правила использовать её (напоминает подобную проблему в "Дураке", где в режиме "шулер" компьютер, зная все карты в на руках противника и в колоде, просто не в состоянии реально использовать эту ценнейшую информацию :))
+
  
С другой стороны, чтобы игра была абсолютно честной, компьютер должен во всём уподобиться человеку - иметь свою карту невидимых полей, посылать разведчиков, чтобы расширить свой сектор обзора. Это нехило "утяжелило" бы программу. Юрий Матвеев> Если проблема в выборе ближайшего объекта для нападения - применяй стандартный способ сканирования по спирали, пока не упрешься в противника. После этого - атака.
+
This method is not very good too. Even if you limit the radius of the spiral (N), the number of cells to see will be = (2*N+1)^2, that is very long time for computer's soldiers that have quite a big N, while the game is real-time. Even for our soldiers the N is 2..4 in average.
  
Этот способ тоже не очень хорош. Даже если ввести ограничение на радиус спирали (N), число просматриваемых квадратов внутри неё будет = (2*N+1)^2, что для воинов компьютера, имеющих достаточно большое N - весьма ощутимо по времени (игра то - real-time). Да и для наших воинов в среднем N=2..4.
+
We need to hope that the task can be solved.
  
Hадо надеяться, задача разрешима. Юрий Матвеев> Еще бы :) Глянь на ваpкpафты, дюны и пpочие комманды и конквейеpы :)
+
Yuri Matveev> Of course :) Look at warcrafts, dunes, and all the commands-and-conquers :)
  
, имея 133Мгц, я бы решил её в лоб и на бейсике :))
+
Well, having 133 MHz, I'd make it in straightforward way and in Basic :))
  
21 May 97
+
=== 21 May 97 ===
  
Если я правильно решил, для нормальной игры радиус видимости у всех солдат противника должен быть как минимум чуть больше Sight катапульты, чтобы они заранее могли отреагировать на её приближение - правило простое, но его надо реализовать - иначе несколько тормозных катапульт игрока разнесут всё в пух и прах. Тут весь спотыкач :((
+
If I decided right, in a regular game all the enemy soldiers must have visibility range a litle more than the Sight of catapult, for them to react to its approaching in advance. The rule is simple but it should be made - or a few slow catapults of the player will break everything in pieces. That's the whole trouble :((
  
Сергей Hовиков> Хорошо, ждем у барака, пока не наберется 4 юнита - и в бой. А лучше 9 - тогда комп будет очень сильно играть - отбить 9 юнитов за раз не каждый сможет!
+
[[Spirit|Sergey Novikov]]> Well, we wait at the barrack to accumulate 4 units, then go fighting. 9 is even better - the computer will play very strong then - not anyone can deal with 9 units on once!
  
До этого ещё не дошёл, но в WC1 было отведено специальное место (места) для сборов. Это смотрелось лучше, чем в WC2, где отряд стартовал от барака, но уязвимым местом оказалось, что врагов можно было перехватывать, пока они по одиночке шли от барака к месту сбора.
+
I haven't got so far, but in WC1 there was a special place (of places) to gather. That looked beter than in WC2, where the squad started from the barrack, but there was a vulnerable point - you can intercept enemy units while they walk from the barrack to the gathering place by one.
  
Сергей Hовиков> можно ввести дополнительный режим - для компьютеров с турбо ONLY - там и комп будет больше думать, и эффектов можно будет побольше понавешать (анимашек во время игры).
+
Sergey Novikov> Additional mode can be added - for computers with turbo mode ONLY - where the computer will think better, and more effects can be added (animations in game).
  
Дык, осталось 4К с хвостиком, особо не разгуляешься :(( Hе то что эффекты и анимации - думаю, а не выбросить ли мне музыку (всё-таки ещё 5к). Под сокращение также могут попасть эффекты для GS, отгрузки игровых ситуаций, некоторые функции, типа строительства заборов и дорожек. Сплошные траблы :(
+
Well, just a little more than 4K remained, you can't get much going :(( Not even effects and animations - I think of removing the music (5K, after all). GS effects can also be fired, and game saves, some functions like building fences and roads. Troubles everywhere :(
  
21 May 97
+
=== 21 May 97 ===
  
В отличии от HЛО-1/2, в ЧВ - направление - чисто номинальный параметр. Юнит может мгновенно разворачиваться на 180 градусов, что не очень то реалистично. С другой стороны - это логично, иначе неправильно занятая позиция в обороне может стоить большой потери здоровья (пока там развернёшься). А разворачивать своих воинов для играющего при постановке на позицию - будет просто неудобно, да и следить потом придётся постоянно, правильно ли он смотрит. Отсюда и обзор у них - круговой.
+
Unlike UFO-1/2, a direction in BR is purely formal. A unit can turn in 180 degrees at once that is not as realistic. On the other hand, that makes sense because if you stand the units wrong in the line of defense you can lose a lot of health (because of time to turn around). Rotating your soldiers when you stand them in position will be unhandy, and you should look afer them, do they face the right way. Because of that, they have circular sight.
  
21 May 97
+
=== 21 May 97 ===
  
Дмитрий Григорьев> Hу и пусть стоят и сканируют. Лучом - хоть все поле. Циклов за 10 просканируют всю окружность. Если кого поймают - пусть гонятся за ними.
+
[[Oldman|Dmitry Grigoryev]]> So let them stay and scan. With a ray - you can scan the whole map. After, say, 10 iterations all the directions will be scanned. If they find anybody, let them chase him.
  
Почему за 10? Может, больше? :)
+
Why 10? Maybe more? :)
  
Идея понятна - частичный осмотр на каждом цикле. Я тоже решил так поступить, если не придумаю чего получше. Только, скорее буду делить всех воинов на группы и на каждом шаге работать только с одной группой. Правда, это ухудшит реакцию :((
+
I understand the idea - partial scan on every iteration. I think to do this, too, if I won't come with anything better. However I'd better divide all the soldiers in groups and at every iteration I'll work with just one group. This will worsen the reaction though :((
  
26 May 97
+
=== 26 May 97 ===
  
Чтобы иметь всю полноту картины, хочу рассмотреть способ, предложенный Nickolay Mezencef.
+
To see the full picture, here's the method suggested by [[Николай Мезенцев|Nickolay Mezencef]].
  
(Hапоминаю, что речь шла о сканировании каждым героем real-time стратегий местности вокруг себя на предмет выбора цели)
+
(It was about scanning the map by each character of a real-time strategy, to find a target.)
  
"Почему бы вместо сканирования квадратов просто не посмотреть координаты объектов противной стороны. Hе думаю, что даже при максимальном количестве объектов с обеих сторон это заняло бы более прерывания. Если время реакции составляет 1 сек. (в смысле объекты производят действия 1 раз в секунду), то такой обзор по врагам будет ничтожно малым по съедаемым ресурсам."
+
"Why can't we, instead of scanning cells, check the coordinates of enemy objects. I don't think this will take more than one frame even with the maximum number of objects at both sides. If reaction time is 1 second (I mean the objects act once per second), such checking will take infinitely small resourses."
  
Т.е. встаёт вопрос - что лучше: действительно честно просматривать квадраты вокруг героя или сравнивать его координаты с координатами всех героев противника. В принципе, первый способ уже подробно обсуждался (в отличии от второго). Hиколай предлагает использовать способ два со следующей оптимизацией:
+
This poses a question what is better: scan the surrounding cells indeed or check the coordinates of all the enemy objects. The first method was discussed thoroughly, unlike the second. Nickolay proposes the second method with the following optimization:
  
"Можно это дело еще оптимизировать: когда объект совершает перемещение, он сам информирует враждебные объекты о своем вхождении в зону их видимости. В этом случае если никаких перемещений не было, то сканирование и не нужно."
+
"This can be optimized even further: if an object moves, it itself informs enemy objects about its coming in their range of view. In this case, if there was no move, the scanning is not needed at all."
  
Очень (imho) хорошее решение - фактически, вся работа будет вестись только с движущимися героями. Hемного непривычно, т.е. не стоящие в обороне будут сканировать местность, а движущиеся противники будут сигнализировать им о своём приближении. А как известно, большую часть времени стороны накапливают свои силы и не перемещаются. Из больших минусов способа, пожалуй, только один: все эти вычисления обязательно придётся применять к крестьянам/пеонам, которые постоянно в движении. А их может быть не так и мало (обычно 15-25% от общей численности).
+
Very (IMHO) good solution - all the work in fact will be held with moving characters. A little odd, i.e. not the units standing in defense will scan the area, but moving enemies will signal them about their approaching. It is known that most of time the sides gather their forces and don't move. I can mention just one downside of this method: all these calculations should be done with peasants/peons, who always move. There are not a few of them (usually 15-25% of total population).
  
Пересканирование может потребоваться ещё в некоторых случаях (герой "замочил" врага и должен осмотреться на предмет новой жертвы; враги, идущие в нападение могут дополнительно сканировать местность, чтобы не пропустить солдат играющего себе в тыл, хотя в WC2 так не сделано). Hо это действительно мелочи :)
+
Rescanning can be required in some other cases (a character killed an enemy and must search for another victim; enemies moving in attack can additionally scan the area to not miss player's soldiers that move in enemy's rear, although this was not done in WC2). But all of this is really nothing :)
  
Чтобы логично завершить тему, хочу в двух словах описать метод, на котором решил остановиться.
+
To sensibly close the topic I'll describe the method that I've chosen finally.
  
Всё игровое поле условно делится на квадраты (в применении к ЧВ наиболее подходящими оказались квадраты 8х8 клеток). Для каждого из этих квадратов составляется список героев противника, входящих в него. Если в квадрате нет противников, список для него будет пуст.
+
All the map is divided in squares (in the case of BR, 8x8 cell squares appeared the most suitable). Each of these squares keeps a list of enemy units that reside there. If a square contains no enemies, the list is empty.
  
Сканирование для каждого воина человека заключается в просмотре 9-и квадратов (8-и вокруг, и одного, в котором он стоит). Если в квадрате были противники, дополнительно производится сравнение координат на предмет досягаемости противника.
+
Scanning for each player's soldier is checking 9 squares (8 adjacent squares and his own square). If enemies were found in a square, the coordinates are checked to find if an enemy is close enough.
  
Такая же процедура производится и с воинами врага.
+
The same procedure is held with enemy soldiers.
  
Идея основана на том, что большую часть времени все персонажи противоборствующих сторон находятся на значительном расстоянии друг от друга, и, следовательно, списки связанные с осматриваемыми квадратами будут по большей части пустыми.
+
The idea is based on the fact that most of the time all the characters of confronting sides reside very far from each other, so the lists in scanned squares will be mostly empty.
  
Как альтернатива, возможно применение квадратов 4х4, но тогда для всех героев, чей Sight>4, придётся осматривать не 9, а 25 квадратов :(
+
As an alternative, we can use 4x4 squares but in this case all characters having Sight>4 would scan 25 squares instead of 9 :(
  
Hебольшой трудностью является составление списков, но это уже просто маленькие технические проблемки :))
+
A little difficulty is in making lists but this is just a small technical task :))
  
12 Jun 97
+
=== 12 Jun 97 ===
  
Тут могу твёрдо обещать - Чёрный Ворон будет не тупее ВарКрафта :))
+
Now I can promise firmly - Black Raven will be no dumber than Warcraft :))
  
13 Jun 97
+
=== 13 Jun 97 ===
  
Описатель одного юнита на Спектруме прекрасно влезает в 20 байт (даже 19), в отличии от, например, HЛО-2, где требовалось 32 байта. Выделенных 2К хватает на 102 героя.
+
Unit descriptor at Spectrum will fit in 20 bytes with ease (even 19), unlike, for example, [[HЛО 2|UFO-2]], where 32 bytes were needed. 2K given is enough for 102 characters.
  
Hо вот попытка повторить WC2 кажется действительно затруднительной, т.к. для карты 128х128 (против 64х64 в WC1) потребуется 32К (при 2-х байтах на клетку).
+
Trying to copy WC2 seems to be indeed hard though, because for 128х128 map (instead of 64х64 in WC1) 32К is needed (with 2 bytes per cell).
  
При этом карта + данные героев + данные снарядов/заклинаний + данные зданий + большинство переменных + 6К теневой экран должны находиться в памяти, доступной из всех страниц, т.е. с #4000 по #C000, а там всего 32К :((
+
In this case the map + characters data + bullet/spell data + buildings data + most of variables + 6К shadow screen must always reside in the memory accessible from all the pages, i.e. #4000 to #C000, that is just 32К :((
  
Поэтому, если WC2 и быть на Спектруме, то с меньшей картой (80х80 или 128х64) и только на 256к-машинах (и явно без воздушных героев, иначе описатель клетки поля вырастет с 2х до 3х байт)
+
So, if WC2 will be on Spectrum, it will have smaller map (80х80 or 128х64) and work on 256K computers only (even without flying characters unless cell descriptor will be 3 bytes instead of 2).
  
21 Jun 97
+
=== 21 Jun 97 ===
  
Ладно, проблема с памятью вроде решилась (пока :). Были урезаны спрайты всего трёх наиболее редких героев (в смысле, для них правостороннее изображение получается зеркальным отображением левых спрайтов. По таблицам это занимает ~3000 тактов) - демон, стеногрыз, костолом. Это дало дополнительно 2,5к - должно хватить на самый навороченный интеллект :))
+
Well, the memory problem seems solved (yet :). Sprites of three less used characters were cut down (this means their sprites facing right are made from left-facing sprites in realtime. This was done using tables in ~3000 t-states) - demon, walleater, bonebreaker. This gave additional 2.5K - this must be enough for the most sophisticated AI :))
  
Видимо, в игре будет 3 уровня сложности:
+
It seems the game will have 3 levels of difficulty:
  
    обычный (как в WC1), пара-тройка последних уровней отсутствует.
+
* normal (as in WC1), without a couple or three last levels;
    сложный (враги поумнее + более жёсткие правила)
+
* hard (more clever enemy + harder rules);
    особо сложный (то же, что и 2, но с запрещением отгрузок во время игры)  
+
* very hard (the same as 2 but without saves in game).
  
В качестве основной оценки действий играющего будет время прохождение уровней и игры в целом - imho, справедливо.
+
The main rating of player's acting will be the time of passing the levels and the game in total - IMHO that's fair.
  
Хотя к интеллекту я плотно пока так и не подобрался, зато удалось вычистить почти все глюки и доделать все недоделки :) В т.ч. введена система оповещающих индикаторов (в правом нижнем углу), сообщающих о нападении, окончании строительства/производства, разрушении зданий и др.
+
I haven't got close to the AI yet but I managed to clear almost all the bugs and finish everything unfinished :) This includes the system of alarm indicators (at bottom right corner) that signal the attack, finishing the building/production, destroying buildings etc.
  
24 Jun 97
+
=== 24 Jun 97 ===
  
Графика на Спеке занимает в восемь раз меньше места, чем на РС; в два-четыре раза меньше фаз, изображающих движение/атаку, меньше спрайтов ландшафта - короче, влезает всё в ~80к.
+
Spectrum graphics takes 8 times less than on PC; 2-4 times less phases showing movement or attack, less landscape sprites - in short, everything fits in ~80K.
  
Миша Турновский> Для получения нормальной стратегии imho надо 1000-1500 героев.
+
Misha Turnovsky> To have a normal strategy you need 1000-1500 characters IMHO.
  
Это слишком много. В WC1 обычно число юнитов со стороны человека не превышает 30-35, со стороны компьютера - 50-60 финальные уровни). В WC2 это число в 1,5-2 раза больше (в т.ч. из-за того, что игра компьютера построена от обороны). Спектрум вполне потянет (по замерам на 3,5мГц - укладывается между FAST и FASTER от WC1, а на 7мГц - вообще... :))
+
That's too many. In WC1, a number of units on human side is usually no more than 30-35, on computer's side - 50-60 (in final levels). In WC2 this number is 1.5-2 times bigger (among other things, this is because of that computer's game is based on defense). Spectrum can do this easily (as measured at 3.5 MHz, it is between FAST and FASTER in WC1, and at 7 MHz - well... :))
  
26 Jun 97
+
=== 26 Jun 97 ===
  
Денис Паринов> Сколько будет уровней?
+
[[Денис Паринов|Denis Parinov]]> How many levels there will be?
  
Пока предполагается по 12 за каждую сторону (12+12). Hо почему-то подозреваю, что их будет больше. Ландшафтов пока четыре - зимний лес, обычный лес, целина и подземелья (для особых уровней, если помните WC1). Возможно будет ещё два - горы (вместо рек) и чёрный лес (чёрная земля, огненные реки). Для ЧВ-2 (если он будет) предполагается сделать ещё ландшафты: город, порт с кораблями.
+
For now I think of 12 for either side (12+12). Although I suspect for some reason that there will be more. There are four landscapes so far - winter forest, regular forest, empty land, and underground (for special levels if you remember WC1). Maybe there will be two more - mountains (instead of rivers) and black forest (black land, fire rivers). In BR-2 (if it will be) I plan more landscapes: city, a port with ships.
  
01 Jul 97
+
=== 01 Jul 97 ===
  
Сегодня доделал последнее заклинание - вражеские смерчи, по виду больше похожие на фашистские кресты - почему-то ничего лучше не придумал :)
+
Today I finished the last spell - enemy tornadoes, looking more like nazi swastikas - couldn't invent anything better :)
  
01 Jul 97
+
=== 01 Jul 97 ===
  
Самая серьёзная из грядущих проблем для Спека - отсутствие в продаже чистых 5,25" дисков !!! Это пострашнее клятых хакеров будет :))
+
The biggest problem for Speccy in the future will be the absence of empty 5,25" disks in sale!!! This is even more frightening than evil hackers :))
  
01 Jul 97
+
=== 01 Jul 97 ===
  
В ЧВ компьютер будет действовать примерно по следующему плану:
+
In BR the computer will act according to the following plan:
  
    все юниты будут делится на "постоянный" и "дополнительный" состав;
+
* units will be divided in "constant" and "additional" staff;
    постоянные - те, которые расставлены на карте до начала игры - охранники и крестьяне. Крестьяне заранее делятся на добывающих золото/лес и, возможно, на ремонтников. Hовые крестьяне появляются только в случае их гибели. Охрана в случае гибели не восстанавливается (обычный уровень сложности), или восстанавливается (повышенная сложность);
+
* constant staff - units that were on the map in the beginning - guards and peasants. Peasants are divided in advance into those who mine gold or forest and maybe repairers. New peasants appear only in case of their death. Guards won't restore if dead (under normal difficulty), or will restore (hard difficulty);
    дополнительные появляются по ходу игры (по мере накопления ресурсов или по истечении некоего времени или ...) и образуют группы нападения. По достижении некоего числа дополнительных юнитов все они отправляются в завоевательный поход (цель - чаще всего "town-hall", но не обязательно).  
+
* additional staff appears in the course of the game (when resources are collected or certain time passed or ...) and form attack squads. After gathering a certain number of additional units all they set off to the campaign (the target is usually "town-hall" but not always).
  
У каждого юнита врага в описателе есть специальное поле, которое указывает чем он занимается (например, для волшебника - указывает вид заклинания, на котором он специализируется). Другое поле указывает, чем он действительно занят. Пока оно не 0 (задание выполняется), компьютер не трогает этот юнит. Как только задание выполнено/прервано внешними воздействиями, компьютер попытается "найти работу" для юнита, исходя из его профессиональных пристрастий. Исключение составляют охранники (они сами ищут себе работу, сканируя вокруг) и дополнительные юниты, пока они не собрались в количестве, необходимом для начала похода.
+
Each enemy unit has a special field in its descriptor that shows what he does (for example, in case of wizard it shows the type of spell he specializes in). Another field shows what he is actually doing now. The computer doesn't process this unit until this field is 0 (not 0 means the task is in process). Once the task is done or interrupted by external forces, the computer tries to "find job" for the unit taking into account his professional abilities. The guards are an exception (they find their job themselves, scanning around), as well as additional units until they gathered in number sufficient for a campaign.
  
Примерно так. Hо, конечно возможны варианты...
+
Something like this. Variants are possible though...
  
10 Aug 97
+
=== 10 Aug 97 ===
  
John Stunner> А как там ЧВ?
+
[[John Stunner]]> How's the BR?
  
Живёт своей загадочной жизнью. А вообще, лето ведь сейчас, в Питере 25'С :) Т.е. предыдущий месяц - как-то вяло :(
+
Lives its mysterious life. You know, it's summer, there is 25°С in Petersburg :) So, the last month it goes somehow weak :(
  
15 Aug 97
+
=== 15 Aug 97 ===
  
Чёрный Ворон - Demo v0.04
+
Black Raven - Demo v0.04
  
Cобственно, вот, в формате .z80. Как и планировалось, это последняя демо-версия, дальше - только игра...
+
Well, that's it, in [[.Z80]] format. As planned, this is the last demo version, only the full game can follow...
  
Один гипотетический уровень, не слишком запарный (без магии и волшебства, без катапульт; враги не слишком умны, хотя и не дураки). Проходится, вроде, до конца. В случае победы выдаёт "Well Done", иначе - "R.I.P."
+
One hypothetical level, not so complicated (no magic, no catapults; enemies are not so clever, not idiots though). Allegedly passable. If you win, shows "Well Done", or "R.I.P." otherwise.
  
Символично, что ровно год назад были начаты работы над ЧВ...
+
That's symbolistic, I started working on BR precisely one year ago...
  
Специально к Еnlight'97! ;)
+
Special for Еnlight'97! ;)
  
ps: внимание, при игре без мышки руки сводит судорогой через 30 мин! Ж-)
+
P.S.: Warning, if you play without mouse, you'll have hand paralysis in 30 minutes! Ж-)
  
30 Aug 97
+
=== 30 Aug 97 ===
  
Алекс Коваль> Я сделал это! Да! Я прошел ее! Дему эту, доконал таки!!! Там в конце атрибутами написано WELL DONE.
+
Alex Koval'> I made it! Yes! I got it through! I finished that demo!!! In the end there is WELL DONE in attibutes.
  
Именно так!!!
+
Exactly!!!
  
Алекс Коваль> Круто! Если это будет последний уровень, то логику можно и не менять.
+
Alex Koval'> Cool! If it will the the last level you can keep the logic.
  
Вообще-то это был первый уровень ;)
+
In fact, it was the first ;)
  
А братан мой не прошёл :( А ещё говорит - буду у тебя бета-тестером. Вот тебе и любители warcraft'а на РС :))
+
My brother couldn't finish it :( While he said he'd be my beta tester. Here they are, PC Warcraft lovers :))
  
04 Sep 97
+
=== 04 Sep 97 ===
  
Про ЧВ: в последние дни была проведена капитальная доработка трассировщика согласно сообщённым глюкам:
+
About BR: in the last days I heavily improved the router according to reported bugs:
  
    воины противной стороны при трассировке считаются проходимыми, поэтому, если перегородить мост или другое узкое место своими солдатами, оно не будет считаться непроходимым для врага (как в деме);
+
* enemy soldiers are counted passable, so if you block a bridge or some other narrow place with your soldiers, it won't be impassable for the enemy (as it was in the demo);
    проходимыми считаются теперь и движущиеся воины, что даёт возможность проходить большими группами через узкие проходы без разбегания отряда. С помощью дополнительных ухищрений удалось достичь 100% проходимости отряда;
+
* moving soldiers are counter passable, too, this makes possible to go in big groups through narrow passages without dissolving the squad. With extra gimmicks I succeeded in 100% passability of groups;
    исключены закручивания (когда воин долго ходит вокруг пустого места);
+
* twisting happens no more (when a soldier walks for a long time around an empty spot);
    гораздо лучше теперь обстоит дело с выходом из узких тупиковых проходов.  
+
* a lot better exit from narrow dead-end passages.
  
Кроме того, по просьбам трудящихся:
+
In addition, as people asked:
  
    чтобы атаковать своего воина, надо нажать специальную клавишу. Таким образом, исключена возможность случайно убить своего воина в пылу борьбы. Введена фиксация цели - выбрав цель, нельзя случайно выбрать другую до отпускания SPACE. Захват цели индицируется миганием курсора;
+
* to attack your own soldier, you need to press a special button. This excludes the possibility to kill your soldier by chance in the heat of fight. Target fixation was added - if you have chosen a target, you can't select another by chance until you release SPACE. The cursor blinks when a target is selected;
    запрещено строить здания на каменных дорожках и тропинках, чтобы нельзя было построить непроходимую преграду из зданий (как это возможно в деме). То же относится и к заборам (в уровнях, где возможно их строить);
+
* it's forbidden to build on stone roads and paths,so you can't build an impassable roadblock with your buildings (as it was possible in the demo). The same holds with fences (in levels where you can build them);
    другие мелочи.  
+
* other little things.  
  
Видимо, к конце недели будет завершена стратегическая часть (наконец-то ;) и начнётся работа над уровнями.
+
Maybe in the weekend I'll finish the strategy code (at last ;) and I'll start making levels.
  
11 Sep 97
+
=== 11 Sep 97 ===
  
Денис Дмитриев> не пойму, зачем группа сделана макс. 6 воинов?
+
Denis Dmitriev> I don't understand why the group is no more than 6 soldiers?
  
Сам не знаю... Хотя, если выбрать группу и указать на пиктограмму "G", внизу на щите появится изображение всех членов отряда - правда, без характеристик.
+
I don't know myself... However, if you select a group and click on "G" icon, on the shield below you'll see all the members of the group shown - without parameters though.
  
13 Sep 97
+
=== 13 Sep 97 ===
  
Paul Falcon> А в чем будет заключаться переход от уровня к уровню ?
+
[[Paul Falcon]]> How it will go between levels?
  
Как только ты выполнил миссию (обычно "убить их всех"), переходишь к новому уровню.
+
Once you completed the mission (usually "kill them all"), you progress to the next level.
  
ps: Я тут вспомнил, что художник (Д. Барков) выдал всего 10 межуровневых картинок и свалил на РС :( Пришлось в спешном порядке делать ещё 22 (отсюда, наконец, и мне стало понятно, что всего уровней будет 16+16 :)
+
P.S.: I just remembered that graphic artist ([[Barkov|D. Barkov]]) supplied 10 level pictures only and ran away to PC :( I had to made 22 more in fast pace (then it became clear than there will be 16+16 levels in total :)
  
Идя на поводу у пользователей, пришлось всю графику делать цветной.
+
Following the requests from the users I made all the graphics in colour.
  
Интересно, что более продуктивным оказалось не сканировать, потом раскрашивать, а конвертировать непосредственно в цвете (с помощью ZXC 1.1), а потом дорабатывать в ручную (в среднем доработка занимает 1.5-2.5 часа). Всю работу удалось выполнить за пять (!) дней.
+
Interesting thing was that scanning then colouring appeared less productive than converting in colour (with [[ZXC]] 1.1), then correcting by hand (correctinf takes 1.5 to 2.5 hours in average). All the work was done in five (!) days.
  
Imho, получается что на Cпеке не должно стоять вопросов с качественной графикой - фактически любую картинку можно очень качественно (и быстро) конвертировать в 4-5 цветов.
+
IMHO this shows that there won't be any problem with quality graphics on Spectrum - practically any picture can be converted in 4-5 colours very well (and fast).
  
13 Oct 97
+
=== 13 Oct 97 ===
  
Тут выяснилось, что ЧВ включён в новый каталог Логроса/Nemo (а в каталоге фирмы Скорпион он уже с апреля :), и что люди активно шлют деньги. Хоть я и не давал твёрдых обещаний, но на всякий случай спешу успокоить покупателей насчёт вложенных денег - всё будет о.к., причём относительно скоро ;)
+
As it turned out, BR was included in the new catalogue of [[Logros]]/[[Nemo]] (it's in [[Scorpion]]'s catalogue since April :), and the people send money actively. Although I haven't made strong promises, I'll calm the buyers about their money - everything will be O.K., and relatively soon ;)
  
К концу этой недели будут завершены все 32 уровня. Что останется:
+
By the end of this week all the 32 levels will be made. What remained:
  
    к каждому уровню надо задать массу параметров;
+
* to add a lot of parameters to each level;
    убитые крестьяне пока не заменяются новыми;
+
* murdered peasants don't repair yet;
    хотя все заклинания готовы, маги и колдуны компьютера не умеют пока их применять;
+
* even while all the spells are made, the wizards controlled by the computer still can't use them;
    всё ещё нет работы с диском;
+
* disk procedures are not made yet;
    нет защиты (никак не решу, на каком способе остановится, всё больше мне нравится метод, применяемый в Turn и ZXFormat);
+
* no protection (I can't finally decide what method to use, I prefer the one used in [[The Turn|Turn]] and [[ZX-Format]]);
    Ларьков должен отдать мне пентагон, который никак не приедет с Инлайта;
+
* [[Владимир Ларьков|Larkov]] must return me my Pentagon that stays since [[Enlight]];
    вроде, всё!  
+
* it seems that's all!
  
В завершении я её немного потестирую - на предмет глюков, конечно, проходить не собираюсь - задолбало за год :) Кстати, проходимость некоторых уровней под сомнением, но продвинутый геймер наверняка справится.
+
In the end I'll test it a little - for debugging, I don't plan to win it - I'm tired of playing it for the whole year :) By the way, passability of some levels is uncertain, but a skilled gamer will probably manage it though.
  
Hа вторую часть (миссии на стороне кунгов), наверное, навешу пароль, который сообщу через месяц/полтора после начала продажи.
+
As for the second part (kung missions), maybe I'll add a password there which I'll make public a month or more after the launch.
  
15 Nov 97
+
=== 15 Nov 97 ===
  
Мы с Растером вызвали друг друга на соц. соревнование на предмет: "Кто раньше выйдет - ZXF #7 или ЧВ?" Проигравший отдаёт победителю 1 (одну) банку пы-ыва :)
+
Raster and I started a socialist emulation: "What comes earlier, [[ZX-Format|ZXF]] #7 or BR?" The loser will give a winner 1 (one) can of beer :)
  
ps: c ЧВ финишные проблемы - глобальная нехватка памяти :((( День за днём идёт битва за каждый байт. Hе в смысле оптимизации, а в смысле урезания спрайтов и выбрасывания кусков кода.
+
P.S.: There are problems near the completion of BR - global memory shortage :((( Day after day I fight for every byte. Not in the sense of optimization, but in cutting the sprites and removing pieces of code.
  
Зато уже есть вариант под TR-DOS (в формате FDI) с несколькими уровнями, Finаl-Cut'ами и возможностью отгрузок. Отгрузки получились очень большими (около 20 Кб), поэтому будут вестись на отдельный TR-DOS диск. Предусмотрена работа с двумя дисководами (спасибо эмулятору UKV), причём можно выбирать, какой дисковод подо что использовать. Второй диск - всегда 5.25" (чтобы поцарапать его :), а первый - 3.5/5.25 на вкус покупателя. Как и отгрузочный (тоже любой). Думаю, это нормально, т.к. проведённые опросы не выявили людей, пользующихся только 3.5- дисководами.
+
However there is a TR-DOS version (in [[FDI]] format) with several levels, Finаl Cuts and possibility to save. The saves went very large (around 20K), so they will save on separate TR-DOS disk. Two drives are supported (thanks to [[UKV]] emulator), and you can select what drive you use for what. The second disk is always 5.25" (to make scratches on it :), the first one can be 3.5 or 5.25 as the customer wants. The same for saves (any type, too). I think this is right because polls didn't show people using 3.5" drives only.
  
Как и говорилось, по тех. причинам поддержка GS не была включена в игру, в сетапе поэтому появилась пара новых пунктов - "цветная/нецветная игра" и "выбор диска для отгрузок"
+
As it was said, due to technical problems, [[General Sound|GS]] support was not included in the game, so two new options were added in setup: "colour/monochrome game" and "drive for saves".
  
Сразу после загрузки начинается бесконечный демо-режим для тех трейдеров, кто, по методе Логроса, держит на торговой точке рабочий компьютер. Сам могу смотреть часами, как в деме дерутся :))
+
Once the game is loaded, an infinite demo mode is started for traders who (like [[Lorgos]]) have a working computer at their points of sale. I can watch for hours how they fight in the demo :))
  
Формат второго диска (где уровни) продуман в этот раз таким образом, что он абсолютно не зависит от 1-ого. Поэтому, вполне вероятно появление в дальнейшем дисков с доп. миссиями. Кроме новых уровней заранее предусмотрена возможность изменить графическое оформление ландшафтов, кнопок, музыкальное сопровождение и межуровнёвую графику. Может быть, за выпуск новых миссий возьмутся наши так называемые хакеры, однако к подобной возможности следует относится скептически :))
+
The format of the second disk (that contains levels) was made to not depend on the first one. So, it's possible to make disks with new missions in the future. In addition to new levels the graphics can be changed in landscapes, buttons, pictures between levels, as well as the music. Maybe so-called hackers will make such new missions, although I see this sceptically :))
  
По прежнему нет защиты (некуда разместить), но будет :)
+
No protection again (no place to add it), but it will be there :)
  
23 Nov 97
+
=== 23 Nov 97 ===
  
Руслан Щербатюк> Hикто не слышал - уже a'la War-Craft сделан?
+
Ruslan Scherbatyuk> Does anybody know - is a'la War-Craft complete?
  
Выход (в Питере) назначен на 6 декабря. Запасной вариант - неделей позже. Сейчас идёт авторское бета-тестирование. Пока засел на девятом уровне (за людей) - не могу освободить крестьян.
+
Launch date (in Petersburg) is set at 6th of December. Reserve plan is a week after. Now author's beta-testing is held. I stuck at 9th level (for humans) by now - can't free the peasants.
  
Приятно фактически 100%-е отсутствие глюков - пока обошлись без зависаний. Даже страшный глюк с хождением воинов по лесу и домам обезврежен (вроде бы :)
+
I like to see practically 100% bug free game - no hangs so far. Even the evil bug where soldiers walked on top of the forest and buildings was fixed (is seems :)
  
Руслан Щербатюк> А UFO-3 не собираются делать.
+
Ruslan Scherbatyuk> UFO-3 won't be done.
  
Про это никто не слышал...
+
Nobody knows about that...
  
26 Nov 97
+
=== 26 Nov 97 ===
  
Защита пока не вставлена, но 26 уровней из 32х оттестированы.
+
The protection is not added yet, but 26 levels out of 32 are tested.
  
Двенадцать из них я честно прошёл, остальные, вроде, тоже должны проходиться. Самый тяжёлый уровень (пока) - "Люди #13". Хотел было выкинуть, но с 50-й попытки случайно прошёл :-) Брат свидетель.
+
Twelve of them I passed fairly, the rest seem to be passable too. The most hard level (yet) - "Humans #13". I even wanted to remove it but I suddenly finished it in 50th try :-) My brother can testify.
  
05 Dec 97
+
=== 05 Dec 97 ===
  
Чёрный Ворон HЕ выходит завтра!
+
Black Raven won't launch tomorrow!
  
Hу, во-первых, потому что вышел ZX Format 7. Грех не почитать свежий номер.
+
Firstly because [[ZX-Format]] 7 is out. Why not read the new issue.
  
Во-вторых, возможность этого не исключалась.
+
Secondly, this chance was planned.
  
В-третьих, просто не получилось :( Hеустойчиво читает/пишет отгрузки, защита глючит.
+
Thirdly, it just went wrong :( Disk Reading/writing is unreliable, the protection is buggy.
  
Так всегда бывает, когда что-то из кусков лепится в одну кучу...
+
This happens every time when you stick pieces together...
  
Значит - выход назначается окончательно на 13-е декабря (ну и число, однако. Хорошо, хоть не пятница :)
+
Therefore the final launch date will be 13th of December (what a number. Not a Friday luckily :)
  
В связи с этим - о распространении по другим городам:
+
Because of this - about distribution in other cities:
  
Распространение начнётся неделей позже, чтобы успеть обкатать игру в Питере. Как всегда, этим занимаются Логрос, Зонов, Hемо.
+
The distribution will start a week later to test the game in Petersburg. As always, the distribution is up to [[Logros]], [[Сергей Зонов|Zonov]], [[Nemo]].
  
Со мной можно связаться по тел: (812)- 143-33-03.
+
I can be contacted by phone: (812)- 143-33-03.
  
12 Dec 97
+
=== 12 Dec 97 ===
  
Чёрный Ворон - v1.00.
+
Black Raven - v1.00.
  
Как и предполагалось, завтра первые 30 комплектов поступят в продажу. Это, скорее, бета версия. Уровни за кунгов - под паролем.
+
As planned, the first 30 kits will be on sale tomorrow. This is more like beta version. Kung levels are protected with a password.
  
В течении недели надеюсь получить сообщения о возможных глюках, чтобы при необходимости доработать программу. Поэтому окончательная версия (1.01) выйдет через неделю. Как минимум, по причине того, что не удалось закончить описание и подготовить наклейки/вкладыши/конверты.
+
During a week I hope to receive bug reports, to fix the program if needed. So the final version (1.01) will come a week later. At least because of that I haven't finished the documentation and have to prepare the stickers/inlays/covers.
  
P.S. Может быть, стоило отложить выход ещё на недельку, но - раз обещал... :-)
+
P.S. Maybe it would be better to launch one more week later, but I promised... :-)
  
13 Dec 97 (04:54)
+
=== 13 Dec 97 (04:54 a.m.) ===
  
Алекс Петровский> Когда будет DOOM и Чеpный Воpон - кто знает, люди?
+
Alex Petrovsky> When DOOM and Black Raven will be out - who knows, people?
  
Когда будет Дуум - не знаю, а Чёрный Ворон v1.0 уже существует в течении 10 минут в количестве 34 экземпляра!!!
+
I don't know about Doom but Black Raven v1.0 already exists for 10 minutes in 34 units!!!
  
17 Dec 97
+
=== 17 Dec 97 ===
  
За всё время эксплуатации найден пока один глюк сборки - невидимые поля после отгрузки из чёрных превращаются в белые (лечится входом в setup - пофиксено). Была ложная тревога от члена Омега-групп про неработоспособность лесопилки.
+
For the whole usage time only one bug was found - invisible cells turn white instead of black after saving (repairs after going to setup, fixed). There was a false alarm from a member of [[Omega group]] about sawmill inability.
  
В целом реал-тайм стратегия для спектрумистов, конечно, в новинку. Самые продвинутые добрались только до пятого уровня (и то, подозреваю, добавив себе денег - а на пятом уровне деньги не помогают ;)
+
All in all, realtime stratery is something new for Spectrum users, of course. The most skilled ones could advance to fifth level (I even suppose that they added money, and money doesn't help at fifth level ;)
  
Игра не пошла на новом мегабайтном КАЙ'е (что поделать, ну не везёт мне на КАЙ и всё-тут). Глюк будет пофиксен.
+
The game failed on new [[KAY]] 1024 (what can I do, I'm unlucky with KAY). The bug will be fixed.
  
По просьбам трудящихся пароль со второй части игры будет убран.
+
Because of user requests I'll remove the password from the second part of the game.
  
По просьбе Сергея Зонова будет вариант с двумя дисками под 3,5" - как только будут проведены научные изыскания по методам их царапанья :)
+
As [[Сергей Зонов|Sergey Zonov]] requested, there will be a version with two 3,5" disks - once I fulfill the research how to scratch them :)
  
Соответственно, релизная версия 1.01 выйдет в эту субботу (20-ого декабря).
+
So, the release version 1.01 will come this Saturday (20th of December).
  
22 Dec 97
+
=== 22 Dec 97 ===
  
Вышла. Работоспособность гарантирована. Пожалуй, один глюк пока остался - если вместо отгрузки игры дать игре "левую" информацию - может повиснуть. Мораль: не надо этого делать. Когда-нибудь поправлю...
+
It's out. Workability is guaranteed. Maybe one bug remained - if you give a random data instead of game save it can hang. The moral being - don't do this. I'll fix it some day...
  
Удивительно, что, хотя внутри программа представляет собой "маленький Виндоуз'95", работает без сбоев как часы :)
+
Amazingly, although the program looks like "little Windows'95" inside, it works without incidents, like clockwork :)
  
А в 1.00 грамотные люди (например, Саша из Omega group) дошли аж до 9-ого уровня (!), где пока и сидят. Причём по честному (!), без добавки денег (т.к. если там добавить всего 100 монет - уровень проходится без труда)
+
In 1.00 clever people (for example, Sasha from [[Omega group]]) made it even to 9th level (!) where they still sit. They did it without cheating (!), not added money (because if you just add 100 coins there, the level is completed with ease)
  
По просьбе трудящихся вставлена защита от Теневого Монитора. Защищает она или нет, не могу сказать (не имею Скорпиона), но зато ни Пентагон, ни Скорпион не вешаются при её работе :)
+
Following the requests, protection against [[Scorpion]]'s [[Теневой сервис-монитор|Shadow Monitor]] was added. I don't know if it protects in fact (I don't have Scorpion), but at lest neither [[Pentagon]] nor Scorpion don't hang with it :)
  
Первые 24 комплекта уехали в Ростов-на-Дону.
+
The first 24 kits went to [[Ростов-на-Дону|Rostov-on-Don]].
  
26 Dec 97
+
=== 26 Dec 97 ===
  
Первая приятная новость:
+
The first welcome news:
  
Дмитрий из G-Soft прошёл все 16 уровней за людей (!) в v1.01.
+
Dmitry from [[G-Soft]] finished all the 16 levels for humans (!) in v1.01.
  
По его мнению, наибольшую трудность составило прохождение 15 и 16 уровней из-за наличия демонов и далеко отстоящих шахт. Финальный мультик ему понравился :)
+
In his opinion, the most hard were 15th and 16th levels because of demons and far away goldmines. He enjoyed the final animation :)
  
Hе удивительно, что это именно G-Soft, т.к. они в своё время выпускали WarCraft-demo в ZX-Formate, и поэтому лучше всех "въехали" в ЧВ.
+
G-Soft's success is unsurprising, because they once made [[Warcraft]] demo published in [[ZX-Format]], so they got into BR better than others.
  
01 Jan 98
+
=== 01 Jan 98 ===
  
Владимир Спашко> Чёрные Вороны доехали ноpмально и начали свой путь в наpод :-) Писать о впечатлениях нет смысла- это надо видеть!!! Пеpвые успехи одного из фанатов - 9 уpовней за людей за двое суток с пеpеpывами на сон и еду.
+
[[Владимир Спашко|Vladimir Spashko]]> Black Ravens have arrived and started their way to people :-) There's no need to write about impressions - you must see this!!! The first achievement of one fan - 9 levels for humans in 2 days interrupted with sleeping and eating.
  
Классно!
+
Cool!
  
Сорри, что к тебе ушли версии, где нельзя отгружаться на диск "Б:" :((( Если кого в Ростове-на-Дону это сильно достаёт, потом перепишешь им первый диск теледиском или макдональдом (или я обменяю).
+
Sorry that I sent you versions where you can't save to drive "B:" :((( If anybody in Rostov-on-Don is worried about that, you can copy their first disk with [[Teledisk]] or [[McDonald]] (or I can change).
  
Кстати, про версии:
+
By the way, about the versions:
  
1.00 - тестовая бета-версия. Hа всякий случай я сделал её непроходимой (а то опять хакеры поломали бы и все свои глюки на меня свалили бы :))). Поразительно, что их обменяли всего шесть штук (хотя в инструкции явно сказано о необходимости обмена). Двое дошли аж до 12 уровня - и обломались :((
+
1.00 - beta-version for testing. To be safe I made it impassable (or the hackers will crack it again and pin all the bugs on me :))). That's strange than only six of them were returned (although the instruction clearly said that the game must be changed). Two people made it even to 12th level and failed :((
  
1.01 - релизный вариант, полностью проходимый (если уметь играть ;)
+
1.01 - release version, fully passable (if you can play ;)
  
Поправлено всё, о чём сообщили пользователи.
+
Everything reported by users was fixed.
  
1.01A - а) исправлен глюк с запретом отгрузок на "Б:" (просто долго никто не замечал); б) Талабрук случайно был назван Варлоком (пофиксено).
+
1.01A - a) fixed bug with denied saving to "B:" (nobody spotted it for a long time); b) Talabruk was called Warlock by mistake (fixed).
  
1.01B - а) иногда можно было строить заборы там, где это нельзя (пофиксено); б) G-Soft нашёл глюк, облегчающий разработку заклинаний (пофиксено).
+
1.01B - a) sometimes you could build fences where it is forbidden (fixed); b) [[G-Soft]] founded a bug that made spell research easier (fixed).
  
Все 1.01х помечены как 1.01 (номер версии - в описании). Первые и вторые диски от любых версий 1.01х совместимы между собой. Однако отгрузки - не совместимы (в связи с тем, что в отгрузку входят физические адреса некоторых подпрограмм). Других версий не предвидится.
+
All the 1.01х are marked as 1.01 (the version number is in documentation). The first and second disks of any 1.01х versions are compatible respectively. But the game saves are not compatible (because the save includes physical addresses of some subroutines). No more versions are planned.
  
Игра за кунгов: пока не поступало информации о прошедших её дальше второго уровня. Впрочем, это старая информация. Уровни за кунгов отличаются, на мой взгляд, большим разнообразием - больше мест, где надо подумать.
+
Kung game: nobody yet reported passing it after the second level. This is old information though. Kung levels differ more, in my opinion, there are more places to think.
  
02 Jan 98
+
=== 02 Jan 98 ===
  
Пока все Hовый год отмечали, G-Soft'ы вчетвером за кунгов играли :) Прошли пока до 9-ого уровня. Говорят - трудно. Особо трудным показался уровень 7 ("острова"), хотя выбранный ими вариант прохождения имхо не лучший. Hа мой взгляд, трудными являются также:
+
When everyone celebrated New Year, guys from G-Soft played for kungs, four together :) They got to 9th level yet. Hard, they say. Level 7 ("islands") seemed the most hard, although their method of solving it is not the best IMHO. I think the following levels are tough too:
  
    9й ("объединение войск");
+
* 9th ("joining forces");
    12й (самый трудный из подземных);
+
* 12th (the toughest of underground levels);
    16й (возможно, непроходим).  
+
* 16th (maybe impassable).  
  
Однако продвинутый геймер справится!
+
Advanced gamer will manage it, though!
  
Полезно видеть, что на пути любой игры встают довольно сложные проблемы, ведущие, порой, даже к смене сюжета!
+
That's useful to see that every game faces quite hard problems that sometimes make the author change the plot!
  
А такие вещи, как изготовление видеоролика, конвертация графики или создание аудиоэффектов, уважающий себя гейм-мейкер проходит с лёта, незадумываясь, пусть ранее этого и не делал :)
+
Compared to this, a seasoned gamemaker cope with tasks like making a videoclip, converting graphics and making sound effects with ease, without slowing down, even if he never did this before :)
  
 
Always yours, Vyacheslav Mednonogov.
 
Always yours, Vyacheslav Mednonogov.

Текущая версия на 11:13, 28 января 2015

Epopee by Vyacheslav Mednonogov (ZX-Format #8[1][2])

Part 1

When we hear sometimes that another cool thing for ZX Spectrum was postponed for unknown time we ask - why? Why authors who've set the launch date themselves couldn't make it in time? It is really so hard to write programs? Just learn assembly language and write one kilobyte after another...

I think now you have rare opportunity to understand this yourself. Here I want to present a diary of making one program, collected from messages to ZX.SPECTRUM conference in FIDO. No comments, in purpose. You should know though that not everything that was said more than year ago is still true. What program is it? Guess yourself :)

12 Jul 96

...to be serious, half a year ago there was a Doom-demo from Kharkov.

Now I'm thinking about this idea too. You can't feed people with games like Durak, Buratino and UFO forever. Waiting for Enlight'96 to see works from my competitors. If I see that I can't do better, I better start something like Warcraft.

17 Jul 96

That's how I see Doom on Spectrum:

  1. Screen - 256х64 to 16х64 (width can be adjusted by 16 pixels to make the player comfortable enough with his CPU's frequency).
  2. View angle - 60 degrees.
  3. Texture size - 64х64, 20 base textures, 20 additional ones (additional textures to be kept in high memory, so they will be drawn slower and used rarely).
  4. Maximum scale - 2:1. Two 16K pages for fast scale subroutines from 2:1 to 1:32.
  5. Floor and ceiling are at fixed height, not textured. Walls almost certainly should be at 90 degrees to each other. So, it's more Wolf than Doom.
  6. Enemies are 32х64 sprites (8 top halves 32х32 for any position and 16 low halves to show moving legs). Masked. I plan to rip them from Doom. Maybe someone tells how? If not, I'll draw them myself.
  7. Objects are 32х32 sprites, masked. The same for bullets, projectiles, explosions.

So that's the plan.

One pixel will be drawn in 25 (!) t-states in average. This means the screen, say 128х64, will be 200000 t-states. Add extra work to switch pages, select texture line, move buffer to actual screen etc (around 50 percent overhead as always). My calculations give 12 FPS or so. In short, there's no problem with drawing walls.

There is a problem with adding sprites of characters and objects. Especially how to find quickly, what line of what texture is drawn on given screen vertical line and in what scale. I picked a book on this topic, "Secrets of game programming" published by Piter, and my hair stood on end - four multiplications/divisions per line. There is also a problem how to keep the maze in memory to calculate less on each step, which wall is farther or nearer.

I'll begin, however. Even if it will be very-very slow, the screen width can be always decreased to 16 pixels. And then everything will be very-very fast :))

21 Jul 96

I haven't come up with the story yet, but at a wild guess it will look like this (if we see it as UFO-3):

People gained a lot of technologies after 2017 alien war, they made it to space and built a lot of colonies there (in Solar system or elsewhere). And someday all of this went wrong :(

Player will fly around these colonies (may be 10..1000 of them :) and clear them from evil, saving his ships by the way and destroying enemy ships. In the course of the game he must make scientific investigations, find some access codes, new weapons - I'm used to it :) Finally, he must find the prime cause.

And the cleaning of bases and UFOs will be made with Doom engine. There can be any plot - for example, the remaining aliens have dug in, so you must run though sewerage and underground tunnels :)))))

The main thing is to make it all good-looking and somehow FAST (8 FPS by Western standards, but even 6-7 are OK for me). It won't be boring then.

27 Jul 96

I spent some 3 weeks thinking how to make the Doom. I'm stuck at sprites. If we are close enough, their time to draw (scaling in the first time) is comparable to redrawing the full screen.

We can't keep pre-scaled sprites - even 128K is too little for this. So, I dally off this idea until I obtain sufficient experience or someone helps.

Switch to plan B - UFO-3 à la Warcraft :) I.e. a lot of characters (walking robots this time) fight by themselves, you just give them commands. Maybe I'll add Doom-like part as a sub-level - walking in a maze to find something (without any enemies).

30 Jul 96

Max Iwamoto called me on the phone.

He doesn't recommend start something Doom-like. They drew 128x64 screen for 6 frames (6/50 of a second) - in the best case. 10-12 in the worst. Without any characters! So, down with this Doom :) Until everybody will have turbo mode :))

09 Aug 96

UFO-3. BLACK RAVEN.

Preliminary advertisement.

After many estimates I started making the game. This will be full-scale Warcraft. I'd write the actual Warcraft but, because some G-Soft are making it in St. Petersburg too, I changed the plot. What if G-Soft will finish their version, why we need two Warcrafts? :))

Playfield is 64x64 cells, viewfield is 20x20 CHR$, one cell is 2x2 CHR$, buildings are 4x4 CHR$, the graphics is black and white. And so on...

Launch date unknown (even approximate). I'll try not to lengthen out.

18 Aug 96

Ilya Fomin> Slava, write it, WARCRAFT is RULEZZZ! One of my friends tries this idea for two years but never wrote anything but demo.

There are two big difficulties in the game: ultra-fast (not exactly optimal) routing and computer strategy. Luckily enough, I think myself a big pro in exact two these fields - I know how to deceive people so that everyone will say "how clever is the program" :)

16 Sep 96

Work in progress. Remember, this will be almost WC-1. By the way the "UFO-3" prefix was thrown out, so it will be just "Black Raven" (can't glue aliens to Warcraft :)

I realized at last, how the characters find quite suitable routes so fast. This was the main trouble in the game. I can make it too (or better ;)

Still no idea how to adapt fully mouse-controlled game to keyboard or joystick: the interface will be very different from the original. Just in case, provide yourselves with Kempston mice :)))

28 Sep 96

UFO-2 was a mistake - too many man-hours wasted. Make it simpler, less piling up. If we had a lot of software houses and big competition we'd exert ourselves and tweak the whole game.

Nevertheless, I made more that $200 worth of advance orders for "Black Raven":

Intro and outro demos - $120 - contractor is X-TRADE.

Two tunes - 2х$10 - contractor is Dangerous.

24 colour pictures - 24х20000 roubles - contractor is Denis Barkov.

Of course I could better ask people from Moscow (Scorpiоn Club and KSA) for two latter items, but there is 800 km to Moscow from here :((

08 Nov 96

So how it will look. Viewfield is 24х24 CHR$, monochrome. As Ilya requested there will be background music (although it was not so easy to add having stack-based drawing :)

17 Nov 96

Sprites are drawn with stack-based routine again, and interrupts can occur any time - even when the stack points to sprite image!

Artyom Kharitonov> And when it comes, the sprite writhes as in hell :)))

The thing is, the sprite remains live and untouched.

Briefly, how it's done (in case that the interrupt service routine has its own stack):

Method "A" (suggested by Stalker, for example): keep copies of all sprites in memory, and if an interrupt occurs, look if the stack was on sprite image. If so, restore the broken part of the sprite (2 bytes) from its copy. Drawback: you have to double the memory used for sprites.

Method "B" (mine): write all the sprite drawing procedures so that they read words from sprite image into certain register pair (POP DE for example). In this case, if an interrupt occurs, the two broken bytes are guaranteed to be in DE. The rest is simple. And no copies.

Of course, this is not important for Dizzy-like games - they have so few moving sprites so they can can be drawn ten times in one frame. However this is very useful for Dunes, Dooms, and Warcrafts :)))

22 Nov 96

It seems the little men will be already running tomorrow, without any purpose though :)

Difficulties in Black Raven came from unexpected side. I gave the original tracks from Warcraft to Dangerous to remake them for Spectrum, and he said that this set of noises is not to be remade. Here you are, professional musicians :(

03 Dec 96

At least the version with General Sound (if it will be) will load all the songs and samples third disk that will be fully made and distributed by X-Trade.

19 Dec 96

Sergey Novikov> How's the crow?

Goes by itself :))

Approximate launch date may be given - in February (that means April :). The funny thing is, the most hard parts are initially written in C on PC, then I rewrite them in assembly language (by hand, of course). So it appears faster and more reliable. The next time I plan to write the full game on IBM, then port it to ZX :))

There are a lot of things done already, but that's little for playable demo - they can only walk, not fight. I wonder how fast it will be, because 96 characters can be processed in the same time (however there will be less in average - 15-20 in the first levels to 50-60 in the end).

Scrolling turned out to be fast - a lot faster than it was in UFO1/2, because the graphics is flat and all the moves stop while scrolling (that was not before). The water is animated (switchable, but doesn't affect drawing time).

Routing seems fast too, although far from optimal. However it searches fairly what side of the obstacle to pass around. Average time is no more than 5000-15000 t-states. It won't affect game speed because it is called rarely.

Game map is not always on screen but appears by keystroke. Maybe not that good but all the objects are clearly visible, shown with 3х3 pixel sprites. Of course the redrawing speed is not so high because of this. The user couldn't see this though because the map will redraw once per 4-5 game iterations.

All the buttons at the control panel have their hotkeys for those who has no mouse :) Half of the keyboard is used for this (joking).

The enemies are called kungs, not orcs.

21 Dec 96

Sergey Novikov> ...kangs :) Couldn't you invent something better?

You are late, my friend... You should guess yourself, invent yourself, and mail it to me yourself... Now they are called this way in the announcement :))))

If you had known how the others are called... Ж-[]

ps: kangs aren't bad too, I had to thought of that :))

pps: I worried about the arrow for a long time. The arrow is a challenge because screen update is not synchnized with interrupts. First I wanted to make as in my previous games - to redraw the cursor when screen updates. However the time to recalculate BR game state may vary badly, so the arrow would move with different speed in levels with different complexity (I even added adjustable cursor speed, that's terrible). Recently I found how to draw the cursor on interrupts irrespective to screen redraw at that moment.

And this whole trouble was because of people not having mice :)))

17 Jan 97

By the way, the demo of BR for ZXF #6 is ready - you can take it - following the traditions I kept a lot of bugs in it (joke).

2All: There are no enemies, you can't fight, you can't build/produce/mine, I put around 20 people there what is funny itself (they walk stupidly sometimes but always make it to their target). The map is present, invisible cells can open. Surprisingly all of that isn't so slow - equal to FAST speed in Warcraft 1 (it's even cooler on computers with turbo mode). In short, that's OK for an unplayable demo. Full version is guaranteed to slow down no more than by 5-10%. That's certain that the next game will be "Black Raven - 2" - an attempt to squeeze Warcraft 2 in 128 (maybe 256?) KB.

30 Jan 97

About "Black Raven":

The work is at the final stage - the end is near.

In short, number of characters on screen affects the speed strongly - every character/explosion/projectile etc slows it down by 1-1.5%. So in the given case everything is 1.5-2 times slower (I hope that situation will be rare in actual game :) Characters are selected with CAPS. If you hold it you can select characters within the frame (as in Art Studio). Selected characters are outlined. You can group up to 6 people. Using SYM you can add or remove a character in the group.

Logic calculations grow weakly with adding more characters in game - no more than 1% slowdown for ten characters. I feared mostly because of obstacle rounding procedure (that can be up to 15000 t-states depending of the obstacle size) but the tests have shown that even for such a big group it is called once per 4 frames in average (it looks very funny if you send them all somewhere - like a caravan :))

26 Feb 97

Dmitry Fedotov> I was told that Scorpion has Black Raven game on 2 disks.

No, they just made new catalogue (in colour!!!) of Spectrum games and added an announcement about BR in advance. But in the end there is a postscript - launch date is March to April.

Dmitry Fedotov> for 6 USD - this means it's ready??? Please, elaborate.

As for the price, I think, in St. Petersburg it will be 30000 roubles exactly.

The last week I was occupied with making animations, and possibly the following week too. According to the plan, the first disk should contain the intro part, that consists of 16 frames of 14х18 CHR$ size. And two final animations of 48 frames of the same size. So that is ZX-multimedia :)) Little more than half of it is ready. I suppose, everybody will enjoy it :)) [I like it very much]

02 Mar 97

The static part of sequence converts to Spectrum slightly different in every frame (maybe you remember Welcome Press #1, it can be seen there) - it needs a lot of correction by hand. So I move the background in most scenes (a lot smoother than the rest though).

I've chosen this frame size to keep 8 frames per page. 14х18 is good to move it to screen with simple LDIRs without "tearing" (I'm not a demo maker, you know :))

05 Mar 97

All the animations, including two final ones, are made (it remained only to stick it all together). The most disgusting is the scene with creeping spiders - it gives the shivers...

01 Apr 97

GS support for BR will be made by Stinger (A. Ageev).

11 Apr 97

Especially nowadays, when user demands to makers arise. This strongly applies to real-time strategy. I don't know what is inside "Dune 2" and "WC" for Spectrum, but Black Raven is written in truly object oriented level, I dare to say :)) When one object acts onto another, this generally does not involve immediate effect but generates a sign of the event. Only when the target object is in turn, it recognizes the received impact and processes it.

This is very handy to debug single subroutines, this sets all the characters in equal conditions, this doesn't overload the program with many actions. However, this is troublesome when you debug interfaces between blocks (that's hard to find the source of the bug).

11 Apr 97

Black Raven - demo v0.02

Demo in .Z80 format.

Music by JAM from Moscow region.

To have some fun, select the Wizard and press "scorpions" button. Then send them somewhere. Remember scattering cockroaches when you switch the light on in the kitchen at night? :)))

19 Apr 97

Dangerous>> The biggest bug in the world: Mednonogov wants to make music for Black Raven as a supplement on 3rd disk!!!

Sergey Novikov> A novel trick. People will pay for a 3 disk game more than for a 2 disk game.

The game will be distributed on 2 disks. Tunes and sounds are completely up to Dangerous (X-Trade), and he decides how to distribute them (I'd post them in fileecho or BBS with pleasure). I doubt anybody remembers that GS was scheduled even before UFO-2, and they spoke about support even then (!). By the way, we had an agreement with X-Trade about making an elaborate demo for BR and they haven't made it. I don't want to burn my fingers for the third time.

The sound support will load once at the start of the game, and will be called from the game (if X-Trade won't forget their promise to supply bug-free GS support subroutines :))

21 Apr 97

Almost 500 KB on the first disk is taken by video.

Alex Letaev> Packed or not?

476 when packed, 794 when unpacked. However, if there will remain enough space on the second disk, I'll move two final animations there.

21 Apr 97

"Rounding the obstacles" - in UFO-1 it was quite wretched - the hero got stuck at every post. And the aliens simply moved around in pseudorandom directions - ofcourse they came somewhere sometimes :) [Brownian motion effect]

Routing in UFO-2 was described in a big article in ZXF #6 (with example in Basic :) Lee algorithm was used there.

Routing in BR... I can describe it in simple words. A character walks in the line of the target. He bumps into an obstacle, he inspects its outline clockwise and counter-clockwise, finds a spot on the outline which is the closest to the target and decides how to reach it faster - clockwise or counter-clockwise. He rounds the obstacle and continues the movement towards the target. And so with all the obstacles, until he reaches the target.

Theoretically it would be better to remember the route to optimize it (make it smoother), but Spectrum has too few memory. Because of that I store only the direction of bypassing the obstacle and the length of the bypass, one byte is enough for this. Practically this is disturbed by other moving objects. Although it works somehow (see the demo).

08 May 97

IMHO recently the coolest things for ZX are made with the help of IBM/Amiga. Sometimes almost without using actual Spectrum :)) Just with emulators. For example, STEP group does so for a long time (using UKV 1.2)

Indeed, if a hereditary musician LAV writes his tunes using modest sound of Shalaev's emulator, forgetting the delights of real AY.

Alexander Lebedev> Slava, when will you start to code for IBM? :)

The first step is already done - I bought a book "Secrets of game programming for WINDOWS 95" :))

Part 2

16 May 97

Black Raven - the last hurdle.

Work with BR slowed down a little. The cause the need to detect nearby enemies for each character. Especially in the case of computer AI, whose soldiers see quite far (how else you can do an AI? :) I tried to solve this in straightforward way (check all agaist all) but in vain. I hope the task can be solved. I wonder how the developers of Dune 2 did this (or they stuck here too?).

18 May 97

With the rules of Black Raven seeing a big sector is a fair game, because human player is able to see the whole open part of the map. I'd let this to the computer, too, but:

  • processing all this information is too much for little Speccy;
  • even it I obtain this information I hardly can find decent rules to use it (this reminds me the same problem in Durak where in "card-sharper" mode the computer knows all the cards in the deck and the hands but can't really use this great information :))

On the other hand, to have the game absolutely fair, the computer must be all like human - have its own map of visible space, send scouts to see more. This would make the program a lot "fatter".

Yuri Matveev> If the problem is to find the closest object to fight - use the usual method of spiral scanning until you hit the enemy. Then attack.

This method is not very good too. Even if you limit the radius of the spiral (N), the number of cells to see will be = (2*N+1)^2, that is very long time for computer's soldiers that have quite a big N, while the game is real-time. Even for our soldiers the N is 2..4 in average.

We need to hope that the task can be solved.

Yuri Matveev> Of course :) Look at warcrafts, dunes, and all the commands-and-conquers :)

Well, having 133 MHz, I'd make it in straightforward way and in Basic :))

21 May 97

If I decided right, in a regular game all the enemy soldiers must have visibility range a litle more than the Sight of catapult, for them to react to its approaching in advance. The rule is simple but it should be made - or a few slow catapults of the player will break everything in pieces. That's the whole trouble :((

Sergey Novikov> Well, we wait at the barrack to accumulate 4 units, then go fighting. 9 is even better - the computer will play very strong then - not anyone can deal with 9 units on once!

I haven't got so far, but in WC1 there was a special place (of places) to gather. That looked beter than in WC2, where the squad started from the barrack, but there was a vulnerable point - you can intercept enemy units while they walk from the barrack to the gathering place by one.

Sergey Novikov> Additional mode can be added - for computers with turbo mode ONLY - where the computer will think better, and more effects can be added (animations in game).

Well, just a little more than 4K remained, you can't get much going :(( Not even effects and animations - I think of removing the music (5K, after all). GS effects can also be fired, and game saves, some functions like building fences and roads. Troubles everywhere :(

21 May 97

Unlike UFO-1/2, a direction in BR is purely formal. A unit can turn in 180 degrees at once that is not as realistic. On the other hand, that makes sense because if you stand the units wrong in the line of defense you can lose a lot of health (because of time to turn around). Rotating your soldiers when you stand them in position will be unhandy, and you should look afer them, do they face the right way. Because of that, they have circular sight.

21 May 97

Dmitry Grigoryev> So let them stay and scan. With a ray - you can scan the whole map. After, say, 10 iterations all the directions will be scanned. If they find anybody, let them chase him.

Why 10? Maybe more? :)

I understand the idea - partial scan on every iteration. I think to do this, too, if I won't come with anything better. However I'd better divide all the soldiers in groups and at every iteration I'll work with just one group. This will worsen the reaction though :((

26 May 97

To see the full picture, here's the method suggested by Nickolay Mezencef.

(It was about scanning the map by each character of a real-time strategy, to find a target.)

"Why can't we, instead of scanning cells, check the coordinates of enemy objects. I don't think this will take more than one frame even with the maximum number of objects at both sides. If reaction time is 1 second (I mean the objects act once per second), such checking will take infinitely small resourses."

This poses a question what is better: scan the surrounding cells indeed or check the coordinates of all the enemy objects. The first method was discussed thoroughly, unlike the second. Nickolay proposes the second method with the following optimization:

"This can be optimized even further: if an object moves, it itself informs enemy objects about its coming in their range of view. In this case, if there was no move, the scanning is not needed at all."

Very (IMHO) good solution - all the work in fact will be held with moving characters. A little odd, i.e. not the units standing in defense will scan the area, but moving enemies will signal them about their approaching. It is known that most of time the sides gather their forces and don't move. I can mention just one downside of this method: all these calculations should be done with peasants/peons, who always move. There are not a few of them (usually 15-25% of total population).

Rescanning can be required in some other cases (a character killed an enemy and must search for another victim; enemies moving in attack can additionally scan the area to not miss player's soldiers that move in enemy's rear, although this was not done in WC2). But all of this is really nothing :)

To sensibly close the topic I'll describe the method that I've chosen finally.

All the map is divided in squares (in the case of BR, 8x8 cell squares appeared the most suitable). Each of these squares keeps a list of enemy units that reside there. If a square contains no enemies, the list is empty.

Scanning for each player's soldier is checking 9 squares (8 adjacent squares and his own square). If enemies were found in a square, the coordinates are checked to find if an enemy is close enough.

The same procedure is held with enemy soldiers.

The idea is based on the fact that most of the time all the characters of confronting sides reside very far from each other, so the lists in scanned squares will be mostly empty.

As an alternative, we can use 4x4 squares but in this case all characters having Sight>4 would scan 25 squares instead of 9 :(

A little difficulty is in making lists but this is just a small technical task :))

12 Jun 97

Now I can promise firmly - Black Raven will be no dumber than Warcraft :))

13 Jun 97

Unit descriptor at Spectrum will fit in 20 bytes with ease (even 19), unlike, for example, UFO-2, where 32 bytes were needed. 2K given is enough for 102 characters.

Trying to copy WC2 seems to be indeed hard though, because for 128х128 map (instead of 64х64 in WC1) 32К is needed (with 2 bytes per cell).

In this case the map + characters data + bullet/spell data + buildings data + most of variables + 6К shadow screen must always reside in the memory accessible from all the pages, i.e. #4000 to #C000, that is just 32К :((

So, if WC2 will be on Spectrum, it will have smaller map (80х80 or 128х64) and work on 256K computers only (even without flying characters unless cell descriptor will be 3 bytes instead of 2).

21 Jun 97

Well, the memory problem seems solved (yet :). Sprites of three less used characters were cut down (this means their sprites facing right are made from left-facing sprites in realtime. This was done using tables in ~3000 t-states) - demon, walleater, bonebreaker. This gave additional 2.5K - this must be enough for the most sophisticated AI :))

It seems the game will have 3 levels of difficulty:

  • normal (as in WC1), without a couple or three last levels;
  • hard (more clever enemy + harder rules);
  • very hard (the same as 2 but without saves in game).

The main rating of player's acting will be the time of passing the levels and the game in total - IMHO that's fair.

I haven't got close to the AI yet but I managed to clear almost all the bugs and finish everything unfinished :) This includes the system of alarm indicators (at bottom right corner) that signal the attack, finishing the building/production, destroying buildings etc.

24 Jun 97

Spectrum graphics takes 8 times less than on PC; 2-4 times less phases showing movement or attack, less landscape sprites - in short, everything fits in ~80K.

Misha Turnovsky> To have a normal strategy you need 1000-1500 characters IMHO.

That's too many. In WC1, a number of units on human side is usually no more than 30-35, on computer's side - 50-60 (in final levels). In WC2 this number is 1.5-2 times bigger (among other things, this is because of that computer's game is based on defense). Spectrum can do this easily (as measured at 3.5 MHz, it is between FAST and FASTER in WC1, and at 7 MHz - well... :))

26 Jun 97

Denis Parinov> How many levels there will be?

For now I think of 12 for either side (12+12). Although I suspect for some reason that there will be more. There are four landscapes so far - winter forest, regular forest, empty land, and underground (for special levels if you remember WC1). Maybe there will be two more - mountains (instead of rivers) and black forest (black land, fire rivers). In BR-2 (if it will be) I plan more landscapes: city, a port with ships.

01 Jul 97

Today I finished the last spell - enemy tornadoes, looking more like nazi swastikas - couldn't invent anything better :)

01 Jul 97

The biggest problem for Speccy in the future will be the absence of empty 5,25" disks in sale!!! This is even more frightening than evil hackers :))

01 Jul 97

In BR the computer will act according to the following plan:

  • units will be divided in "constant" and "additional" staff;
  • constant staff - units that were on the map in the beginning - guards and peasants. Peasants are divided in advance into those who mine gold or forest and maybe repairers. New peasants appear only in case of their death. Guards won't restore if dead (under normal difficulty), or will restore (hard difficulty);
  • additional staff appears in the course of the game (when resources are collected or certain time passed or ...) and form attack squads. After gathering a certain number of additional units all they set off to the campaign (the target is usually "town-hall" but not always).

Each enemy unit has a special field in its descriptor that shows what he does (for example, in case of wizard it shows the type of spell he specializes in). Another field shows what he is actually doing now. The computer doesn't process this unit until this field is 0 (not 0 means the task is in process). Once the task is done or interrupted by external forces, the computer tries to "find job" for the unit taking into account his professional abilities. The guards are an exception (they find their job themselves, scanning around), as well as additional units until they gathered in number sufficient for a campaign.

Something like this. Variants are possible though...

10 Aug 97

John Stunner> How's the BR?

Lives its mysterious life. You know, it's summer, there is 25°С in Petersburg :) So, the last month it goes somehow weak :(

15 Aug 97

Black Raven - Demo v0.04

Well, that's it, in .Z80 format. As planned, this is the last demo version, only the full game can follow...

One hypothetical level, not so complicated (no magic, no catapults; enemies are not so clever, not idiots though). Allegedly passable. If you win, shows "Well Done", or "R.I.P." otherwise.

That's symbolistic, I started working on BR precisely one year ago...

Special for Еnlight'97! ;)

P.S.: Warning, if you play without mouse, you'll have hand paralysis in 30 minutes! Ж-)

30 Aug 97

Alex Koval'> I made it! Yes! I got it through! I finished that demo!!! In the end there is WELL DONE in attibutes.

Exactly!!!

Alex Koval'> Cool! If it will the the last level you can keep the logic.

In fact, it was the first ;)

My brother couldn't finish it :( While he said he'd be my beta tester. Here they are, PC Warcraft lovers :))

04 Sep 97

About BR: in the last days I heavily improved the router according to reported bugs:

  • enemy soldiers are counted passable, so if you block a bridge or some other narrow place with your soldiers, it won't be impassable for the enemy (as it was in the demo);
  • moving soldiers are counter passable, too, this makes possible to go in big groups through narrow passages without dissolving the squad. With extra gimmicks I succeeded in 100% passability of groups;
  • twisting happens no more (when a soldier walks for a long time around an empty spot);
  • a lot better exit from narrow dead-end passages.

In addition, as people asked:

  • to attack your own soldier, you need to press a special button. This excludes the possibility to kill your soldier by chance in the heat of fight. Target fixation was added - if you have chosen a target, you can't select another by chance until you release SPACE. The cursor blinks when a target is selected;
  • it's forbidden to build on stone roads and paths,so you can't build an impassable roadblock with your buildings (as it was possible in the demo). The same holds with fences (in levels where you can build them);
  • other little things.

Maybe in the weekend I'll finish the strategy code (at last ;) and I'll start making levels.

11 Sep 97

Denis Dmitriev> I don't understand why the group is no more than 6 soldiers?

I don't know myself... However, if you select a group and click on "G" icon, on the shield below you'll see all the members of the group shown - without parameters though.

13 Sep 97

Paul Falcon> How it will go between levels?

Once you completed the mission (usually "kill them all"), you progress to the next level.

P.S.: I just remembered that graphic artist (D. Barkov) supplied 10 level pictures only and ran away to PC :( I had to made 22 more in fast pace (then it became clear than there will be 16+16 levels in total :)

Following the requests from the users I made all the graphics in colour.

Interesting thing was that scanning then colouring appeared less productive than converting in colour (with ZXC 1.1), then correcting by hand (correctinf takes 1.5 to 2.5 hours in average). All the work was done in five (!) days.

IMHO this shows that there won't be any problem with quality graphics on Spectrum - practically any picture can be converted in 4-5 colours very well (and fast).

13 Oct 97

As it turned out, BR was included in the new catalogue of Logros/Nemo (it's in Scorpion's catalogue since April :), and the people send money actively. Although I haven't made strong promises, I'll calm the buyers about their money - everything will be O.K., and relatively soon ;)

By the end of this week all the 32 levels will be made. What remained:

  • to add a lot of parameters to each level;
  • murdered peasants don't repair yet;
  • even while all the spells are made, the wizards controlled by the computer still can't use them;
  • disk procedures are not made yet;
  • no protection (I can't finally decide what method to use, I prefer the one used in Turn and ZX-Format);
  • Larkov must return me my Pentagon that stays since Enlight;
  • it seems that's all!

In the end I'll test it a little - for debugging, I don't plan to win it - I'm tired of playing it for the whole year :) By the way, passability of some levels is uncertain, but a skilled gamer will probably manage it though.

As for the second part (kung missions), maybe I'll add a password there which I'll make public a month or more after the launch.

15 Nov 97

Raster and I started a socialist emulation: "What comes earlier, ZXF #7 or BR?" The loser will give a winner 1 (one) can of beer :)

P.S.: There are problems near the completion of BR - global memory shortage :((( Day after day I fight for every byte. Not in the sense of optimization, but in cutting the sprites and removing pieces of code.

However there is a TR-DOS version (in FDI format) with several levels, Finаl Cuts and possibility to save. The saves went very large (around 20K), so they will save on separate TR-DOS disk. Two drives are supported (thanks to UKV emulator), and you can select what drive you use for what. The second disk is always 5.25" (to make scratches on it :), the first one can be 3.5 or 5.25 as the customer wants. The same for saves (any type, too). I think this is right because polls didn't show people using 3.5" drives only.

As it was said, due to technical problems, GS support was not included in the game, so two new options were added in setup: "colour/monochrome game" and "drive for saves".

Once the game is loaded, an infinite demo mode is started for traders who (like Lorgos) have a working computer at their points of sale. I can watch for hours how they fight in the demo :))

The format of the second disk (that contains levels) was made to not depend on the first one. So, it's possible to make disks with new missions in the future. In addition to new levels the graphics can be changed in landscapes, buttons, pictures between levels, as well as the music. Maybe so-called hackers will make such new missions, although I see this sceptically :))

No protection again (no place to add it), but it will be there :)

23 Nov 97

Ruslan Scherbatyuk> Does anybody know - is a'la War-Craft complete?

Launch date (in Petersburg) is set at 6th of December. Reserve plan is a week after. Now author's beta-testing is held. I stuck at 9th level (for humans) by now - can't free the peasants.

I like to see practically 100% bug free game - no hangs so far. Even the evil bug where soldiers walked on top of the forest and buildings was fixed (is seems :)

Ruslan Scherbatyuk> UFO-3 won't be done.

Nobody knows about that...

26 Nov 97

The protection is not added yet, but 26 levels out of 32 are tested.

Twelve of them I passed fairly, the rest seem to be passable too. The most hard level (yet) - "Humans #13". I even wanted to remove it but I suddenly finished it in 50th try :-) My brother can testify.

05 Dec 97

Black Raven won't launch tomorrow!

Firstly because ZX-Format 7 is out. Why not read the new issue.

Secondly, this chance was planned.

Thirdly, it just went wrong :( Disk Reading/writing is unreliable, the protection is buggy.

This happens every time when you stick pieces together...

Therefore the final launch date will be 13th of December (what a number. Not a Friday luckily :)

Because of this - about distribution in other cities:

The distribution will start a week later to test the game in Petersburg. As always, the distribution is up to Logros, Zonov, Nemo.

I can be contacted by phone: (812)- 143-33-03.

12 Dec 97

Black Raven - v1.00.

As planned, the first 30 kits will be on sale tomorrow. This is more like beta version. Kung levels are protected with a password.

During a week I hope to receive bug reports, to fix the program if needed. So the final version (1.01) will come a week later. At least because of that I haven't finished the documentation and have to prepare the stickers/inlays/covers.

P.S. Maybe it would be better to launch one more week later, but I promised... :-)

13 Dec 97 (04:54 a.m.)

Alex Petrovsky> When DOOM and Black Raven will be out - who knows, people?

I don't know about Doom but Black Raven v1.0 already exists for 10 minutes in 34 units!!!

17 Dec 97

For the whole usage time only one bug was found - invisible cells turn white instead of black after saving (repairs after going to setup, fixed). There was a false alarm from a member of Omega group about sawmill inability.

All in all, realtime stratery is something new for Spectrum users, of course. The most skilled ones could advance to fifth level (I even suppose that they added money, and money doesn't help at fifth level ;)

The game failed on new KAY 1024 (what can I do, I'm unlucky with KAY). The bug will be fixed.

Because of user requests I'll remove the password from the second part of the game.

As Sergey Zonov requested, there will be a version with two 3,5" disks - once I fulfill the research how to scratch them :)

So, the release version 1.01 will come this Saturday (20th of December).

22 Dec 97

It's out. Workability is guaranteed. Maybe one bug remained - if you give a random data instead of game save it can hang. The moral being - don't do this. I'll fix it some day...

Amazingly, although the program looks like "little Windows'95" inside, it works without incidents, like clockwork :)

In 1.00 clever people (for example, Sasha from Omega group) made it even to 9th level (!) where they still sit. They did it without cheating (!), not added money (because if you just add 100 coins there, the level is completed with ease)

Following the requests, protection against Scorpion's Shadow Monitor was added. I don't know if it protects in fact (I don't have Scorpion), but at lest neither Pentagon nor Scorpion don't hang with it :)

The first 24 kits went to Rostov-on-Don.

26 Dec 97

The first welcome news:

Dmitry from G-Soft finished all the 16 levels for humans (!) in v1.01.

In his opinion, the most hard were 15th and 16th levels because of demons and far away goldmines. He enjoyed the final animation :)

G-Soft's success is unsurprising, because they once made Warcraft demo published in ZX-Format, so they got into BR better than others.

01 Jan 98

Vladimir Spashko> Black Ravens have arrived and started their way to people :-) There's no need to write about impressions - you must see this!!! The first achievement of one fan - 9 levels for humans in 2 days interrupted with sleeping and eating.

Cool!

Sorry that I sent you versions where you can't save to drive "B:" :((( If anybody in Rostov-on-Don is worried about that, you can copy their first disk with Teledisk or McDonald (or I can change).

By the way, about the versions:

1.00 - beta-version for testing. To be safe I made it impassable (or the hackers will crack it again and pin all the bugs on me :))). That's strange than only six of them were returned (although the instruction clearly said that the game must be changed). Two people made it even to 12th level and failed :((

1.01 - release version, fully passable (if you can play ;)

Everything reported by users was fixed.

1.01A - a) fixed bug with denied saving to "B:" (nobody spotted it for a long time); b) Talabruk was called Warlock by mistake (fixed).

1.01B - a) sometimes you could build fences where it is forbidden (fixed); b) G-Soft founded a bug that made spell research easier (fixed).

All the 1.01х are marked as 1.01 (the version number is in documentation). The first and second disks of any 1.01х versions are compatible respectively. But the game saves are not compatible (because the save includes physical addresses of some subroutines). No more versions are planned.

Kung game: nobody yet reported passing it after the second level. This is old information though. Kung levels differ more, in my opinion, there are more places to think.

02 Jan 98

When everyone celebrated New Year, guys from G-Soft played for kungs, four together :) They got to 9th level yet. Hard, they say. Level 7 ("islands") seemed the most hard, although their method of solving it is not the best IMHO. I think the following levels are tough too:

  • 9th ("joining forces");
  • 12th (the toughest of underground levels);
  • 16th (maybe impassable).

Advanced gamer will manage it, though!

That's useful to see that every game faces quite hard problems that sometimes make the author change the plot!

Compared to this, a seasoned gamemaker cope with tasks like making a videoclip, converting graphics and making sound effects with ease, without slowing down, even if he never did this before :)

Always yours, Vyacheslav Mednonogov.