Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Holland

(TS) Ion collectors as Oil derricks (like RA2)

Recommended Posts

NOTE: THIS IS TESTED AND ON CNCNET ONLY. SKILLS IN MAP FILE EDITING AND TRIGGER AND MODDING KNOWLEDGE IS REQUIRED. (Should work with spawn hexed, and credit trigger hexed clients like tsclient)

 

Or skip the tutorial, and Download map template with pre-made oil derricks: oilderricks template.mpr

This Tutorial and files and codes have an updated version, see my next comments


INTRO

I've used Lin Kuei Ominae's "Ion collector" as oilderrick in map. it seems perfect for TS's form of RA2's oil derricks

ICC_ingameanim.gif

It makes for very interesting gameplay in TS, so far many people online really enjoyed it. Rampastring's Spawn patch and Give Credits trigger make so much possible, and this is just a glimpse of it.  It's been tested on 3 maps so far, and has potential to be added on standard maps as well, just for fun. On these test version, the Ion Collectors will give you 100 credits every 10 seconds, and some power. Its a nice bonus, and even if you can keep your collector for 50 (tibsun) seconds, after its being hijacked by someone else, you at least have your engineer money back, and had the ability to build next to it. Of course the entire building is modifiable, right now its immune, can't be sold and you only need 1 engineer to capture it. (despite multi engineer) 

This is a nice map i found from the mod "The Second Tiberium War", just cuz i thought it was so pretty, i added them there to test and its a pretty smooth 1v1 gameplay
SCRN0027.jpg

This map are 2 more with these are in the attachments below. Note that these still have the testing 100$ per 10 seconds, and lots of power. in This tutorial on the other hand, reduced to $85 and little power.

TUTORIAL

Since it takes a big load of triggers to create the oil derrick logic, i figured to make it easier on everyone else, and provided a simple way to get them in your map. It is to simply copy paste the trigger codes in your map file. And attach the triggers (in Final Sun) to the building. (I also added a second approach in the attachment RAR file, using XCC_INI_CLT)


THIS IS 1 SINGLE OIL DERRICK! DOWNLOAD OILDERRICK.RAR FOR 1,2,4 AND 8 OIL DERRICKS! 

[b]; If you already have triggers, Just copy paste the content under Tags, Events, Triggers, and Actions below your existing ones.
; This content includes [Houses], make sure you don't double copy it[/b]


[Triggers]
01L10002=Neutral,01L10020,attach to Oilderrick#1,0,1,1,1,0
01L10004=Spawn1,<none>,Oilderrick#1 - spawn1,1,1,1,1,0
01L10006=Spawn2,<none>,Oilderrick#1 - spawn2,1,1,1,1,0
01L10008=Spawn3,<none>,Oilderrick#1 - spawn3,1,1,1,1,0
01L10010=Spawn4,<none>,Oilderrick#1 - spawn4,1,1,1,1,0
01L10012=Spawn5,<none>,Oilderrick#1 - spawn5,1,1,1,1,0
01L10014=Spawn7,<none>,Oilderrick#1 - spawn7,1,1,1,1,0
01L10016=Spawn6,<none>,Oilderrick#1 - spawn6,1,1,1,1,0
01L10018=Spawn8,<none>,Oilderrick#1 - spawn8,1,1,1,1,0
01L10020=Neutral,01L10022,Oilderrick#1 Captured by 2 ,0,1,1,1,0
01L10022=Neutral,01L10024,Oilderrick#1 Captured by 3 ,0,1,1,1,0
01L10024=Neutral,01L10026,Oilderrick#1 Captured by 4 ,0,1,1,1,0
01L10026=Neutral,01L10028,Oilderrick#1 Captured by 5 ,0,1,1,1,0
01L10028=Neutral,01L10030,Oilderrick#1 Captured by 6 ,0,1,1,1,0
01L10030=Neutral,01L10032,Oilderrick#1 Captured by 7 ,0,1,1,1,0
01L10032=Neutral,01L10162,Oilderrick#1 Captured by 8 ,0,1,1,1,0

[Actions]
01L10002=9,14,0,50,0,0,0,0,A,53,2,01L10004,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10004=1,106,0,50,85,0,0,0,A
01L10006=1,106,0,51,85,0,0,0,A
01L10008=1,106,0,52,85,0,0,0,A
01L10010=1,106,0,53,85,0,0,0,A
01L10012=1,106,0,54,85,0,0,0,A
01L10014=1,106,0,56,85,0,0,0,A
01L10016=1,106,0,55,85,0,0,0,A
01L10018=1,106,0,57,85,0,0,0,A
01L10020=9,14,0,51,0,0,0,0,A,53,2,01L10006,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10022=9,14,0,52,0,0,0,0,A,53,2,01L10008,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10024=9,14,0,53,0,0,0,0,A,53,2,01L10010,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10026=9,14,0,54,0,0,0,0,A,53,2,01L10012,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10028=9,14,0,55,0,0,0,0,A,53,2,01L10016,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10030=9,14,0,56,0,0,0,0,A,53,2,01L10014,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10004,0,0,0,0,A,54,2,01L10018,0,0,0,0,A
01L10032=9,14,0,57,0,0,0,0,A,53,2,01L10018,0,0,0,0,A,54,2,01L10006,0,0,0,0,A,54,2,01L10008,0,0,0,0,A,54,2,01L10010,0,0,0,0,A,54,2,01L10012,0,0,0,0,A,54,2,01L10016,0,0,0,0,A,54,2,01L10014,0,0,0,0,A,54,2,01L10004,0,0,0,0,A

[Events]
01L10002=1,1,0,50
01L10004=1,13,0,10
01L10006=1,13,0,10
01L10008=1,13,0,10
01L10010=1,13,0,10
01L10012=1,13,0,10
01L10014=1,13,0,10
01L10016=1,13,0,10
01L10018=1,13,0,10
01L10020=1,1,0,51
01L10022=1,1,0,52
01L10024=1,1,0,53
01L10026=1,1,0,54
01L10028=1,1,0,55
01L10030=1,1,0,56
01L10032=1,1,0,57


[Tags]
01L10003=2,ATTACH TO OILDERRICK #1 1,01L10002
01L10005=2,Oilderrick#1 - spawn1 1,01L10004
01L10007=2,Oilderrick#1 - spawn2 1,01L10006
01L10009=2,Oilderrick#1 - spawn3 1,01L10008
01L10011=2,Oilderrick#1 - spawn4 1,01L10010
01L10013=2,Oilderrick#1 - spawn5 1,01L10012
01L10015=2,Oilderrick#1 - spawn7 1,01L10014
01L10017=2,Oilderrick#1 - spawn6 1,01L10016
01L10019=2,Oilderrick#1 - spawn8 1,01L10018

[Houses]
0=GDI
1=Nod
2=Neutral
3=Special
50=Spawn1
51=Spawn2
52=Spawn3
53=Spawn4
54=Spawn5
55=Spawn6
56=Spawn7
57=Spawn8

Save, Open Final Sun and Attach #Oilderrick1 to your oilderrick building!

To Change the amount of credits, Select all copied lines under Actions, Replace all:  ,85,  replace with ,youramount,
To change the delay between credits, select everything under Events, Replace all: ,10  replace with ,youramount 
(Using notepad++ you can select columns holding ALT 

Now to add your Charge Collector, copy these codes in your map, if you already have mods or imported rules.ini in your map, then make sure you don't double up on [Animations] and [BuildingTypes] (YOU CAN SKIP THIS STEP IF YOU USE A DIFFERENT BUILDING)



[Animations]
1045=ICCPP_A
1046=ICCPP_AD
1047=ICCPP_B
1048=ICCPP_C
1049=ICCPP_C2

[BuildingTypes]
277=ICCPP
278=ICCPPUP
381=ICCPPUP1
382=ICCPPUP2
383=ICCPPUP3

[ICCPP]
Cost=800
Name=Ion Charge Collector
Armor=heavy
Owner=GDI,Nod
Power=10
Sight=4
Crewed=yes
Immune=yes
Points=40
Adjacent=8
Strength=15000
Upgrades=3
Explosion=FIREEXPL
MaxDebris=6
TechLevel=-1
Capturable=true
Unsellable=yes
ThreatPosed=0
TogglePower=no
DamageSmokeOffset=300, 300, 450
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys

[ICCPPUP]
Cost=300
Name=Charge Collector
Armor=wood
Image=ICCPP_C
Owner=GDI
Power=2
Sight=1
Crewed=no
Points=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
TechLevel=-1
Capturable=no
ThreatPosed=0
PowersUpToLevel=-1
PowersUpBuilding=ICCPP

[ICCPPUP1]
Cost=1000
Name=Charge Collector AI
Armor=wood
Image=ICCPP_C
Owner=GDI,Special
Power=2
Sight=1
Crewed=no
Points=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
TechLevel=9
BuildLimit=0
Capturable=no
AIBuildThis=yes
ThreatPosed=0
Prerequisite=BARRACKS,ICCPP
PowersUpToLevel=-1
PowersUpBuilding=ICCPP

[ICCPPUP2]
Cost=1000
Name=Charge Collector AI
Armor=wood
Image=ICCPP_C
Owner=GDI,Special
Power=2
Sight=1
Crewed=no
Points=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
TechLevel=9
BuildLimit=0
Capturable=no
AIBuildThis=yes
ThreatPosed=0
Prerequisite=BARRACKS,ICCPP
PowersUpToLevel=-1
PowersUpBuilding=ICCPP

[ICCPPUP3]
Cost=1000
Name=Charge Collector AI
Armor=wood
Image=ICCPP_C
Owner=GDI,Special
Power=2
Sight=1
Crewed=no
Points=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
TechLevel=9
BuildLimit=0
Capturable=no
AIBuildThis=yes
ThreatPosed=0
Prerequisite=BARRACKS,ICCPP
PowersUpToLevel=-1
PowersUpBuilding=ICCPP

Make all the edits you want, there is a trigger that stops the money going when building is destroyed by C4. Use BridgeRepairHut=yes to avoid C4
; Make sure you use Notepad's 'replace all' function (ctrl+f) And check "In selection only", AND ofcourse, if you mess something up just use CTRL+Z (undo)


HOW THIS WORKS/HOW IT'S MADE
If you want to make something similar, first make sure the client you use is updated with the latest hacks, so it will include being able to use Spawn locations in triggers, activating it by adding the [Houses] list in your map as listed in the code. Plus the give credits should be in the hack too. (TS-Client should have this, but have not tested this yet)

To create a "give credits" trigger, you have to make sure you have the right edits in FSData.ini in the Final Sun folder. Under [Actions] number 106 should be:

106=Give Credits...,0,2,5,0,0,0,0,0,0,Give credits to a specific house.,1,0,106

Make this change and save if its not there.

The triggers have been created with Final sun's, under Edit> trigger editor (with disabled beginner mode under Options), using 8 repeating triggers with events "Entered by" with spawn1 as parameter in the first triggers, spawn2 in the next, etc. all with Action "enable trigger", enabling each their own Trigger, the "give credits" loop, and also 7 disable all other houses credits loop. So the give credits loop need another 8 repeating triggers, Using event Time elapse, and action give credits. Make sure you have all the triggers options owner set to Neutral and repeating. Then you attach the "entered by spawn1" to your oil derricks, and in that same trigger's options attach the"entered by spawn2" trigger, and in that trigger attach spawn3, etc.

You can download one of the maps i attached here, to check it out yourself and see how the trigger's work. 

So this how to create 1 single oil derrick and its logic, its alot of clicking i know, so I've used PTapioK's amazing time safer software "TSWaveMaker" To clone all the triggers use its ascending parameters to quickly clone them. But You could probably copy paste them (under lists actions, events, tags, triggers) and simply change the ID's (I use Notepad++, using holding alt and select the colomn i wanna change, then go to edit> column editor, that way you can quickly change a list of ID's)

WHAT CAN GO WRONG?
Using 2 different editor on the same file could delete your work. So Always make sure you Reload the file Each time you made an edit. Using a software like notepad++ will always ask you to reload it, Final sun does NOT. 
If this will crash its possible that the client you're using isn't up to date, for this is tested and working in CnCnet.
I Made each oilderrick's trigger ID to start with "01L1", and the second "01L2", etc. so you should not have any trigger duplicates
And once again, if you already have triggers, you have to cut/copy all content under  [Tags],[Triggers],[Actions],[Events] or use my alternate way i used in the RAR attachment file

Using triggers can always crash untested, and so its smart to test every little thing first. Or ever smarter, get a coach that knows alot about final sun. Me, Ptapiok, Humble, Skylegend, and many others don't mind helping you on on the discord sever https://discord.gg/CMMVFYk  if you have any trouble what so ever.

OTHER THEN ALL OF THAT, COPYING ALL CODES UNDER [Tags],[Triggers],[Actions],[Events] will most likely work (on CnCnet for sure). 

Download OILDERRICK.rar in attachment:

 

SCRN0035.jpg

 

SCRN0016.jpg

arid chasm ion collectors.map conflict oilderricks.map GSO oilderricks.map OILDERRICK.rar

Edited by Holland
  • Like 2

Share this post


Link to post
Share on other sites

I've played one map with Holland's oil derricks. It's so innovative. One can create lots of different cool scenarios with this. 👍👍

Edited by topol

Share this post


Link to post
Share on other sites

Updated this again, there was a few flaws in there, totally forgot to add the "When destroyed (or sold), Stop money income"

I believe its perfect now.

 

download attached file, im not gonna copy paste it in here since it takes up the entire page lol

8OILDERRICKS.INI

Edited by Holland

Share this post


Link to post
Share on other sites

To make it all a bit easier, here is a starting template for if u wanna make a map with oil derricks.

Use this map template to make your map. The pyramids are the oil derricks, giving $85 per 10 sec, read the tutorial above on how to change it.
You can also change the pyramids into ICCPP (the ion collector as shown on top of this topic) or any other building by using notepad's replace function.

oilderricks template.mpr

Click to download ^^

1189084957_OILDERRICKSTEMPLATE.thumb.jpg.3e8bf5f566ec3cd971f30c4476daf31b.jpg

Any questions, let me know

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By [email protected]
      I got the complete whatchawhatever from Origin and I'm trying to relive the wonderful days of my introduction to RTS, but it seems as if none of the games are functioning.
      For Tiberian Sun, clicking anything in the menu freezes the whole program.

      For C&C RA2/YR, the mouse is invisible.
      And so on.

      Is it really necessary to download third party patches for games that Origin (Electronic Assholes) are charging money for?

      You have my thanks and best wishes,
      Me
    • By Niksaandewashand
      Hi Guys,
      I'm fairly new to this, but I wanted to make some slight changed to the veterancy settings in the rules.ini and firestorm.ini. I was using the guide from this website: http://tiberian.iwarp.com/editingguidetots.htm to get me started. There are a few things I don't understand. There are VeteranAbilities and EliteAbilities, as well as a bundge of multipliers for veterancy bonuses (veteran factors). I figured out that to make the veteran factors work, they need to be in correspondence with the VeteranAbility or EliteAbility it corresponds with (e.g. "VeteranCombat" factor corresponds with the "FIREPOWER" VeteranAbility that is to be added in the unit characteristics under VeteranAbility or EliteAbility (if I'm off somewhere, please correct me).
      What I want to achieve is a veterancy bonus for FIREPOWER for example when the unit gains veterancy and I would like to give it another bonus when it turns elite. The sample below is how I tried to achieve that with the Hover MRLS:
      ---
      Name=Hover MLRS
      Category=AFV
      TargetLaser=yes
      FireAngle=32
      Prerequisite=GAWEAP,GARADR
      Primary=HoverMissile
      TooBigToFitUnderBridge=true
      Strength=230
      Armor=wood
      TechLevel=7
      CrateGoodie=yes
      Sight=7
      Speed=7
      Owner=GDI
      Cost=900
      Turret=yes
      Points=30
      ROT=5
      Crusher=no
      Crewed=yes
      Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
      VoiceSelect=25-I000,25-I002,25-I004,25-I006
      VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
      VoiceAttack=25-I014,25-I022,25-I024,25-I026
      VoiceFeedback=
      MaxDebris=4
      SpeedType=Hover
      Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
      MovementZone=AmphibiousDestroyer
      ThreatPosed=25    ; This value MUST be 0 for all building addons
      DamageParticleSystems=SparkSys,SmallGreySSys
      VeteranAbilities=FASTER,STRONGER,FIREPOWER,ROF,SIGHT
      EliteAbilities=SELF_HEAL,FASTER,STRONGER,FIREPOWER,ROF,SIGHT
      ---
      When I test this, I found it only get's the bonus on first veterancy, but not a second time when going to Elite (even though that is what I put in the rules.ini).
      Can someone tell me what I am doing wrong and how should I achieve this? It is simply meant to make the whole deal of gaining veterancy and elite status more gratifying.
      Thanks!
    • By FunkyFr3sh
      Running CnCNet server using systemd (Linux x64)
       
      wget downloads.cncnet.org/tunnel.sh sh tunnel.sh 200 "Unnamed Server" If you're unsure what linux distro to choose, just take the latest version of Ubuntu
       
       
      Using the above method you can run both CnCNet servers as a service and they will continue to run even after the server restarted.
       
      Alternatively you can also run the servers individually (see below):
       
       
       
       
       
      New Server (All Games)
       
       
      Linux x64 example:
      wget -c https://downloads.cncnet.org/cncnet-server.tgz -O - | tar -xz nohup ./cncnet-server --name "My cool server" --maxclients 200 --port 50001 --portv2 50000 > cncnet-server.log 2>&1 & Linux ARM
       
       
      Windows:
      On XP, Vista and 7 make sure .NET 4.0 is installed: https://www.microsoft.com/en-US/download/details.aspx?id=17113
      Download the server and start it: http://downloads.cncnet.org/cncnet-server-gui.exe
       
       
      Note: Servers are chosen automatically by CnCNet and are only used in case 2 players fail to establish a Peer-To-Peer connection. Yuri's Revenge players can select a specific server via the advanced settings while hosting a game room.
       
       
       
       
       
      Old Server (Yuris Revenge only)
       
       
      Linux (Ubuntu) example:
      sudo apt-get install default-jre wget http://downloads.cncnet.org/cncnet-tunnel.exe nohup java -jar cncnet-tunnel.exe -name "My cool server" -maxclients 200 -port 50000 -headless > cncnet-tunnel.log 2>&1 &  
       
      Windows:
      Download the server and start it: http://downloads.cncnet.org/cncnet-tunnel.exe
       
       
      Note:  To use a specific server you'll have to select it via the advanced settings while hosting a game room.
       
       
       
       
       
      The servers will not show up instantly on the website, it can take up to 4 hours
       
       
       
    • By NasperMTY
      I Am unable to Update Tiberian Sun after installation, i turn off Windows Firewall and still message with timeout while trying to download updates, can i download the update manualy?
    • By Uridine
      https://drive.google.com/open?id=1w-50ge0eQdvbfTHmKH5n-aQm-gno3B0s
       
      I have been receiving this error code when I try to download the movies from the installer or using the component installer. Does anyone know what this is?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...