Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Oct 30, 2005, 02:31 PM   #1
SkankinGecko
Registered User
 
Join Date: Oct 2004
Posts: 12
What to do with my modified python code?

I modified one of the game's python scripts (the wonder movies have a habit of crashing my system, so I am attempting to turning them off), but now I need to know how to get CIV to use it.

Thanks in advance and sorry if this is the 16th time you've had to answer this.
SkankinGecko is offline   Reply With Quote
Old Oct 30, 2005, 02:46 PM   #2
jbfballrb
Warlord
 
jbfballrb's Avatar
 
Join Date: Oct 2003
Location: Richmond, VA
Posts: 203
ive understood that youll have to wait for the SDK...
__________________
If a man slaps you, slap him back so hard you knock his head off.


Join the Civilized Gaming Network!
jbfballrb is offline   Reply With Quote
Old Oct 30, 2005, 02:56 PM   #3
SkankinGecko
Registered User
 
Join Date: Oct 2004
Posts: 12
Really? I found what I believe to be pertinent python script, and have edited it so that it no longer plays wonder movies. My issue is simply getting the game to read MY script instead of the original. My understanding was that this was supposed to be relatively simple. I could surely be wrong, however.

On a related note, does there exist, either in this forum or elsewhere, some basic general instructions on how to create, save and run mods like this? There is lots of fantastic info here about editing the xml and python files, but I have no idea what to do with them once I have.
SkankinGecko is offline   Reply With Quote
Old Oct 30, 2005, 03:57 PM   #4
CdGGambit
Warlord
 
CdGGambit's Avatar
 
Join Date: Apr 2004
Posts: 126
There's an option in the INI file to turn off wonder movies.

Code:
; Set to 1 for no in-game movies
NoMovies = 0
Change NoMovies to 1

The shortcut to the INI file (__Civ4config) is at the root of your game directory.
CdGGambit is offline   Reply With Quote
Old Oct 30, 2005, 04:03 PM   #5
SkankinGecko
Registered User
 
Join Date: Oct 2004
Posts: 12
Quote:
Originally Posted by CdGGambit
There's an option in the INI file to turn off wonder movies.

Code:
; Set to 1 for no in-game movies
NoMovies = 0
Change NoMovies to 1

The shortcut to the INI file (__Civ4config) is at the root of your game directory.
Actually, I just figured that out from one of the other forums, but thanks!

Still, I would like to find out more about implementing mods in general.
SkankinGecko is offline   Reply With Quote
Old Oct 30, 2005, 04:52 PM   #6
homegrown
Missionary of Sorenism
 
homegrown's Avatar
 
Join Date: Jan 2002
Location: Houston TX
Posts: 112
Changes that you want to apply every time you play, should go into the appropriate folder under My Games/Civ 4/CustomAssets.

If a change is part of a stand alone mod, create a folder under Mods with the name of mod then follow the folder hierarchy found in the regular game mod folder there.
homegrown is offline   Reply With Quote
Old Oct 30, 2005, 05:14 PM   #7
jbfballrb
Warlord
 
jbfballrb's Avatar
 
Join Date: Oct 2003
Location: Richmond, VA
Posts: 203
huh. well, if youve found it, could you just replace the original script for the movies with the new one w/o?
__________________
If a man slaps you, slap him back so hard you knock his head off.


Join the Civilized Gaming Network!
jbfballrb is offline   Reply With Quote
Old Oct 30, 2005, 07:18 PM   #8
WildWeazel
Maker of Worlds
 
WildWeazel's Avatar
 
Join Date: Jul 2003
Location: %CIV3%\Conquests\Scenarios\
Posts: 6,689
Images: 11
Right. Just put the new Python file inside the mod folder under the same directory setup as the game.
WildWeazel is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > What to do with my modified python code?

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[REFERENCE] Sample Python Code Kael Civ4 - Modding Tutorials & Reference 70 Dec 26, 2008 04:47 AM
civ specific python code - why doesn't this code work? sab89 Civ4 - SDK/Python 4 Mar 24, 2008 07:44 AM
Just modified the war declaration code klokwerk Civ4 - Better AI 6 Jun 07, 2007 05:48 PM
A little help with Python Code Aussie_Lurker Civ4 - Creation & Customization 10 Feb 12, 2006 05:14 PM
Where is python loader code? clinton Civ4 - Creation & Customization 0 Nov 08, 2005 07:02 PM


Advertisement

All times are GMT -6. The time now is 10:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR