Ok Im not the best tutorial writer but here it is. Be happy to discuss any of it.
Building a building game:
This explanation assumes you are familiar with Excel (or some other spreadsheet); Tradewars 2002, TEDIT, have the ability to write simple scripts, and can connect to TEDIT with what ever program you use to run the scripts.
For this example I will describe how to make a universe that has two areas. A 5k sector bubble and a 15k sector bubble that will connect to form a 20k sector universe.
Start by banging 3 games. A 5k, 15k and 20k sector game.
Next you will need a map of the 5k and 15k sector game.
I use AccurateZTM (posted at
http://www.oregonsouth.com/ice9/AccurateZTM.exe) (Case sensitive) to export a map of each of the two universes then I suck them into swath and re export them in a CSV (comma delaminated) format. It does not really matter how you do it, you just need maps in a format you can get into excel. I then import the two CSV files into excel.
Now you have 2 excel files. One that contains your 5k sector map and one that contains your 15k sector map. The first thing you need to do here is add 5000 to every cell on your 15k sector map. So now instead of the first line showing sector 1 leading to 2, 3, 4, 5, 6 and 7 (if that’s what it shows) it shows sector 5000 leading to sector 5002, 5003, 5004, 5005, 5006 and 5007
Next copy and paste the 15k sector map into the excel window that has the 5k sector map. You should now have one large spread sheet with 20,000 sectors.
So you have a spreadsheet with 20k rows and 7 columns. Column 1 is the sector and column 2 thru 7 are the warps for column 1’s sector. Most of the sectors do not have 6 warps so some of the cells are blank. You need to replace these blanks with 0’s.
Goto cell h1 and use the formula =IF(B1 = "",0,B1) . Then copy h1 and select a 20k x 6 cell area starting with h1 (click h1 then hold down the shift key and click m20,000 is an easy way to select them) then paste. You should now see the same map but with all the 0’s filled in. Highlight the new map again (h1 thru m20,000) and choose copy then from the top drop down menu choose edit/paste special and click the values radio button in the window that pops up and click ok. What this does is replaces =if formulas in all those cells with hard numbers. Now you can delete columns b thru g and you should be left with a perfect map of your soon to be 20k sector universe that shows all the warps.
Save the spreadsheet in an CSV format.
Now you need a script that you can run while in tedit. Goto the 20k sector game and write a script that will loop 20,000 times and replace all the warps with the values from your csv file. I cant really tell you how to do this as I used an old qmodem pro script and odds are you will use something else.
Once your done you have a universe with two exclusive areas, meaning you cant get from one to the other so you need to use tedit to punch a hole between the two. I punched my hole from sector 10 to sector 5000. because sector 5k-20k was once its own universe sectors 5001 to 5010 look a whole lot like fed space. That make 5001 a perfect entrance. I also wrote a script to change the sector description from unexplored space or what ever to Federation Regulated Space in sectors 11-5000 and something like Federation neutral zone in sectors 5001-5010
So that’s how to build the game, lets move onto settings and maintenance. The first thing I would do is punch a hole from sector 10 to SD so you always have access from fed space. Next I would punch a few one ways from the 15k universe to SD to make the bad guys who have to post a fig to get to SD happy. Now you need a script to keep your 5k sector universe clean of fighters and mines. This script will run constantly on the twgs server. The one I used would loop through sector 1 to 5000 and set fighter and mines to 0 and remove navhaz. It also would go into a sub script every 100 sectors and clean the sectors around SD and sectors 5000-5010. I did this by talking the current sector and dividing it by 100 and checking to see if there was a remainder or if it divided evenly. If it divided evenly I would run the sub script. This had the effect of giving a fighter in any sector up to a 1 hour life span and a fighter around Sd or sectors 5000-5010 about a 1 minute life span. This worked our really well as a lot of the regular players would sell off planets to the ports so they could co drop figs and move a planet in most of the time before the fig was eaten by the script.
The reason I clean 5000-5010 is to keep someone from trying to lock up the 15k sector universe. The script would also make a beacon that said something like all mines and ftrs removed without notice.
So that’s basically it. You can use the same ideas to build all kinds of custom universes. The last one a wrote was called the neutral zone and had 7 universes combined. FRS was cut to 2k sectors and I had a Klingon, Romulan and ferrengi empire. Though I had to do some fancy foot work to keep the buggeres in their own space but that’s a subject for another time