[BTS Python/XML] KGB Wonder

GIR

It'sNotStupidIt'sAdvanced
Joined
Jul 12, 2005
Messages
885
Location
EU
update: new KGB building

Here is another little mini mod:

KGB Wonder
(It was part of the GIRs Sevomod Add-On)

It adds a new Wonder: KGB (KGB building by asioasioasio)
It also adds a little python code:

The KGB provides 3 Spies with Sentry, Morale and Mobility Promotion. It also provides a Sentry Promotion to all new build Spies (built in any of your cities).

Sentry: +1 Visibility Range

Morale: +1 Movement Range

Mobility: -1 Terrain Movement Cost


Some pics:



Pics of the in-game KGB Building (thx to asioasioasio for creating it) :



Have fun!

File:
http://forums.civfanatics.com/downloads.php?do=file&id=8397




 
Sounds cool. :) Can you remind me what sentry, morale and mobility does again? It's been too long since I played civ :( I remember always picking morale when I attached a great general to a unit though.
 
Wow great wonder - i'll use it

I have a question

if i change
if iBuildingType == gc.getInfoTypeForString( 'BUILDING_KGB' )
u_spy = gc.getInfoTypeForString( 'UNIT_SPY' )
if ( pUnit.getUnitClassType() == gc.getInfoTypeForString("UNITCLASS_SPY") ):
if pCity.getNumActiveBuilding(gc.getInfoTypeForString( 'BUILDING_KGB' )) == true:

and change there UNITCLASS_SPY BUILDING_KGB to other - i could get than other buildings and units?
 
Sounds cool. :) Can you remind me what sentry, morale and mobility does again? It's been too long since I played civ :( I remember always picking morale when I attached a great general to a unit though.
added it in the first post...

Wow great wonder - i'll use it

I have a question

if i change
if iBuildingType == gc.getInfoTypeForString( 'BUILDING_KGB' )
u_spy = gc.getInfoTypeForString( 'UNIT_SPY' )
if ( pUnit.getUnitClassType() == gc.getInfoTypeForString("UNITCLASS_SPY") ):
if pCity.getNumActiveBuilding(gc.getInfoTypeForString( 'BUILDING_KGB' )) == true:

and change there UNITCLASS_SPY BUILDING_KGB to other - i could get than other buildings and units?

yes! thats all.
 
Please, GIR, for change for example in this line:
pNewUnit = pPlayer.initUnit( u_spy, iX, iY, UnitAITypes.UNITAI_ATTACK, DirectionTypes.NO_DIRECTION )

i don´t understand u_spy args. For example archer in this have be u_archer???
 
Sorry. I´m not programmer but for second view I see you define u_spy is...
sorry and thanks for it
It is very helpful concept. Excellent work

HROCHland
 
BTW GIR.
Do you want model of KGB on Lubyanka?
It should be pritty simple to model i could make it.
 
I'm not fully happy with the roof - but it's best what i can get from Google Earth (the photo was shoot from angle).

I would be glad to see wonder units - the unit that can be built only in one example and only once.
 
Lol good example :p
Is it python modcomp? or chuck doesn't need any code to kick ennemies? ;)
 
Top Bottom