Announcement

Collapse
No announcement yet.

An idea that's been kicked around some

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

  • #31
    Big mc whats that script supposed to do? It runs but all its done is remove the alpha channel that sprite edit adds.
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

    Comment


    • #32
      and made a new one which compiles?
      "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
      The BIG MC making ctp2 a much unsafer place.
      Visit the big mc’s website

      Comment


      • #33
        IT should kill the alpha edit the hue and then make a new alpha.
        "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
        The BIG MC making ctp2 a much unsafer place.
        Visit the big mc’s website

        Comment


        • #34
          No, it didnt create a new alpha channel.

          It didnt change the hue either.
          Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
          CtP2 AE Wiki & Modding Reference
          One way to compile the CtP2 Source Code.

          Comment


          • #35
            should do open the script in notepad.
            "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
            The BIG MC making ctp2 a much unsafer place.
            Visit the big mc’s website

            Comment


            • #36
              When i do open it in notepad it says there an error in it.

              Unexpected Error: JascApp.InvalidParameterValid
              Trackback:
              File "D:\Program Files\Jasc Software Inc\Paint Shop Pro 8\Python Libraries\Parser.py", line 156, in Do
              val = Convert(sp, Environment)
              File "D:\Program Files\Jasc Software Inc\Paint Shop Pro 8\Python Libraries\Parser.py", line 89, in Convert
              AllCmdInfo = App.Do(Environment, 'GetCommandInfo', {
              None
              Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
              CtP2 AE Wiki & Modding Reference
              One way to compile the CtP2 Source Code.

              Comment


              • #37
                you may have to make a new one i can tell you wat to do if you like
                "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                The BIG MC making ctp2 a much unsafer place.
                Visit the big mc’s website

                Comment


                • #38
                  Yeah i was trying to but i dont know correct proceedure to destroy alpha channel, change hue, and create new alpha channel.
                  Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                  CtP2 AE Wiki & Modding Reference
                  One way to compile the CtP2 Source Code.

                  Comment


                  • #39
                    here it goes hope it helps


                    Start with load up guxx1.1.tga

                    Now start recording your script (you may wish to run throw this first.

                    Layers > load/save mask > load mask from alpha channel

                    Load up the alpha channel

                    Layers> merge>visible

                    Adjust > hue and saturation > hue/saturation/lightness

                    Fiddle with the hue settings to get the correct colours

                    Now

                    Adjust > colour balance>black and white points

                    Set them so there is no black left on an image (the second colour on the black screen at 27,27,27)

                    Next to make the new alpha ( note the old alpha is just replaced)

                    Layers> new raster Layer

                    Now paint this Layer pure black

                    Then

                    Layers >arrange >send to bottom

                    Layers> merge>visible

                    Layers > load/save mask > save mask from alpha channel

                    Now save using the same name as the first mask it will prompt for over right

                    Layers> new raster Layer

                    Now paint this Layer pure black

                    Layers> merge>visible


                    Now save the script

                    To alter the hue values you can do it again or just do the hue in a new script then copy it over to the old script in notepad
                    "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                    The BIG MC making ctp2 a much unsafer place.
                    Visit the big mc’s website

                    Comment


                    • #40
                      Originally posted by The Big Mc
                      here it goes hope it helps


                      Start with load up guxx1.1.tga

                      Now start recording your script (you may wish to run throw this first.

                      Layers > load/save mask > load mask from alpha channel

                      Load up the alpha channel

                      Layers> merge>visible

                      Adjust > hue and saturation > hue/saturation/lightness

                      Fiddle with the hue settings to get the correct colours

                      Now

                      Adjust > colour balance>black and white points

                      Set them so there is no black left on an image (the second colour on the black screen at 27,27,27)

                      Next to make the new alpha ( note the old alpha is just replaced)

                      Layers> new raster Layer

                      Now paint this Layer pure black

                      Then

                      Layers >arrange >send to bottom

                      Layers> merge>visible

                      Layers > load/save mask > save mask from alpha channel

                      Now save using the same name as the first mask it will prompt for over right

                      Layers> new raster Layer

                      Now paint this Layer pure black

                      Layers> merge>visible


                      Now save the script

                      To alter the hue values you can do it again or just do the hue in a new script then copy it over to the old script in notepad
                      Having a problem with the part highlighted above. Once ive merged all the visible layers it wont let me "save mask to alpha channel".
                      Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                      CtP2 AE Wiki & Modding Reference
                      One way to compile the CtP2 Source Code.

                      Comment


                      • #41


                        What about make a new mask. sorry forgot to tell you that.
                        "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                        The BIG MC making ctp2 a much unsafer place.
                        Visit the big mc’s website

                        Comment


                        • #42
                          I noticed the exported shadow pictures from sprite edit dont come with alpha channels, but the unit pictures do. That might be why i cant get a script working on them all together, like ill have to do the shadows seperately.
                          Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                          CtP2 AE Wiki & Modding Reference
                          One way to compile the CtP2 Source Code.

                          Comment


                          • #43
                            they should not have an alpha. just pure black on a white background.
                            "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                            The BIG MC making ctp2 a much unsafer place.
                            Visit the big mc’s website

                            Comment


                            • #44
                              Okay that explains that, dumb question i suppose. I might actually get somewhere now.
                              Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                              CtP2 AE Wiki & Modding Reference
                              One way to compile the CtP2 Source Code.

                              Comment


                              • #45
                                dp
                                "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                                The BIG MC making ctp2 a much unsafer place.
                                Visit the big mc’s website

                                Comment

                                Working...
                                X