Knuckle Cracker

Creeper World 3 => Custom Map Discussion => Topic started by: Grabz on April 25, 2018, 08:13:17 PM

Title: [CW3] CW1 Series Mapping Template
Post by: Grabz on April 25, 2018, 08:13:17 PM
Ever wanted to make CW1 maps in CW3? Fear not, I got you covered!

(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=5736)

This template features:

If you have questions/issues/suggestions write here or ask me on Discord at Grabz#4707 if you need a faster response.

This map uses very little CRPL, meaning you don't need to know much to use it. However, there's some things you have to keep in mind:

Map Finalize Checklist:
Dos:
Don'ts:

Now for some more advanced instructions...

Map resizing
Spoiler

So you want to resize the map, huh. Unfortunately, my map uses SetTerrainOverride, which will corrupt your map if you try resizing it. However, we can temporarily disable it, resize the map, then switch it back on. Follow these steps precisely:

  • Go to Scripts and open Map.crpl in your favorite text editor.
  • Scroll all the way down, until you find this line of code:
    (https://imgur.com/YBEffIm.png)
  • Remove the # from the third line, and place it at the beginning of the fourth line, like this:
    (https://i.imgur.com/T4erBup.png)
  • Save the file. Go back to the editor and hit Load.
  • Hit save.
  • Now, in the editor, hit the Terrain button, make the game window really tiny, then zoom all the way in and move the camera all the way to the top left corner of the screen, something like so:
    (https://i.imgur.com/I7zwiob.png)
    This is to ensure that the custom elevation indicator on the UI does not get destroyed when resizing.
  • Hit Resize Map, and resize the map to whichever dimensions you like (don't pick numbers too small, or the custom elevation indicator will get destroyed).
  • Save, then Load.
  • Go back to the script, and reverse the change you did from step 3, then save the file.
  • Now Load, then Save. The map should be good to go. Repeat this process each time you need to resize...

How do you know it worked and nothing's broken? Paint some terrain, place some emitters. If the emitters work, and they adhere to terrain according to the custom elevation indicator rather than the built-in one, you're good. If things are broken, feel free to write to me on Discord on the KC discord channel and I'll help you out.
[close]

Creeper flow rate
Spoiler

The map also contains a UI element that shows flow rate. I added it to have more variety in this template. You can change creeper flow rate by clicking on the invisible core in top left, like so:
(https://i.imgur.com/MlzOvWr.png)

Default value is 0.2, which is normal flow. 1.0 is the flow speed of creeper on digitalis. You can choose values between 0 and 1. The UI indicator will show these values as five times higher than this (1-5).
[close]
Title: Re: [CW3] CW1 Series Mapping Template
Post by: Grabz on April 25, 2018, 08:18:09 PM
Changelog:

V2 - 2018-04-26
* Added the ability to change creeper flow rate in Map.crpl input variable and added a HUD element displaying it.