Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 6:06 pm
All times are UTC + 0
Ore Mining Facility
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
user
Vehicle Drone


Joined: 14 Oct 2015

PostPosted: Sun Jun 18, 2017 4:10 am    Post subject:  Ore Mining Facility
Subject description: Need help for growing resources
Reply with quote  Mark this post and the followings unread

good day everyone can somebody help me how to grow teberium resources? im using default YR code and NPATCH NPAE

this is my code THANKS Very Happy


[PEBBLE]
Name=TiberiumShard
Image=TIRE
Elasticity=0.0
MinAngularVelocity=12.0
MaxAngularVelocity=24.0
MinZVel=30.0
MaxZVel=32.0
MaxXYVel=18.0
Duration=5 ;80
ExpireAnim=TWNK1 ;was blank
Damage=0
DamageRadius=0
Warhead=AP
IsTiberium=true
TiberiumRadius=7 ;8 ;12
TiberiumSpawnType=TIB08
IsMeteor=true



ORE MINING FACILITY.png
 Description:
 Filesize:  34.81 KB
 Viewed:  2595 Time(s)

ORE MINING FACILITY.png



Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Sun Jun 18, 2017 8:07 am    Post subject: Reply with quote  Mark this post and the followings unread

More code needed. Get Building's and Weapon's code up here too, not just the projectile.

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
user
Vehicle Drone


Joined: 14 Oct 2015

PostPosted: Sun Jun 18, 2017 10:49 am    Post subject: build Reply with quote  Mark this post and the followings unread

BTW THIS IS MY CODE... and also that picture is also mine..it can make resources but not GROWING SPREAD... i dunno what to do with that
or maybe i missed something..


[X-XGAEXTR]
Name=Ore Mining Facility
UIName=Name:GAORE
BuildCat=Resource
Prerequisite=A-SYANEXUS,A-SGAEXTR,A-SNATEK
TechLevel=9
Strength=1300
Adjacent=2
Points=30
Power=0
Sight=5
Armor=concrete
Cost=200
Soylent=1250
Owner=Russians
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
;MaxDebris=12
;MinDebris=6
HalfDamageSmokeLocation1=0,0,0
DamageSmokeOffset=410, 100, 165
ThreatPosed=5
Capturable=false
Crewed=yes
AIBuildThis=yes
TogglePower=no
BuildLimit=2
EligibileForAllyBuilding=yes
BuildTimeMultiplier=0.5;Individual control of build time
;ProduceCashAmount=30
;ProduceCashDelay=150
WorkingSound=OreMineExtract
Primary=A-SGAEXTR-WEAPON(1)
AttackFriendlies=yes
GuardRange=255
DefaultToGuardArea=yes
OpportunityFire=yes
Turret=yes



[A-SGAEXTR-WEAPON(1)]
Damage=1
ROF=600 ;200
Range=500
Speed=2
AreaFire=yes
FireOnce=no
Projectile=A-SGAEXTR-PROJ(1)
Warhead=A-SGAEXTR-WH(1)
Report=OreMineExtract
DecloakToFire=no


[A-SGAEXTR-PROJ(1)]
Inviso=yes
Image=none
SubjectToCliffs=no ;yes
SubjectToElevation=no ;yes
SubjectToWalls=no
;Cluster=50 ;20 ;5 ;1 ;5 ;10 ;50
;Dropping=yes



[A-SGAEXTR-WH(1)]
Verses=50%,50%,50%,50%,50%,50%,50%,50%,50%,50%,50%
InfDeath=0
CellSpread=1 ;3
MinDebris=30
MaxDebris=30 ;10 ;20
DebrisTypes=PEBBLE
DebrisMaximums=12 ;10 ;20
;AnimList=MAKEORE











































[X-XGAEXTR]
Cameo=OREFICON
Remapable=yes
Foundation=2x2
Height=5
Buildup=GAEXTRMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
PrimaryFireFLH=-500,0,-500

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Jun 18, 2017 1:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

IIRC resources spawned by debris cant grown larger or spread beyond there initial size.

Also, moved to RA2 Editing forum.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Sun Jun 18, 2017 2:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
IIRC resources spawned by debris cant grown larger or spread beyond there initial size.

Also, moved to RA2 Editing forum.


Correct, debris spawned ore cannot spread. It can however accumulate more if the debris spawns ore in the same spot.

_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
nlspeed
Grenadier


Joined: 26 Dec 2016

PostPosted: Sun Jun 18, 2017 4:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

I would caution against using (, ), and - in names. It probably won't matter at all, but better safe than sorry, not?

Back to top
View user's profile Send private message
user
Vehicle Drone


Joined: 14 Oct 2015

PostPosted: Mon Jun 19, 2017 3:06 am    Post subject: ore mining Reply with quote  Mark this post and the followings unread

Actually i get that idea on ROBOT MOD V 1.99 if you remeber that guys
It perfectly working 100% i dunno what he do..

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Jun 19, 2017 6:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Example without the intricate weapon workaround

art.ini
[X-XGAEXTR]
:
ActiveAnim=OreLoop

[OreLoop]
Image=TWINKLE1 ;replace with SHP that has a several empty frames
LoopStart=0
LoopEnd=1
LoopCount=-1
Rate=0
Surface=yes
TrailerAnim=OreDebr
TrailerSeperation=100 ;adjust this for ore spawn rate. Higher means slower

[OreDebr]
Image=TIRE ;replace with small ore debris image
Elasticity=0.0
MinZVel=10.0
MaxXYVel=40.0 ;spawn area radius (higher means farther away)
ExpireAnim=TWINKLE1
IsTiberium=true
LoopStart=0
LoopEnd=1
LoopCount=-1
Rate=0
Bouncer=yes
TiberiumSpreadRadius=9
TiberiumSpawnType=TIB01



rules.ini
[Animations]
:
X01=OreLoop
X02=OreDebr

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
ApolloTD
Commander


Joined: 19 Nov 2003

PostPosted: Mon Jun 19, 2017 10:25 am    Post subject: Re: build Reply with quote  Mark this post and the followings unread

user wrote:
BTW THIS IS MY CODE... and also that picture is also mine..it can make resources but not GROWING SPREAD... i dunno what to do with that
or maybe i missed something..


[X-XGAEXTR]
Name=Ore Mining Facility
......


Your code is copied off my old mod literally so quit telling its your code and I would normally help but not when you start claiming bullshit like that and gave me no credit what so ever. Mad

and yeah you are missing something indeed, the trick was shared long time ago but honestly I am gonna vouch for LKO's example rather as you might learn something instead by coding unlike just borrowing code from mod.

Plus I see you have copied other code too apparently, very original of you.

Back to top
View user's profile Send private message
user
Vehicle Drone


Joined: 14 Oct 2015

PostPosted: Mon Jun 19, 2017 4:09 pm    Post subject: Ore Mining Facility Reply with quote  Mark this post and the followings unread

oh sorry for that sir ApolloTD  Crying or Very sad yah that's true 100% that code is came from you.. i'm just borrowing your great idea...sorry again because i'm only a newbie here..untill now i don't have solution for that   Crying or Very sad it's up to you sir if you want to share it to me..and i give credits.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jun 19, 2017 9:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

4StarGeneral wrote:
Mig Eater wrote:
IIRC resources spawned by debris cant grown larger or spread beyond there initial size.

Also, moved to RA2 Editing forum.


Correct, debris spawned ore cannot spread. It can however accumulate more if the debris spawns ore in the same spot.


Wrong. I have had debris resources spread. Although I acknowledge it was really, really erratic and only one-two patches started to grow properly in a game. But pretty sure some of Doomy's streams even shown that my meteor-spawned resources did grew in YR. Unless I remember wrong with meteors being a kind of debris.

[Aboreus]
Name=Tiberium Aboreus
Image=4
Value=250
Growth=50
GrowthPercentage=.5
Spread=50
SpreadPercentage=.5
Power=0
Color=NeonBlue
Debris=CRYSTAL1,CRYSTAL2,CRYSTAL3,CRYSTAL4
MapRendererColor=MeteoreColor

[METLARGE]
Elasticity=0.0
MaxXYVel=100.0
MinZVel=-100.0
ExpireAnim=TSTWLT070
Damage=50
DamageRadius=4
Warhead=Meteorite
IsMeteor=true
LoopStart=0
LoopEnd=8
LoopCount=-1
RandomRate=220,500
DetailLevel=1
Report=METEOR11
SpawnDelay=6
Trailer=SMOKEY2
UseLineTrail=yes
LineTrailColor=10,10,10  
LineTrailColorDecrement=20
Crater=yes
CustomPalette=tsanim.pal
IsTiberium=true
TiberiumSpawnType=TIB3_01

[METSMALL]
Elasticity=0.0
MinZVel=-100.0
MaxXYVel=100.0
ExpireAnim=TSTWLT050
Damage=50
DamageRadius=4
Warhead=Meteorite
IsMeteor=true
LoopStart=0
LoopEnd=8
LoopCount=-1
RandomRate=220,500
DetailLevel=1
Report=METEOR22
UseLineTrail=yes
LineTrailColor=10,10,10  
LineTrailColorDecrement=20
Crater=yes
CustomPalette=tsanim.pal
IsTiberium=true
TiberiumSpawnType=TIB3_01

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Jun 21, 2017 8:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Could someone kill zlixidiot? Here I thought I got a meaningful PM, but turned out, it was just this retard spamming.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
PussyPus
Commander


Joined: 14 Jul 2015
Location: Egypt

PostPosted: Wed Jun 21, 2017 6:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:
Could someone kill zlixidiot? Here I thought I got a meaningful PM, but turned out, it was just this retard spamming.


And i thought this guy was just a normal user turned out to be temp.

_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .

Back to top
View user's profile Send private message ModDB Profile ID Skype Account
user
Vehicle Drone


Joined: 14 Oct 2015

PostPosted: Thu Jun 22, 2017 3:42 am    Post subject: ore mining facility Reply with quote  Mark this post and the followings unread

sir Graion Dilach  thank you for the code...it's working now fine..srry late replay im busy this days...btw thank you again  Very Happy

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1641s ][ Queries: 14 (0.0103s) ][ Debug on ]