Author Topic: A little mod for OP2  (Read 11959 times)

Offline Savant_Ace

  • Full Member
  • ***
  • Posts: 102
    • http://www.spitfire-sa.com/
A little mod for OP2
« on: March 08, 2005, 02:42:40 AM »
To all who are interested: I've spent a little time and with continuous error-correction from Hooman, I've succesfully created a modification for Outpost 2 that changes the Tech tree entirley. In this mod, you have to build a basic lab and study things to get a standard lab, but thats just one small aspect to it. This mod adds well over 15 new research topics and their respective effects on the game. It's usefullness applies to the hinders of severe overpopulation and colony management. It also can be applied to multiplayer games for combat. Anyone interested in this mod should contact me through IRC because I don't know how to post files here @.@;;.

It's a good bit of fun if you want a little more kick outta OP2 then normal, but I'm sure most people won't like some of the changes. Anyhow.


Note: The downside to this Is I don't know how to edit script files, so I can't set the colony games to not start out with a standard lab. If you want to single-player this to its maximum potential, you have to play a colony game with a difficulty setting that doesn't include a standard lab.

 

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
A little mod for OP2
« Reply #1 on: March 08, 2005, 05:36:49 AM »
Send me the mod and ill get it posted for all to download.

Rember guys when using mods back up your original files and every1 who is playing the game needs to use the same moded files or it wont work. Going back to normal mod, just remove the moded files and rename the originals to normal names :) HF

Offline Punboy

  • Full Member
  • ***
  • Posts: 142
A little mod for OP2
« Reply #2 on: March 10, 2005, 11:57:09 AM »
Or install two copies of the game, and mod one of them. lol
Help control the human population. Have your spouse spayed or neutered.

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
A little mod for OP2
« Reply #3 on: March 10, 2005, 07:11:16 PM »
Only two copies?  ;)

I tried that for a while but I've had way too many mods done to keep track of. I always managed to muck up the fresh copy I have for multiplayer.  :blush:  

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
A little mod for OP2
« Reply #4 on: March 14, 2005, 05:25:05 AM »
Wen i was clearning some files from old install i found about 10 OP2 installs.

I've been sorting OP2 files and i have least 15 installs.

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
A little mod for OP2
« Reply #5 on: March 14, 2005, 08:43:09 AM »
:huh: ... ok, now that's maybe a little excessive.  

Offline coolzero

  • Full Member
  • ***
  • Posts: 106
    • http://www.trippyac.com
A little mod for OP2
« Reply #6 on: March 14, 2005, 09:23:14 AM »
sounds cool where is the mod?

btw this is totlay of topic but dont you see more a face in this  :op2:  then a planet with some satelite around it you have 2 admid you do see a face in it if you concentrate cous  i always have seen a face in it
« Last Edit: March 14, 2005, 10:27:44 AM by Leviathan »
becous havning my signature 5720 characters long or so is a little crazy and hacker would prob del my signature again i diseded to make a pic of it ... this is acualy my name in letters highlighted. i just took a ss  :D

Offline Punboy

  • Full Member
  • ***
  • Posts: 142
A little mod for OP2
« Reply #7 on: March 14, 2005, 10:57:17 AM »
Dude... punctuation! Use the english language CORRECTLY.
Help control the human population. Have your spouse spayed or neutered.

Offline neutrino

  • Newbie
  • *
  • Posts: 28
A little mod for OP2
« Reply #8 on: March 23, 2005, 07:37:42 PM »
I always have my 2 op2 installs with me, they are loaded on my USB key. :)

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #9 on: March 23, 2005, 08:16:17 PM »
Good idea neutrino....

BTW get the mod to Levi..I wanna see this

^_^
I look to see, in the mirror.

All I see, is that he is me.

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
A little mod for OP2
« Reply #10 on: March 23, 2005, 08:56:41 PM »

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #11 on: March 23, 2005, 09:30:04 PM »
Nice but uh oh...a bug :(

The Geothermal Generator...

It cuts out as soon as I select or hold cursor over it...

Good job otherwise! YOu give me hope for coding!

^_^
I look to see, in the mirror.

All I see, is that he is me.

Offline Savant_Ace

  • Full Member
  • ***
  • Posts: 102
    • http://www.spitfire-sa.com/
A little mod for OP2
« Reply #12 on: March 24, 2005, 12:54:06 AM »
I have no problem with geothermal plants whatsoever. anyone else try this mod yet? I need more input to see if the bug is because of a problem in my coding. Nightmare, Try it on plymouth, too. Its fun, theres defferent topics for each side
and I have a recent edition with Arachnid mods.  (thumbsup) I'll send it to Levy..

Offline Savant_Ace

  • Full Member
  • ***
  • Posts: 102
    • http://www.spitfire-sa.com/
A little mod for OP2
« Reply #13 on: March 24, 2005, 12:56:17 AM »
By the way did you get into the nanotech part? all the best mods are there. BUt you have to study quantum physics and a bunch of s*** first.

Offline <emp>(elementals)Eric

  • Newbie
  • *
  • Posts: 13
A little mod for OP2
« Reply #14 on: March 24, 2005, 05:23:22 PM »
the modsounds interesting, but i don't like the concept of having two op2s... it just doesn't seem right to me... i have the same problem using hotkeys but hey. thats just me!
I live in my own little world where don't push me or i'll shove you is the only rule!

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
A little mod for OP2
« Reply #15 on: March 24, 2005, 05:31:15 PM »
its a mod, a different version of the game.
it cant be that different.
mainly diff game rules and research

good mod! :D

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #16 on: March 24, 2005, 08:11:37 PM »
I really like it!

And due whyen ur done, just delete the two text files.

^_^
I look to see, in the mirror.

All I see, is that he is me.

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #17 on: December 23, 2006, 08:47:54 PM »
YYYEEESSSS I FINALLY FOUND THIS MUDDAFUKKAH!!!! yes!

Now is there any way that we could continue work on this mod, as its seems easy enough to do and not take a lot of time to add more topics? Extend OP2 life in say a Colony Game :).

 
I look to see, in the mirror.

All I see, is that he is me.

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
A little mod for OP2
« Reply #18 on: December 23, 2006, 10:05:12 PM »
Tech tree mods are very easy to do. Go ahead an do it. :)

Just take a look at the format of the existing files. It's not too hard to see how they did it and follow along. This mod was basically just a new multitek.txt file from what I remember.

The easiest way to work on a tech tree mod, is to extract multitek.txt from the VOL file, and place it in the OP2 directory. Edit the file as much as you want, and use the colony games to test it out. Then when it's ready to distribute, you'll probably want to rename it, and make a level that references it.

If you don't change the name, be prepared to expect checksum errors in multiplayer when someone with the mod tries to play someone without it. This can be rather annoying for people with only one install of OP2 that want to try your level and tech tree without mucking up their ability to play multiplayer. Even if you don't make a level, I suggest renaming it before distributing it, then they can always copy and rename it to multitek.txt to try it out. It'd be easy to delete that one file when they are done to go back to the original settings, and still keep your mod around under the different file name.


Some points to remember for tech tree mods.
- Follow the format in the files, and don't forget tags that you should have (like the end tag for each tech)
- Make sure the tech ID is a unique number
- Take a look at how techs are given for free at startup for each colony, and what techs they are not able to research. This is done by setting the research cost to 0 or -1. Which leads me to:
- A colony may be given techs for free that only the other colony can research. This basically lets you simplify your tech tree when both colonies can research a tech, but they have different prerequisits for it. By giving the prerequisite tech to the colony that can't research it, you avoid having to create two copies of that whole line of techs in your tech tree.
- The lab tag controls which lab the tech is researched at (basic, standard, advanced)
- If you want to force basic lab research before the standard lab is available, then make the standard lab tech rely on all techs that must first be researched at the advanced lab. You might want to take a look at the campaign tech trees instead of multitek.txt for an example of this.
- Rember that a tech will only appear for research once ALL of it's prerequist techs that you list for it have been researched.
- Most buildings in the game are buildable once you have the tech of the same name. Most of these techs are given for free (cost 0) at the start of the game. You may change this however to affect how and in what order buildings become available. If you know how to get the standard lab to appear after all basic lab research has been completed, then you probably have a very good idea how to work with this.
- The research cost can different between the eden and plymouth colonies. Instead of using a COST tag, you can use the cost tag that is specific to that colony. Make sure you specify a cost for both colonies however. Either through a single COST tag, or both individual tags. Note that this is used to make a tech available to only one colony.
- Certain tech IDs are hardcoded into the game engine. So don't change the tech IDs of existing techs with special affects that are not specified through the use of tags. Examples of this are the disaster warn techs. Colony morale techs also depend on hard coded tech IDs to determine when the morale effects kick in. (At least as far as I remember). The techs that give buildings also probably work this way.
- Techs given from wreckage must have a tech ID above a certain value. I think it was 8000 up to 8000 + 4095. You might want to do a search for info on this if you're unsure and plan to give a tech through collecting wreckage. (Also keep in mind when placing wreckage on a map, that it will only behave as wreckage on certain terrain types, so make sure you place it somewhere where it is recognized properly. If you're unsure and plan to do this, try doing a search for info on it).
« Last Edit: December 23, 2006, 10:11:26 PM by Hooman »

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #19 on: January 15, 2007, 08:12:06 AM »
Real nice! I played Eden Starship with it....

Still Geothermal ain't working for some reason....odd....
I look to see, in the mirror.

All I see, is that he is me.

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #20 on: January 24, 2007, 08:09:10 AM »
Ok I think I found what was wrong with this mod's Geothermal plants don''t work - most of the values for it are missing. Gotta fill em in Ill do.

EDIT : Okay they are not missing....just missplaced quite a bit...I fixed it and its working nicely now. Maybe I should touch up the rest of it so the research topics aren't so messy.
« Last Edit: January 24, 2007, 12:32:56 PM by Nightmare24148 »
I look to see, in the mirror.

All I see, is that he is me.

Offline DarekStar

  • Jr. Member
  • **
  • Posts: 79
A little mod for OP2
« Reply #21 on: February 05, 2007, 03:27:27 PM »
Hey Nightmare24148 could you show what you did to fix it plz.
-Darek

Caution this user refuses to spell check or even try and spell corectly unless posting a story.

so bare with him

Offline Nightmare24148

  • Full Member
  • ***
  • Posts: 148
A little mod for OP2
« Reply #22 on: February 25, 2007, 04:05:59 PM »
Okay I dont have it with me right now, but if I remember correctly, load up the  txt file with all the structure's attributes in columns, and look for Geothermal Plant or w/e. You'll see there that a lot of the values are misplaced...so just use the Backspace key to delete some of that extra spacing and all the values should fall into line.
I look to see, in the mirror.

All I see, is that he is me.

Offline DarekStar

  • Jr. Member
  • **
  • Posts: 79
A little mod for OP2
« Reply #23 on: March 28, 2007, 04:20:48 PM »
Hey all i found out how to reserch the basic lab into build inventory

You must have the building file out of the outpost foldere or it whont work

1st go to botum of file and take and delete
========================
BEGIN_TECH "Basic Lab" 02106
    CATEGORY        0
    COST            0
END_TECH
========================
and move it to top and alter it to this
========================
BEGIN_TECH "Basic Lab" 02106
    CATEGORY        0
    DESCRIPTION     "We Need a basic lab to begin rebuilding"
    TEASER          "This new lab will be the 1st step in servival begin dezining"
    COST            100
    MAX_SCIENTISTS  5
    LAB             2
END_TECH
======================== (thumbsup)  
-Darek

Caution this user refuses to spell check or even try and spell corectly unless posting a story.

so bare with him

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
A little mod for OP2
« Reply #24 on: March 28, 2007, 06:33:59 PM »
An example of that has been posted here.

It also handles the basic lab techs that you normally need to research in the campaigns, and if you don't give the techs to the player at the start of the level, then it forces them to research them before they can build a standard lab. Might as well add a use for the basic lab if you're going to allow the player to build one.

It also offers an extra option for people who want to put the Tiger Speed Modification from Wreckage into their level.