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 > Civ4 - Project & Mod Development > Civ4 - Fall from Heaven > FfH2 Modmods, Scenarios, and Maps

Notices

Reply
 
Thread Tools
Old Jan 21, 2009, 05:25 PM   #1
someone67
Warlord
 
someone67's Avatar
 
Join Date: Jun 2008
Posts: 121
How do I add spells?

I already figured out how to make simple spells like direct damage spells and buffs in xml, but how do I make more complex spells like terraforming?
someone67 is offline   Reply With Quote
Old Jan 21, 2009, 05:32 PM   #2
Methuselah
King
 
Join Date: Dec 2007
Posts: 674
Assets\python\entrypoints\CvSpellInterface.py

That's where you can dictate what they do terrain wise etc. Don't forget to make the corresponding XML entries for it.
__________________
O-Kaze no Horosha: Because meths system is lame.
O-Kaze no Horosha: And requires hamachi
Methuselah: That too
O-Kaze no Horosha: And has a crazy god complex
O-Kaze no Horosha: I think it thinks its Hades.
Methuselah is offline   Reply With Quote
Old Jan 21, 2009, 05:39 PM   #3
someone67
Warlord
 
someone67's Avatar
 
Join Date: Jun 2008
Posts: 121
Quote:
Originally Posted by Methuselah View Post
Assets\python\entrypoints\CvSpellInterface.py

That's where you can dictate what they do terrain wise etc. Don't forget to make the corresponding XML entries for it.
Thank you for your imediate halp! But don't I need special software to open python files? Can you recommend anything?
someone67 is offline   Reply With Quote
Old Jan 21, 2009, 05:42 PM   #4
Methuselah
King
 
Join Date: Dec 2007
Posts: 674
Quote:
Originally Posted by someone67 View Post
Thank you for your imediate halp! But don't I need special software to open python files? Can you recommend anything?
IDLE (which comes with Python) or notepad++.
__________________
O-Kaze no Horosha: Because meths system is lame.
O-Kaze no Horosha: And requires hamachi
Methuselah: That too
O-Kaze no Horosha: And has a crazy god complex
O-Kaze no Horosha: I think it thinks its Hades.
Methuselah is offline   Reply With Quote
Old Jan 21, 2009, 05:51 PM   #5
someone67
Warlord
 
someone67's Avatar
 
Join Date: Jun 2008
Posts: 121
Seems to work. Tank you!
someone67 is offline   Reply With Quote
Old Jan 22, 2009, 02:19 AM   #6
giddion
Crusader
 
giddion's Avatar
 
Join Date: Aug 2007
Location: Melbourne, Australia
Posts: 258
I think vim works best, can get it for windows too, I use the elflord template.
giddion is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Fall from Heaven > FfH2 Modmods, Scenarios, and Maps > How do I add spells?

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
Design: Spells Kael Civ4 - Fall from Heaven 555 Jan 11, 2009 07:25 AM
Resisting spells feydras Civ4 - Fall from Heaven 5 Apr 15, 2008 02:26 PM
Overall Spells Pandemonis Civ4 - Fall from Heaven 3 Aug 11, 2007 10:09 AM
can someone help? spells? daladinn Civ4 - Fall from Heaven 14 Sep 03, 2006 04:31 PM
New Units: Spells Kinboat Civ3 - Unit Graphics 13 Mar 20, 2003 09:40 AM


Advertisement

All times are GMT -6. The time now is 08:37 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