Jump to content

Help with ComputerCraft config file


Recommended Posts

So I'm trying to do a big project in ComputerCraft, and I wanted to change the distance that modems operate on(and the terminal text color, less important, still fun), here's what I'd like the file to look like:

#MLProperties: name (type:default) min:max -- information
#MLProp : computerBlockID (int:207)
#MLProp : diskDriveBlockID (int:208)
#MLProp : diskItemID (int:4000)
#MLProp : enableAPI_http (int:0)
#MLProp : terminal_width (int:50)
#MLProp : terminal_height (int:18)
#MLProp : terminal_textColour_r (int:0)
#MLProp : terminal_textColour_g (int:255)
#MLProp : terminal_textColour_b (int:0)
#MLProp : modem_range (int:512)
#MLProp : modem_rangeDuringStorm (int:512)
#
#Tue Jun 03 21:10:24 EDT 2014
terminal_width=50
terminal_textColour_g=255
modem_rangeDuringStorm=512
computerBlockID=207
diskItemID=4000
diskDriveBlockID=208
enableAPI_http=0
terminal_textColour_b=0
checksum=440
terminal_textColour_r=0
modem_range=512
diskDriveGUIID=100
terminal_height=18

However, each time I open my tekkit installation through the launcher it reverts it back to the following:

#MLProperties: name (type:default) min:max -- information
#MLProp : computerBlockID (int:207)
#MLProp : diskDriveBlockID (int:208)
#MLProp : diskItemID (int:4000)
#MLProp : enableAPI_http (int:0)
#MLProp : terminal_width (int:50)
#MLProp : terminal_height (int:18)
#MLProp : terminal_textColour_r (int:255)
#MLProp : terminal_textColour_g (int:255)
#MLProp : terminal_textColour_b (int:255)
#MLProp : modem_range (int:64)
#MLProp : modem_rangeDuringStorm (int:16)
#
#Tue Jun 03 21:10:24 EDT 2014
terminal_width=50
terminal_textColour_g=255
modem_rangeDuringStorm=512
computerBlockID=207
diskItemID=4000
diskDriveBlockID=208
enableAPI_http=0
terminal_textColour_b=0
checksum=440
terminal_textColour_r=0
modem_range=512
diskDriveGUIID=100
terminal_height=18

Any help is greatly appreciated, I would prefer not to have to start all over with updated mods and such.

Link to comment
Share on other sites

  • 2 weeks later...

Are you sure you're editing the right config file ? Because mine looks like this:

# Configuration file

####################
# block
####################

block {
    # The Block ID for Cables
    I:cableBlockID=763

    # The Block ID for Computers
    I:computerBlockID=764

    # The Block ID for all Peripherals
    I:peripheralBlockID=765
}


####################
# general
####################

general {
    # The disk space limit for computers and turtles, in bytes
    I:computerSpaceLimit=2097152

    # Enable the "http" API on Computers
    B:enableAPI_http=true

    # Enable Command Block support
    B:enableCommandBlock=false

    # The disk space limit for floppy disks, in bytes
    I:floppySpaceLimit=524288

    # The range of Wireless Modems at maximum altitude in clear weather, in meters
    I:modem_highAltitudeRange=384

    # The range of Wireless Modems at maximum altitude in stormy weather, in meters
    I:modem_highAltitudeRangeDuringStorm=64

    # The range of Wireless Modems at low altitude in clear weather, in meters
    I:modem_range=64

    # The range of Wireless Modems at low altitude in stormy weather, in meters
    I:modem_rangeDuringStorm=16

    # The height of Computer screens, in characters
    I:terminal_height=19

    # The width of Computer screens, in characters
    I:terminal_width=51

    # The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks.
    I:treasureDiskLootFrequency=1
}


####################
# item
####################

item {
    # The Item ID for Coloured Floppy Disks
    I:diskExpandedItemID=5626

    # The Item ID for Floppy Disks
    I:diskItemID=5627

    # The Item ID for Printouts
    I:printoutItemID=5628

    # The Item ID for Treasure Disks
    I:treasureDiskItemID=4003
}


It's in config/ComputerCraft.cfg

Link to comment
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
 Share

×
×
  • Create New...