Joined: 08 May 2009 Location: Humour House and Red Alert 2 Editing. Occupation: Female Modder, YR: Uprising coder
Posted: Wed May 13, 2009 1:22 am Post subject:
Making smoke coming out from a building.
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.
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. QUICK_EDIT
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