Current time: 23.03.2024, 05:01 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Questions and Answers
Author Message
Valery Offline

Posts: 2196
Post: #226

Is there any way to add a new interface dialog where you have to choose between 7 boxes filled with custom pics?

Or at least to modify a standard dialog as:

!#VRz1:S^1^;
!#VRz2:S^2^;
!#VRz3:S^3^;
!#VRz4:S^4^;
!#VRz5:S^5^;
!#VRz6:S^6^;
!#VRz7:S^7^;
!#VRz8:S^8^;
!#VRz9:S^9^;
!#VRz10:S^A^;
!#VRz11:S^B^;
!#VRz12:S^C^;
!#VRz25:S^Choose:^;
!#IF:G0/100/4095/25/1/2/3/4/5/6/7/8/9/10/11/12;
!#IF:M^Your choice is: %V100^;

to store in z1-z12 a pic not larger than a letter and show it instead text?
Like !#VRz1:S^..\data\1st letter.BMP^;
(This post was last modified: 15.10.2009 13:53 by Valery.)
15.10.2009 13:43
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #227

No way for 3.58f (((


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
15.10.2009 17:13
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #228

Ah thats too bad. I am working on a Stargate Atlantis mod and I need the player to select 7 symbols from this list to activate the gate:
Image: 730571symbolsuper.gif

Any ideas how could I achieve this with the actual WoG?

I also have another question about animating a static object. I animated this stargate in two ways (I did several stargates models but was no happy with them, so this is the best I could): first was to create a filter and contract the water circle+frame/save, the second was to create a new frame with color increments and return progressively to normal. I tried all toll from net to create a water animation but they were not good, I thoujght I could do this with white little stars, like in animated artefacts, but could not find a good tool for that. Any has idea how to?
Image: 110d.gif
There are 14 different frames inside (+13 frames return to normal color) but it does not give much effect (it animates but it is not noticeable)...here is the look of both models on map->not animated gif!:
Image: iof.png

The player would need to type 7 symbols from the list in the DHD (the little object) and activate the gate. So far I have no idea how to do this.

Preview of minimaps, 9 planets to explore, each one with custom technological level and layout (good way to use various objects and custom characters)
Image: under.pngImage: surfaceokhz.png

Any advice will be appreciated.
(This post was last modified: 16.10.2009 20:08 by Valery.)
15.10.2009 19:05
Find all posts by this user Quote this message in a reply
GrayFace Offline
Forum Moderators

Posts: 1233
Post: #229

(15.10.2009 19:05)Valery Wrote:  I am working on a Stargate Atlantis mod and I need the player to select 7 symbols from this list to activate the gate:
I think the easiest way is to create an area on map where these symbols would be placed as 2 or more defs and place something on them when player clicks them.
16.10.2009 19:49
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #230

Good idea, but how to place something on another object?! If there is already an objects (def) I will get error.

I could do it like:

Player clicks on x symbol (object), the click position is stored, and if the position is valid in the list then give next choice to click. If the object is not valid in the 7 symbols list then close the dialog and tell "gate did not recognize the command". My idea was to give a few "symbols" list as there are 9x7 possibilities to activate. Still, the fonts are different and not recognized by Heroes so he will have to write them down on a paper, as I can't bring the list in a dialog. Not sure I am clear, but if you saw the movie, you know what I mean.

@Edit: I got the solution: create for each 7 symbols a bmp, and bring the bmp every time (if correct) the player clicks on a symbol so he can see the next to click without writing down.
(This post was last modified: 16.10.2009 20:06 by Valery.)
16.10.2009 20:04
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #231

maybe you can make address input with !!DL

and how do you want to make 9 planets? will be this one map or a set of maps, that will dynamically uploading into the memory?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
16.10.2009 21:22
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #232

(16.10.2009 21:22)gamecreator Wrote:  a set of maps, that will dynamically uploading into the memory?

Nah, I am a noob at programming, but have many ideas

Image: surfaceokhz.png

Very easy. You see the minimap, there are 9 planets. When the player pass the stargate, he is teleported on a specific planet (depends the code he entered in the DHD) and cursed to blinding while all other planets are covered by fog of war. So, being cursed to blinding , he can't "walk" past the current fog of war, but explore the current planet only (I open the view with !!UN:S)

Example (map is not started yet, only layout, for now I am still working on graphics)
Image: image2mg.jpg

Player explore THIS planet. All others are hidden. The curse will be gone when he takes back the stargate. I can't find DL receiver in my ERM, what is it?

PS: my flying boatSm
(This post was last modified: 16.10.2009 22:35 by Valery.)
16.10.2009 22:19
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #233

!!DL is the new TE and, afair, Era receiver. it allow you to create non-typical dialog (such as hero view, spell book view etc.)


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
16.10.2009 22:59
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #234

I see. I have only 3.58 atm.

Here is Grayface idea and looks good, thank you, a new def for each symbol, 64x64, at 32x32 it was less than one square sometimes and difficult to click right on. Now I have to integrate CM in 9 functions, argh.
Image: image2ei.jpg

Any ideas how to associate a custom sound to right clicking for this unique situation?
(This post was last modified: 16.10.2009 23:22 by Valery.)
16.10.2009 23:18
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #235

Yeeeh SW vs Heroes xD cool!


Image: 0_38e1a_676166ca_L.jpg
17.10.2009 00:20
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #236

SN:S^filenameInData.wav^;
SN:P; play sound


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
17.10.2009 09:38
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #237

lol that was easy, sorry for my question. Didn't think the standard will work. Thanks
17.10.2009 14:26
Find all posts by this user Quote this message in a reply
GrayFace Offline
Forum Moderators

Posts: 1233
Post: #238

I've got an idea. Cover the selected symbols with Uncharted Territory.
18.10.2009 20:24
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #239

What do you mean?
I created them as 32x32 defs then I place them on rock (black) 10x10 terrain and I open a small 7x7 area view when have to select, so the player see ONLY the symbols and can click on them. After he do the code, the symbols are covered again with fog of war.

Image: image2el.jpg

There are two gates, one desactivated and one activated. Both defs replaced monolith exit/entrance to be able to place them with UN:I.
When player did the right code, the inactive gate is replaced with the active one (refresh screen), and the player can pass through. After that, the gate is again replaced with the inactive one.
Image: image2za.jpg

One thing moreSm
My "flying boat" (thanks to illusion created by shadows)
Image: 87344810.gif

I created also a special "water" terrain, so no more beach on swamp/sand, it is passable and anything can be placed under it and accessible by heros.
I need it to place Atlantis city on water, but being accessible by walking in.
For now only 192x128 available because I only need that one.
Image: image2ud.jpg
(This post was last modified: 18.10.2009 21:16 by Valery.)
18.10.2009 20:31
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #240

I think inactive gate must not shine


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
18.10.2009 22:45
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group