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

Notices

Reply
 
Thread Tools
Old Jan 22, 2008, 09:29 AM   #1
pippin_nl
Chieftain
 
Join Date: Jan 2006
Posts: 6
spawning units

Is it possible to have a building or improvement spawn units besides barbarian ones?
pippin_nl is offline   Reply With Quote
Old Jan 22, 2008, 09:53 AM   #2
Mewtarthio
Emperor
 
Mewtarthio's Avatar
 
Join Date: Apr 2004
Posts: 1,930
I believe Hellfire spawns units under the control of the Infernal civilization (unless they're all dead, in which case they're barbarian).
Mewtarthio is offline   Reply With Quote
Old Jan 22, 2008, 03:39 PM   #3
MagisterCultuum
Great Sage
 
MagisterCultuum's Avatar
 
Join Date: Feb 2007
Location: Kael's head
Posts: 14,060
It isn't hard to do so in python, most likely in C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Fall from Heaven 2 030\Assets\python\CvEventManager.py (which is where the Infernal's unit spawning , treant spawning, Planar gate units spawning, Infernal and Mercurian entry to the world, etc., are handled)

I'd probably use "def onBuildingBuilt(self, argsList):", "def onCityDoTurn(self, argsList):", "def onImprovementDestroyed(self, argsList):", or "def onImprovementBuilt(self, argsList):" (I have already added several things to the first two of these)
MagisterCultuum is offline   Reply With Quote
Old Jan 23, 2008, 07:43 PM   #4
Mesix
I'm not crazy!
 
Mesix's Avatar
 
Join Date: Mar 2006
Location: Germany
Posts: 3,403
Crusade civic spawns units from town improvements.
Mesix 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 > spawning units

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
Spawning question Hanny Civ4 - Fall from Heaven 2 Dec 13, 2008 02:36 PM
Spawning heroes Mesix Civ4 - Fall from Heaven 12 Feb 26, 2007 09:16 AM
Spawning multiple units per turn. ClassicThunder Civ4 - Creation & Customization 6 Jan 04, 2007 10:38 AM
Civ Spawning Oni Civ - Ideas & Suggestions 8 Aug 01, 2005 08:11 PM
New wonder ability: spawning units! Wolfhart Civ3 - General Discussions 11 Jul 25, 2003 01:03 PM


Advertisement

All times are GMT -6. The time now is 10:47 PM.


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