Jump to content

A Request for Popup Image Assistance


Recommended Posts

Good afternoon all;

I am tiryng to add an image to a popup event script.

I created the bitman image, 627x422, wrote the script including the image file name and placed it in the campaign’s media folder.

All I get when I test it is the popup text.

Below is the script.

Can anyone help?

{

#NAME= Zhukov appointed

#POPUP= Stalin places Zhukov in charge of Moscow defenses

#IMAGE= zukov_10Oct41.bmp

#SOUND=

#FLAG= 1

#TYPE= 0

#AI= 0

#COUNTRY_ID= 4

#TRIGGER= 100

#DISPLAY_ORDER= 0

#DATE= 1941/10/10

; 1st Line - USSR politically aligned with Allies 100% and not surrendered

#VARIABLE_CONDITION= 4 [2] [100] [0]

; Dummy condition position (always satisfied)

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]

}

Link to comment
Share on other sites

All;

I thought I would ask one last time.

If anyone can take a look at the script below and let me know what I might be doing wrong I would appreciate it.

The script is to a new scenario I will post soon, so I’d like to have images and media ready when I post.

Thank you.

Robert

Link to comment
Share on other sites

All;

Bill101 fixed the problem.

So we can all take advantage of his good work, I am placing his success here:

“I seem to have solved it, but I really don't know what the problem was.

I tried loads of things and was about to give up when I thought I would

export all your scenario's data into a new map. I then added one pop up

script with an image, and hey presto, it worked!

I can only think that your scenario became corrupted in some way,

because there was nothing I could see that was wrong.

Are you ok doing that? If so, I would recommend that you don't copy the

old media folder over into the new scenario, but instead make it afresh.”

- Bill101

Thank you Bill!

Link to comment
Share on other sites

I think I know what the problem was as I just encountered it on my end... essentially, if you manually change the name of your campaign and campaign subfolder in Windows Explorer, you need to make sure that the final name you select for your campaign is saved in the Editor using SaveAs (even if the name is the same) otherwise the campaign does not find the correct path to the Media folder.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...