dacubz145
Deity
By his story though, sounds like it was already built. Button error should give crash when it is selected in the city
<UnitArtInfo>
<Type>ART_DEF_UNIT_MACV_SOG</Type>
<Button>Art/Interface/Buttons/Units/MACV_SOG.dds</Button>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/US/SOG/SOG.nif</NIF>
<KFM>Art/Units/Paratrooper/Paratrooper.kfm</KFM>
<SHADERNIF>Art/Units/US/SOG/SOG.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.9</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.05</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
<PythonCallback>doPlague</PythonCallback>
def doPlague(argsList):
iEvent = argsList[0]
kTriggeredData = argsList[1]
myplot = cyMap.plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
InfectedPlots.append(myplot)
#let's see if this is running:
pop = PyPopup()
pop.setBodyString('doPlague is running.')
pop.launch()
def doPlague(argsList):
iEvent = argsList[0]
kTriggeredData = argsList[1]
cyMap = CyMap()
myplot = cyMap.plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
Plague.PlagueListAdd(myplot)
def PlagueListAdd(NewPlot):
InfectedPlots.append(NewPlot)
for ThisPlot in InfectedPlots: #For each of the infected plots...
Neighbors = []
x = ThisPlot.getX()
y = ThisPlot.getY()
GOT IT
It works. I guess Fraxis screwed up the descreiption key in BTS file and game was reading unit name from some other place for original unit but not any references to it...somehow.
anyway, thank you much - it was driving me crazy for 2 hours now![]()
How do I made my svn repository on the interenet so that only me and certain others can update/change the repository. I still want others to be able to download it.
I'm using Tortoise SVN and the repository is at sourceforge.net.