Announcement

Collapse
No announcement yet.

[C4:AC][Programming] Adding a Terraformer

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

  • [C4:AC][Programming] Adding a Terraformer

    Using the default templates for the GERMAN_PANZER and the WORKER, I added a Terraformer unit to the game.

    Basically, this means that I cloned the worker and replaced the cloned worker 3d graphics with the german unique unit graphics.

    Adding various text entries for the new unit is not a problem and the prerequisite technologies can be set easily too. The main problem I am facing (disregarding adding new 3d graphics) is adding SMACX sounds to go with the new unit. Setting up the references for the sounds to be played seems fairly easy, however, the MOD crashes whenever I add a new .wav file (the file itself and the file references). Perhaps some Python coding is required set the sound; perhaps I am doing something wrong--I have no idea.

    Any help with adding proper unit sounds would be appreciated.

    For now, here's a screenshot of the terraformer:
    Attached Files

  • #2
    I should probably finish up a former model....

    soon...

    not tonight

    Comment


    • #3
      I've been able to isolate the sound problems to the comments I've been adding to the .xml. Some files accept comments, while others choose to crash the game if comments are present--at least that is what I've experienced. Though, it could be entirely my inability to properly add comments.

      Now the Terraformer has the correct SMACX sound when selected and I made Centauri Ecology the prerequisite technology, so I added that technology as well--along with some icon graphics and sound quote.

      Here's a screenshot of the technology prequisite:
      Attached Files

      Comment


      • #4
        Rubin you seem to be needing a nice set of SMAC tech icons right?
        -- What history has taught us is that people do not learn from history.
        -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

        Comment


        • #5
          Originally posted by binTravkin
          Rubin you seem to be needing a nice set of SMAC tech icons right?
          I do? Could you elaborate, please? I don't understand what you have in mind.

          Comment


          • #6
            Eh? the Cent.eco icon looks very nice and shiny.
            It would fit in great if the transparent background was darker (which we'll probably want to do for AC theme).

            Comment


            • #7
              There are several ways to implement the SMACX technology icons. Some random thoughts: Being true to both SMACX and CivIV, we can use scaled versions of the original SMACX icons--ideally using a transparant background. Another option is to modify the original SMACX icons to better fit any improved graphics. Alternatively, we can design an entirely new set of graphics to go with the technologies, buildings, etc. Finally, we may be able to redo the CivIV interface and create a genuine SMACX look; to this, we can simply use the original SMACX icons converted to the proper file format.

              I don't know what the majority wants. I don't know exactly what the end result ideally should look like. But, I'd like to help and to this I need a bit of direction.

              Comment


              • #8
                I would like having both original icons (which are probably the simplest to implement) and modified icons like Rubin's one. Perhaps a poll is indeed in order?
                SMAC/X FAQ | Chiron Archives
                The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. --G.B.Shaw

                Comment

                Working...
                X