Site:
 News/Home
 CNC Guild Forums
 Submissions
 Contact Staff
 
 Downloads:
 Voxels:
 Aircraft
 Ground
 Naval
 Voxel Comp ´06

 SHPs:
 Infantry
 Buildings
 Animation
 Other

 Icons:
 Packs
 Buildings
 Armored
 Infantry

 Maps:
 RA2 Mp maps
 RA2 Sp maps
 YR Mp maps
 YR Sp maps
 Other

 Other:
 paFileDB
 GFX Packs
 TSGFX Packs
 Tutorials
 Utilities
 Mods
 Sounds
 
 Recommended Downloads:
 Ares
 
RA2 Missions Argentina -English-

Add Oil Derrick logic to a structure
Submitted by ArgCmdr


This is a matter that is asked several times, and answered less and less each time because of that.

Basically people want to either edit Oil Derricks or add their functionality to other buildings, for example construction yards. The way to do so, is adding the three correspondant strings under the buildings section, plus a fourth and fifth one in case you want to have it:

ProduceCashStartup=X ; Change X for the ammount of credits you want the structure to provide when captured off Neutral -NOT OFF OTHER PLAYER -
ProduceCashAmount=Y ; Change Y for the ammount of cash it will produce...
ProduceCashDelay=Z ; ...Every Z frames (15 frames = 1 second)

Other additional strings are :

CaptureEvaEvent= EVA_OilRefineryCaptured ; which makes the correspondant EVA speech to be made upon capture
WorkingSound=OilDerrickLoop ; which makes sound to be played at the location of building as long as it is online.

> Back to Tutorials

Favourites: 
Ares 
Mental Omega 
raminator CnC 
Sleipnir's Stuff 
Wagnerma.de 
 
Webmaster: 
Nighthawk 
 
Affiliates: 
CNC Guild 
Project Perfect Mod 
CNC Source 
Sudden Strike 
C&C Reloaded 
Revora Frontpage 
Revora Hosting 

This site is best viewed at 1024x786  
Aqua Arg site design created by Mig Eater © 1999-2006 Team Revenge  
Should there be any problems with the site, please contact the current webmaster