carverrt Posted December 31, 2007 Share Posted December 31, 2007 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] } 0 Quote Link to comment Share on other sites More sharing options...
Bill101 Posted December 31, 2007 Share Posted December 31, 2007 Could the file name be spelt differently, only I notice that you've got it as Zukov rather than Zhukov? 0 Quote Link to comment Share on other sites More sharing options...
carverrt Posted January 1, 2008 Author Share Posted January 1, 2008 I know, that looks like the problem... the file is mispelled. Let me know if you see anything else. Happy New Year, Robert 0 Quote Link to comment Share on other sites More sharing options...
carverrt Posted January 4, 2008 Author Share Posted January 4, 2008 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 0 Quote Link to comment Share on other sites More sharing options...
Bill101 Posted January 5, 2008 Share Posted January 5, 2008 Hi Robert If you want to email me the scenario I'll happily take a look at this problem for you. I can't see what it might be offhand, but something might become clearer then. Bill 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted January 5, 2008 Share Posted January 5, 2008 Nothing wrong with the script syntax. Without having the files (as Bill has suggested) there is no way to check any further. 0 Quote Link to comment Share on other sites More sharing options...
carverrt Posted January 5, 2008 Author Share Posted January 5, 2008 All; You are right. I'll take advantage of Bill101's offer. Robert 0 Quote Link to comment Share on other sites More sharing options...
carverrt Posted January 5, 2008 Author Share Posted January 5, 2008 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! 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted January 10, 2008 Share Posted January 10, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.