first of all..your building entry should have entrys like
WorkingSound=OreMineExtract Primary=OreField AttackFriendlies=yes GuardRange=255 DefaultToGuardArea=yes OpportunityFire=yes
they are mostly ensuring the auto firing logic works purposes wise there.
and the weapon entry
[OreField] Damage=1;so game allows fire it unlike 0 ROF=600 Range=500;or 255.whatever seems work Speed=2;doesnt matter really AreaFire=yes FireOnce=no Projectile=Invisible;should work fine with just this Warhead=OreWarhead Report=OreMineExtract DecloakToFire=no;note..i only used this as i got bases with cloak generator..so keeps working cloaked too than stay uncloaked.
notice..the ROF here is one good way to control ore spawning rate
next the warhead..remember add it to the [Warheads] list, XX=OreWarhead
[OreWarhead] Verses=50%,50%,50%,50%,50%,50%,50%,50%,50%,50%,50% InfDeath=0 CellSpread=1;doesnt matter much.. MinDebris=12;how much ore spawner pieces to spawn every time weapon is fired MaxDebris=12;same, just making sure DebrisTypes=PEBBLE;old entry used in only old meteor codes but feel free do a new entry too. DebrisMaximums=12;same deal again
and that voxel piece code..
[PEBBLE] Name=TiberiumShard Image=TIRE;for example..i edited it to 1 dot vxl in RS as original vxl is ugly as hell.. Elasticity=0.0 MinAngularVelocity=12.0 MaxAngularVelocity=24.0 MinZVel=30.0 MaxZVel=32.0 MaxXYVel=18.0 Duration=5 ExpireAnim=TWNK1;totally optional..you can leave blank too..just in for coolness. Damage=0 DamageRadius=0 Warhead=AP IsTiberium=true IsMeteor=true
and then we go edit the ore (tiberium heh) itself..find following in rules and change the values to what i propose.
[Riparius]; do not just copy paste this in replacing original entry entirely! just the tags listed! Name=Tiberium Riparius Growth=100 GrowthPercentage=.95;yes our ore grows!! :P Spread=2200 SpreadPercentage=.06;.06 is normal but you can raise this if you want ore to start spreading around
and do same for [Vinifera]
but that should be it..problems? lemme know and ill update the tutorial if necessary.
Change GrowthRate= to a much lower number e.g. 1.5 for faster ore growth
TiberiumGrowthEnabled=yes must be enabled for Ore Generators to work, note that some stock westwood maps have this disabled
Removed less efficient tutorial
Edited by Allied General, 24 June 2010 - 02:29 PM.
Removal of AG ore extraction TiberiumRadius= TiberiumSpawnType=