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 Tue Apr 16, 2024 8:31 pm
All times are UTC + 0
Creating a new Resource System
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
ComradeSpike
Vehicle Driver


Joined: 15 Jun 2003

PostPosted: Sat Aug 23, 2003 5:44 pm    Post subject:  Creating a new Resource System Reply with quote  Mark this post and the followings unread

I've figured out a way to get the last 2 Tiberiums types to work in RA2. Just follow these directions:

Rules.ini
Add these entries:
[BuildingTypes]
XXX=TIBMINE

[Animations]
XXXX=TIBMAKER

[Warheads]
XXX=TibMaker

[TIBMINE]
Name=Mine
UIName=Name:TIBMINE
Image=TIBTRE01            ; or whatever u want it to be
BuildCat=Resource
Prerequisite=TECH,PROC
Primary=TibCreate
TechLevel=10
Strength=800
Adjacent=10
Points=35
Power=-500
Sight=5
Armor=steel
Cost=4000
Soylent=2000
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=CRYSTAL1,CRYSTAL2,CRYSTAL3,CRYSTAL4
MaxDebris=20
MinDebris=15
HalfDamageSmokeLocation1=0,0,0
ThreatPosed=0   ; This value MUST be 0 for all building addons
Capturable=false
Crewed=no
AIBuildThis=no
WorkingSound=OreRefineryProcessing  
Powered=true
BuildLimit=1

[TibCreate]
Damage=1
ROF=25
Range=3
Projectile=Invisible
Speed=100
Warhead=TibMaker
RevealOnFire=no
Report=OreMakingSound

[TibMaker]
CellSpread=3
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
InfDeath=1
AnimList=TIBMAKER
ProneDamage=0%

;Add to art.ini

[TIBMAKER]
Elasticity=0.0
MinZVel=28.0
MaxXYVel=22.0
Damage=1
Report=OreProduceSound
DamageRadius=1
Warhead=TibMaker
IsTiberium=true
Loopstart=0
LoopEnd=14
LoopCount=-1
Rate=500  
RandomRate=220,500
Bouncer=yes
TiberiumSpawnType=TIB2_01

ok that's the easy part, now go back to rules.ini.
find the entry [Vinifera] and edit it to the specs of the resource you
are planning to add.
For example:

; New resouce gold
[Vinifera]
Name=Tiberium Vinifera   ;Probably shouldn't change
Image=3                  ;Don't change
Value=5000  ;make whatever u think the resource is worth
Growth=1500               ; These 4 are going to depend on the resource
GrowthPercentage=.01 ; u should customize these to your own liking
Spread=1500
SpreadPercentage=.01
Power=0 ; 10 ;don't change because it doesn't work
Color=NeonBlue ;don't change because it doesn't work
Debris=CRYSTAL1,CRYSTAL2,CRYSTAL3,CRYSTAL4     ;don't change because it doesn't work

Now find the entry [TIB2_01]
edit it for your resource:

[TIB2_01]
Image=GOLD01    ;your image
Name=Tiberium (Blue)    ;same
Tiberium=yes ;same
LegalTarget=false ;same
RadarInvisible=false    ;same
ChainReaction=no ;same
RadarColor=220,200,0 ;change for your resouce, use color section for reference

Now do the same for all the other TIB2_## entries. (make sure your image has 20 shps {for TIB2_01,TIB2_02, etc} for each of the other
terrains, should have .tem, .sno, etc.) once that is done go to art and COPY all the entries for TIB01,TIB02, all the way through TIB20. Now paste and edit them all so TIB01 now says [YOUR IMAGE01] TIB02 says [YOUR IMAGE02] etc. DO NOT CHANGE the original entries for
TIB01 and up.

Now Your Done! when in the game build the TIBMINE (will say missing cameo) then force fire at the ground, and the new Tiberium type
will be spawned!


Key Words: #Tutorials #Modding #RedAlert2 #YurisRevenge #Rules.INI #Art.INI 

_________________
Bang!

Back to top
View user's profile Send private message
Venom
Laser Commando


Joined: 11 Jan 2003
Location: Floating along the river Stix, just about inside Hades but not quite there.

PostPosted: Thu Aug 28, 2003 10:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

you think this might work in TS as well? sounds like it would

_________________
Tiberian Sun Hidden Shadows Mod Leader and Overlord of PPM. Bow down and repent to your master. And go bake me some cookies!

[img]http://www.ppmsite.com/forum/download.php?id=953[/img]

Back to top
View user's profile Send private message Send e-mail AIM Address
ComradeSpike
Vehicle Driver


Joined: 15 Jun 2003

PostPosted: Thu Aug 28, 2003 11:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

probably, but in FS there is a tag in the fsrules.ini under [BIGBLUE] that allows any kind of tiberium spawnable, which makes this technique kind of pointless.

_________________
Bang!

Back to top
View user's profile Send private message
Venom
Laser Commando


Joined: 11 Jan 2003
Location: Floating along the river Stix, just about inside Hades but not quite there.

PostPosted: Thu Aug 28, 2003 11:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

too bad this isn't like something that harvesters or ore trucks can't collect, you know like you have to have a diff unit to collect it

_________________
Tiberian Sun Hidden Shadows Mod Leader and Overlord of PPM. Bow down and repent to your master. And go bake me some cookies!

[img]http://www.ppmsite.com/forum/download.php?id=953[/img]

Back to top
View user's profile Send private message Send e-mail AIM Address
ComradeSpike
Vehicle Driver


Joined: 15 Jun 2003

PostPosted: Thu Aug 28, 2003 11:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

ahhh... like the weed eater unit collects only weeds and nothing else can. I had heard there was some combo of tags that can help u accomplish what you want. I'll check into it.

_________________
Bang!

Back to top
View user's profile Send private message
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Mon Sep 01, 2003 10:21 am    Post subject: Reply with quote  Mark this post and the followings unread

No, I tried and it didn't work. But I did try it in YR so that might be the reason why it never worked.

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 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.1621s ][ Queries: 11 (0.0076s) ][ Debug on ]