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 Sat Sep 05, 2026 2:43 am
All times are UTC + 0
Making smoke coming out from a building.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Lexa
Tiberian Beast


Joined: 08 May 2009
Location: Humour House and Red Alert 2 Editing. Occupation: Female Modder, YR: Uprising coder

PostPosted: Wed May 13, 2009 1:22 am    Post subject:  Making smoke coming out from a building. Reply with quote  Mark this post and the followings unread

Making a smoke coming out from a building I'll make Ore Purifier as an example:

; Just add this to the existing code.
[GAOREP]
NaturalParticleLocation=125,135,350 ; Ore purifier's chimney.
NaturalParticleSystem=BigGreySmokeSys ; or any particles sytem you would like to put in here.

NOTE: The duration of the smoke depends on the frames of it's shp animation. - ModEnc
Thanks for reminding me, Dark.

This one is just extra. You can also make the Ore Purifier like an Industrial Plant that cuts 25% of the unit's price.
[GAOREP]
FactoryPlant=yes ; Industrial Plant code
InfantryCostBonus=0.85 ; infantry
UnitsCostBonus=0.75 ; vehicles, tanks, ships
AircraftCostBonus=0.75 ; Aircraft
BuildingsCostBonus=0.80 ; Main buildings
DefensesCostBonus=0.96 ; Base defenses

Also add Hospital=yes to a barracks and it will be able to heal (not autoheal) infantry.


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

Last edited by Lexa on Thu May 14, 2009 11:37 pm; edited 1 time in total

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Wed May 13, 2009 3:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Additionally, the natural particles do wear off after a while and it's not really very long. Still need to make the smoke an animation for the building itself.

If you add Hospital=yes or Armory=yes to a Barracks, the AI goes crazy.

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