Center on Hex - action
Moderators: Slitherine Core, The Lordz, Panzer Corps Moderators, Panzer Corps Design
Center on Hex - action
Could it be that the center on hex action not works at the start of the first turn (of the side starts)?
I tried before and after a message action.
If I try it at the start of turn 2 it works.
I tried before and after a message action.
If I try it at the start of turn 2 it works.
-
huertgenwald
- 2nd Lieutenant - Panzer IVF/2

- Posts: 696
- Joined: Wed Oct 05, 2011 6:39 pm
- Location: Eifel / south of Aachen
Re: Center on Hex - action
Ich verstehe Deine Frage nicht. (Don't understand your question)
Könntest Du Dein Anliegen etwas ausführlicher umformulieren (in Deutsch) ? (Could you please rephrase your request somewhat more elaborately (in german?) )
Könntest Du Dein Anliegen etwas ausführlicher umformulieren (in Deutsch) ? (Could you please rephrase your request somewhat more elaborately (in german?) )
Re: Center on Hex - action
Hallo!
Habe einen Trigger erstellt.
Bedingung Zug [1,-1]. Ausführung zu Beginn des Axis-Zuges.
Aktionen: CenterOnHex (10,18); Message
Die Message ist da, aber das Zentrieren passiert nicht. Auch nicht, wenn es nach der Message steht.
Für [2,-1] ist das okay.
Habe einen Trigger erstellt.
Bedingung Zug [1,-1]. Ausführung zu Beginn des Axis-Zuges.
Aktionen: CenterOnHex (10,18); Message
Die Message ist da, aber das Zentrieren passiert nicht. Auch nicht, wenn es nach der Message steht.
Für [2,-1] ist das okay.
Re: Center on Hex - action
fsx could you give an example. I'm not sure if I understood it either.
-
huertgenwald
- 2nd Lieutenant - Panzer IVF/2

- Posts: 696
- Joined: Wed Oct 05, 2011 6:39 pm
- Location: Eifel / south of Aachen
Re: Center on Hex - action
Translation of fsx's post (since i know nothing about map creation):
Created a trigger.
Condition for round [1,-1]. To be executed at the beginning of the axis draw.
Action: CenterOnHex (10,18); Message ("some text")
Message pops up, but the centering doesn't happen. Doesn't happen either, if CenterOnHex put behind message statement.
For [2,-1] that's okay (don't know the meaning of that ??
)
HtH
Created a trigger.
Condition for round [1,-1]. To be executed at the beginning of the axis draw.
Action: CenterOnHex (10,18); Message ("some text")
Message pops up, but the centering doesn't happen. Doesn't happen either, if CenterOnHex put behind message statement.
For [2,-1] that's okay (don't know the meaning of that ??
HtH
Re: Center on Hex - action
The correct translation wold be: "to be executed at the beginning of the axis turn." Draw doesn't make much sense in this context afaik tho my my english is far from perfect.huertgenwald wrote:T
Condition for round [1,-1]. To be executed at the beginning of the axis draw.
Re: Center on Hex - action
Thanks to all for translate my "english" and german.
[2,-1] : executing the trigger in turn 2
Second question: If I make a message including a image, the image is in the middle of the window between text (below and above)
I wrote into the message-window of scenario editor
In the message box you see
TEXT-part 1
IMAGE
TEXT-part2
[2,-1] : executing the trigger in turn 2
Second question: If I make a message including a image, the image is in the middle of the window between text (below and above)
I wrote into the message-window of scenario editor
Code: Select all
TEXT....
<img src="..\Graphics\Units\Bf_109.png" />TEXT-part 1
IMAGE
TEXT-part2
Re: Center on Hex - action
Indeed center on hex action does not work at the start of the first turn.fsx wrote:Could it be that the center on hex action not works at the start of the first turn (of the side starts)?
I tried before and after a message action.
If I try it at the start of turn 2 it works.
Regarding your experiment with text and image in the message I got different result, first text than image bellow it. (See picture attached.)
- Attachments
-
- textimg.GIF (53 KiB) Viewed 2775 times
Re: Center on Hex - action
Message-Text:
Code: Select all
Das OKW stellt Ihnen diverse kampferprobte Einheiten zur Verfügung.
Ihre Heeresgruppe wird durch das Jägdgeschwader xx mit yyyyyy yyyyyyyyy verstärkt.
<img src="..\Graphics\Units\bf_109e.png" />Re: Center on Hex - action
You are right, now I have the same effect. Try with this solution:
Note the <p> tag between text and message.
Code: Select all
Das OKW stellt Ihnen diverse kampferprobte Einheiten zur Verfügung.
Ihre Heeresgruppe wird durch das Jägdgeschwader xx mit yyyyyy yyyyyyyyy verstärkt.
<p>
<img src="C:\Program Files\Slitherine\Panzer Corps\Graphics\Units\2_cm_FlaK_38.png" />Re: Center on Hex - action
Thank you, uran21!
I dont know html - language or xml. I only use copy&paste and try&error for my changes.
If you have some questions or remarks about the features used at DMP-Ostfront (new briefing style with tabs, newturn & deploy with pictures, longer names for units and unittypes at the statbase and buy-screen) ask me.
My question for the message-window: How can I make it, that the text "flows" around the picture?
I dont know html - language or xml. I only use copy&paste and try&error for my changes.
If you have some questions or remarks about the features used at DMP-Ostfront (new briefing style with tabs, newturn & deploy with pictures, longer names for units and unittypes at the statbase and buy-screen) ask me.
My question for the message-window: How can I make it, that the text "flows" around the picture?
-
chief
- Administrative Corporal - SdKfz 251/1

- Posts: 126
- Joined: Thu Jan 13, 2011 6:24 pm
- Location: central Florida
Re: Center on Hex - action
fsx just for info: reference your comment on HTML above, a while back I put in a search on GOOGLE for "HTML" and I found an excellent primer you might want to look at, it was in English, but I'm sure you could still understand what they are doing by examples. Hope this helps. Thanks for all your fine work also
Re: Center on Hex - action
I am not web designer either but effect you are searching for could be achieved on the following way:
Check the style="float: left;" within img src tag.
See attached picture for this effect.
Note also image goes beyond borders of the message box and placement of OK button is not in the center.
Code: Select all
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
ccccccccccccccccccccccccccccccccccccccccccccccccccccc
<p>
<img src="C:\Program Files\Slitherine\Panzer Corps\Graphics\Units\2_cm_FlaK_38.png" style="float: left;"/>
Das OKW stellt Ihnen diverse kampferprobte Einheiten zur Verfügung.
Ihre Heeresgruppe wird durch das Jägdgeschwader xx mit yyyyyyyyyyyyyyyverstärkt.See attached picture for this effect.
Note also image goes beyond borders of the message box and placement of OK button is not in the center.
- Attachments
-
- floatingtext.GIF (56.85 KiB) Viewed 2747 times
Re: Center on Hex - action
Thanks for all feedback and hints!
I found some html-sites on internet.
I am searching for an tool, that shows me syntax errors. At internet I found some online checker. One of them I used. Only the "space" the tool dont knows.
Programmers in the company I work for using an editor that shows (with colors and lines) for example begin-end-items connected together.. But its for python, not html.
For a text, that is "shorter" than the picture (as in the post above) , I would use "table". It would place the OK button right.
Thanks again!
I found some html-sites on internet.
I am searching for an tool, that shows me syntax errors. At internet I found some online checker. One of them I used. Only the "space" the tool dont knows.
Programmers in the company I work for using an editor that shows (with colors and lines) for example begin-end-items connected together.. But its for python, not html.
For a text, that is "shorter" than the picture (as in the post above) , I would use "table". It would place the OK button right.
Thanks again!



