View Single Post
Old 12-16-2004, 10:35 AM   #4 (permalink)
Courageous
Senior Member
 
Join Date: Oct 2004
Posts: 250
Default

Sorry about the GDI reference, AG, just a brain fart ... must be my subconcious wish for Tib Next instead of RA.

SlaveMinerShortScan=60
SlaveMinerLongScan=60
SlaveMinerSlaveScan=60
SlaveMinerScanCorrection=200

The above make the vehicle want to go to the ore, but not move once it gets there. The "200" number should really be set as high as the longest distance on the largest map. The "60" figures say how far the vehilces will go to find ore. The "200" figure is how far the building will go to undeploy into a vehicle and find ore. Thinking about this, for this particular hack, you don't actually really need to make the above particular adjustments so extremely, because it's normal for base vehicles (or conyards) to undeploy and move around. In my mod, I have buildings that produces slaves that aren't refineries, and they don't have anything to undeploy into, so I really never want that to happen. Hence the above figures.


[BASEV1]
Image=MCV
UIName=Name:SMIN
Name=BASEV1
Nominal=yes
ToProtect=yes
Category=Support
Prerequisite=FACTORY
Strength=2000
Armor=medium
Turret=yes
OpportunityFire=yes
TechLevel=1
Sight=4
Speed=3
Owner=British,French,Germans,Americans,Alliance,Ru ssians,Confederation,Africans,Arabs,YuriCountry
RequiredHouses=British,French,Germans,Americans,Al liance,Russians,Confederation,Africans,Arabs,YuriC ountry
AllowedToStartInMultiplayer=no
CrateGoodie=yes
Storage=20
Cost=1
Soylent=10
Points=55
ROT=5
Crusher=yes
Crewed=no
SelfHealing=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
MaxDebris=6
DebrisTypes=TIRE
DebrisMaximums=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1} ;drive locomotor
Weight=3.5
MovementZone=Crusher
ThreatPosed=0 ; This value MUST be 0 for all building addons
ThreatAvoidanceCoefficient=.65
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToVeins=yes
ImmuneToPsionics=yes
ImmuneToRadiation=yes
ZFudgeColumn=9
ZFudgeTunnel=14
ZFudgeBridge=7
Size=3
StupidHunt=yes ;this guy can't handle a hunt command, so he should just run towards the player
Trainable=yes
Enslaves=SLAV
SlavesNumber=0
SlaveRegenRate=500
SlaveReloadRate=25
ResourceGatherer=yes
ResourceDestination=yes
DeaccelerationFactor=.2
Accelerates=false
Bunkerable=no
OmniCrushResistant=yes
Parasiteable=no
Unsellable=yes
BuildTimeMultiplier=0.8
DeploysInto=AINODE1
DeployFacing=0

[AINODE1]
Image=NAAINODE
UIName=Name:NACNST
Name=AINODE1
Prerequisite=FACTORY
BuildCat=Tech
;ConstructionYard=yes
;Factory=BuildingType
Strength=1000
Armor=concrete
TechLevel=1
Adjacent=2
Owner=British,French,Germans,Americans,Alliance,Ru ssians,Confederation,Africans,Arabs,YuriCountry
RequiredHouses=British,French,Germans,Americans,Al liance,Russians,Confederation,Africans,Arabs,YuriC ountry
UndeploysInto=BASEV1
Sight=8
Cost=3000
Points=80
Power=0
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbr is4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGr eySmokeSys
DamageSmokeOffset=1470,1060,1078
TogglePower=no
ProtectWithWall=no
EligibileForAllyBuilding=yes
ImmuneToPsionics=yes
AIBuildThis=no

So you have the vehicle, the structure, some minor changes to the Yuri logic... from here, you only need one other thing. It's already in your file. Look at the Yuri slave miner ai command. Tis a bit wierd.

It is "Assign new mission: guard area", followed by "repeat until success".

I regard this as strange, as in my experience assign new mission is otherwise generally terminal. I don't know how or why repeat until success could ever be seen or acknowledge by the team. But so be it, I left it the way it was.

The actual tags you'll want to use on the vehicle and structure will most likely be different. You'll see that the base vehicle I made is really just a SMIN clone. I believe all that's necessary to get it to go to the ore are the "Resource" tags. It's in a more pristine cloned state because I was having some rules and triggers problems issue recently, and needed to get into working mode again (I had one of those mysteriously broken moments).

C//
Courageous is offline   Reply With Quote