Announcement

Collapse
No announcement yet.

Need help editing Battleship to carry nukes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help editing Battleship to carry nukes

    I would like to carry a couple nukes/cruise missiles on a battleship. I edited the units.txt adding CanCarry SmallAir and the CargoData section (4 lines cut and pasted from the Aircraft Carrier section, but edited to only carry 2 units). In the game, the Battleship icon window shows 2 boxes for units, but I cannot load a nuke or cruise missile in it. Can somebody help me out here? Thanks.

  • #2
    Easy fix.... just make sure you've added the following lines in this order... order seems to make a big difference in this game...

    quote:


    CanAttack: Sea
    CanAttack: ShallowWater
    CanBombard: Land
    CanBombard: Mountain
    CanBombard: Water
    CanCarry: SmallAir #change here
    CanSee: Standard
    MovementType: Sea
    MovementType: ShallowWater
    Size: Large
    VisionClass: Standard

    CanReform {
    Sound SOUND_ID_REFORM_CITY
    Effect SPECEFFECT_REFORMCITY
    }

    CargoData { #changed
    MaxCargo 2 #changed
    Load SOUND_ID_TRIREME_LOAD #changed
    Unload SOUND_ID_TRIREME_UNLOAD #changed
    } #changed



    You can change the sounddata for cargo to whatever you want but it's important to have all the info above..

    Hope that helps you out

    Omni
    [This message has been edited by OmniGod (edited December 09, 2000).]

    Comment


    • #3
      Well, I've got it just like you showed, but it still doesn't work! Will it only work after starting a new game? I'm loading up saved games (restarting the program of course)

      Comment


      • #4
        It should work when you restart ctp2 but if you try to start a scenario, then it won't work if units.txt is replaced... there should be no reason it shouldn't work... if you want I'll email you my units.txt since it's working in my game...

        Omni

        Comment


        • #5
          If you would e-mail it to me I would appreciate it.

          Thanks!

          daviddewitt@uswest.net

          Comment


          • #6
            Thanks for sending your file, but it doesn't work either.

            It does go in Ctp2_data\default\gamedata, right?

            Maybe when I start a new game it will work

            Thanks again OmniGod!

            Comment


            • #7
              Worth a try.. you're welcome.. and goodluck

              Omni

              Comment


              • #8
                As far as I know these changes should only work if you start a new game; not if you continue a saved game.

                Comment


                • #9
                  I've noticed that changes I make only take effect after a start a new game. I wanted Ship-of-the-lines to be able to carry a single land unit. No matter what I did, it wouldnt work until i started a new game then it worked fine.

                  Comment


                  • #10
                    I didn't realise but each change that I made I always just started a small 3 civ game to test... thus was oblivious to the fact that I wasn't running a saved game and that's what this whole thread was about... stupid stupid omni...

                    Omni - the red-faced

                    Comment

                    Working...
                    X