| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Divemaster
Join Date: Feb 2009
Location: Denmark
Posts: 2,527
|
Python Intro Movie problems
I get this after the movie have played the first time :
After the movie have played it will go into black screen and await me clicking with the mouse on the screen. It only happens two times. after that it seem to ignore the python error. I followed this guide : http://forums.civfanatics.com/showthread.php?t=191978 except instead of having a customeventmanager I use the BtS' eventmanager as it is the only change I made in that file. Is it important to have your own special customeventmanager? And what would be the name/content of that? Any clues? This is the video (in wmv format. I binked it for the game), but I doubt there is something wrong there : Introvideo
__________________
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense." Buddha Last edited by vincentz; Sep 28, 2011 at 02:38 AM. |
|
|
|
|
|
#2 |
|
Say No 2 Net Validations
![]() ![]() |
Seems that something else got messed up, probably something with a hardcoded order somewhere in the .dll
.But sure isn't a problem with the CvEventManager itself, i added an intro to my mod also in the normal manager. Did you make any .dll changes before the error appeared? |
|
|
|
|
|
#3 |
|
Divemaster
Join Date: Feb 2009
Location: Denmark
Posts: 2,527
|
nope. no dll errors as I dont use a dll
![]() But if you made a intro then I will steal your code
__________________
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense." Buddha |
|
|
|
|
|
#4 |
|
Say No 2 Net Validations
![]() ![]() |
You are assuming that i know what i did and that i commented it
.And i also used this tutorial, so we both must have done something similar. Looking at my files...hmm... it seems, i did it exactly like in the tutorial, just added the code in the normal manager .
|
|
|
|
|
|
#5 |
|
Divemaster
Join Date: Feb 2009
Location: Denmark
Posts: 2,527
|
I'll try to isolate the changes into a testmod and see if there is a conflict with some of my other python files.
Btw. I seem to have problems getting a nice 1:1 conversion on the moviefile when I bink it. To get a decent quality I need to go at least 200% (which is still not perfect) and if I just put the same datarate as my original wmv file (440 Kb/s) the size will explode from 2.4 to 24 MB. Any good hints?
__________________
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense." Buddha Last edited by vincentz; Feb 03, 2011 at 04:13 AM. |
|
|
|
|
|
#6 |
|
Divemaster
Join Date: Feb 2009
Location: Denmark
Posts: 2,527
|
It still comes up with a python error.
I'll post the files and the testmod in hope that I did something wrong and it can easely be spotted : CIV4ArtDefines_Movie.xml (cut) Spoiler:
CvIntroMovieScreen.py (all) Spoiler:
CvEventManager.py (cut) Spoiler:
__________________
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense." Buddha Last edited by vincentz; Sep 28, 2011 at 02:38 AM. |
|
|
|
|
|
#7 |
|
Say No 2 Net Validations
![]() ![]() |
I appreciate the design of your movie.
To the problem: In my CvIntroMovieScreen.py is, unlike in yours and the default one, this line here: PHP Code:
I also commented 3 lines in handleInput out, because i think it also created some problems: Spoiler:
|
|
|
|
|
|
#8 |
|
Divemaster
Join Date: Feb 2009
Location: Denmark
Posts: 2,527
|
Thank God!
I just stole your CvIntroMovieScreen.py and now everything is fine. Thank you ![]() edit : Ok this might sound strange, but suddenly everything is running 100% more smoothly. The graphics used to stutter a bit every 1-2 secs or so on a large map with 15 AI and high graphic settings (i only have 128 MB graphics and 1.5 GB ram) This stutter is now completely gone. Also the response and the ai seems faster somehow. Very mysterious. Needs to be double checked tomorrow. dbl edit : it gets stranger. I can reveal a giant map (160x100) and fly around like it was a dual map. Must be a betterAI or unofficial patch which I dont use, that made those changes. Maybe I should look into integrate those if only 1 file could make such a big change. Strange.
__________________
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense." Buddha Last edited by vincentz; Feb 03, 2011 at 03:38 PM. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|