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

Posted (edited)

NOTE: THIS IS TESTED AND WILL WORK ON CNCNET ONLY. SKILLS IN MAP FILE EDITING AND TRIGGER AND MODDING KNOWLEDGE IS REQUIRED.


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
Posted (edited)

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

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 FunkyFr3sh
      Looking for testers for a new release of TS-DDraw. 
       
      Download: https://github.com/CnCNet/ts-ddraw/releases
       

      Should work for Tiberian Sun, Red Alert 2 and Yuri's Revenge. 
       
       
      For all those who don't know TS-DDraw, this is what it can do: 
      Working windowed mode without having to change windows to 16bit 
      Makes the game running smooth on Windows XP / 7 / 8 / 10  and wine (Need testers for Vista!) 
      Can fix black screens, invisible menus and other issues
       
       
       
       
       
      ddraw.zip
    • By T800
      Hello,
      I need help in regards of slow savegame loading and lately some random crashes. I searched alot the internet for a solution, but couldn't find one. I emphasize, that it effects only Firestorm, at least i didn't faced with the followings, while playing through TS. The game version, what i play, is downloaded from CNCNet, but the current game directory containes the file, which i listed in the attached txt file.
      Actually, even FS was working fine, until i reached the 7. GDI mission (The Cyborgs Are Coming). I used to save my game periodically and after some time, when saved and then attempted to reload the state, it took extremely long, which means about 1,5 hours! Once i was able to continue playing, after another bit of time spent, the reloading would took God knows how long, since after 3,5 hours i killed the Game.exe process. It looks like the game freezes, but in fact it doesn't, if one is patient enough, it'll be loaded sometime...
      In addition, until now only in this mission, i encountered with crashes unexpectedly twice, when a popup appeared and informed me, that the game cannot continue properly this way, etc., stc.. I also attached the crashlog. Even though, until this point, i played the game on a Virtualbox XP Pro SP3 machine - with 1,25 GB of RAM and the maximal 128 MB VRAM - and after several trials, tested the game on a Windows 7 Ultimate 32bit VM too (with 1,25 GB RAM and 256 MB VRAM). At last, now i'm running it on an old physical machine (CPU: P4 3.4 GHZ, 3 GB RAM, Geforce  7950 GT VGA) and after hours, i'm still waiting for the game to be loaded. I already tried every imaginable variations of config values (in sun.ini, ddraw.ini, aqrit.cfg), then even updated ddraw to the latest version (1.1.4.15). It's also pretty weird, that even on the real PC, ddraw wouldn't use openGL rendering, only GDI, even though, the configuration is auto (attached a screenshot). One more thing worth to note, game starts to lag and slow down a bit sometimes, while i'm about after 65% of this mission. I thought, it's because of GDI rendering and the number of map objects and units, but earlier, there was already missions, with similar sized maps and number of units and everything worked fine then.
      All in all, i can't finish this mission and proceed to the next one, so i really need help. Thanks in advance.
       
      Regards,
      T800

      tibsun_files.txt except.txt
    • By FunkyFr3sh
      Below you can find a tutorial about adding support for any mod to CnCNet. No matter if you created the mod or if it's a random mod you found somewhere on the internet. Make sure you check the README.txt.
      http://downloads.cncnet.org/ExampleMod.zip
       
      Works for Tiberian Sun, Red Alert and Tiberian Dawn.
    • By Wilko
      I am trying to play Tiberium Sun on my mac book pro (I know not ideal for gaming but im using what I have). 
      As soon as I start up the game from the menu I am met with a blank black screen, However, I can hear the game, select buttons, go through the menus but I can't see it.
      Ive tried to just install the skirmish/multiplayer version and ive started a game and all sounds normal, selecting units, music etc but I can't see it!  Im running Mojave 10.14.1
    • By 1_Ranger4thekill
      I just installed the "TSinstaller.exe" and I can't open any of the Main menu "I click on options button and it doesn't do anything" for Tiberian Sun? Note: there's no Information in the Documentation folder.



  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...