Dette spil er nu tilgængeligt på Steam!

Tak for din hjælp med at få dette spil valgt til distribution via Steam. Mere information, inklusivt et link til butikssiden på Steam, kan findes nedenfor.

Hammerwatch
hipshot  [udvikler] 4. jun 2013 kl. 11:41am
Editor, help and questions
We haven't made any guide or such for the editor, but let's use this thread for editor questions and similar.

Extra resources:
  • http://www.zfight.com/misc/files/hw/level_2.zip
  • http://www.zfight.com/misc/files/hw/survival.zip


Keys (for now):

Basic:
  • WASD - move around
  • LMB - Select and drag select
  • RMB - Spawn item
  • ARROWS - move selected item
  • CTRL-ALT-LMB - Connect a script element to another
  • CTRL-T - Start level(play the game from the level start)
  • CTRl-SHIFT-T Start level on camera (still need the level start entity)

  • 1-8 - Change grid
  • 0 - Hide grid (grid still active)

  • H - Hide selected
  • SHIFT-H - Unhide all

  • ALT-1 - Tilemap layer
  • ALT-2 - Doodad layer
  • ALT-3 - Script layer
  • ALT-4 - Character layer
  • ALT-5 - Item layer
  • ALT-6 - Lighting layer

Advanced:
  • CTRL-R - Reload Assets, like if you changed something externaly like graphics or xmls

  • F1 - Toggle collision shapes
  • F2 - Toggle soft shadows
  • F3 - Toggle ambient occlusion
  • F4 - Toggle tile map borders
  • F5 - Statistics, like keys and such
  • F6 - Minimap overlay

  • SHIFT-F1 - Toggle tilemaps
  • SHIFT-F2 - Toggle doodads
  • SHIFT-F3 - Toggle scripts
  • SHIFT-F4 - Toggle characters
  • SHIFT-F5 - Toggle items
  • SHIFT-F6 - Toggle lighting

You can right click on any item in the list and open File location or the respecitve xml and edit this directly.
Sidst redigeret af hipshot; 9. jun 2013 kl. 1:51pm
Viser 1-15 af 503 kommentarer
< >
Sick Memes Bro 4. jun 2013 kl. 12:10pm 
FIRST
Sidst redigeret af Sick Memes Bro; 15. jan kl. 4:14am
Myran  [udvikler] 4. jun 2013 kl. 12:51pm 
Switch to the Scripting tab and select a shape (CircleShape or RectangleShape), this shape will define where the shop is available. Then also create a ShopArea, this will define what's in the shop. Connect the shop area to the shape by clicking the button that says Shape and then selecting the shape(s), press Esc when you've selected any shapes you want for the shop (or space to clear). Then for Categories you enter what types of shop categories you want, if you want more than one just just separate them with a space.
The existing categories are:
misc1, misc2, misc3, misc4, misc5, power, combo1, combo2, combo3, combo4, combo5, off1, off2, off3, off4, off5, def1, def2, def3, def4, def5

So if you want the shop to have every offensive upgrade you just set categories to "off1 off2 off3 off4 off5"
Sick Memes Bro 4. jun 2013 kl. 12:59pm 
what about breakable walls?

(also my friend has got a problem with a missing sound error)

----- SOUND ERROR - HMW BETA 1.04 DEBUG -----
System.TypeInitializationException: Typinitieraren för OpenTK.Audio.AudioContext utlöste ett undantag. ---> System.TypeInitializationException: Typinitieraren för OpenTK.Audio.AudioDeviceEnumerator utlöste ett undantag. ---> System.DllNotFoundException: Det gick inte att läsa in DLL-filen openal32.dll: Det går inte att hitta den angivna modulen. (Undantag från HRESULT: 0x8007007E)
vid OpenTK.Audio.OpenAL.Alc.MakeContextCurrent(IntPtr context)
vid OpenTK.Audio.OpenAL.Alc.MakeContextCurrent(ContextHandle context)
vid OpenTK.Audio.AudioDeviceEnumerator..cctor()
--- ♥♥♥♥ på stackspårning för interna undantag ---
vid OpenTK.Audio.AudioDeviceEnumerator.get_IsOpenALSupported()
vid OpenTK.Audio.AudioContext..cctor()
--- ♥♥♥♥ på stackspårning för interna undantag ---
vid OpenTK.Audio.AudioContext.get_DefaultDevice()
vid TiltedEngine.Audio.SoundEngine.Initialize(Single glblVol, Single musicVol, Single sfxVol) i C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\Audio\SoundEngine.cs:rad 59
-----

♥♥♥♥ = end
Sidst redigeret af Sick Memes Bro; 4. jun 2013 kl. 1:03pm
Myran  [udvikler] 4. jun 2013 kl. 1:14pm 
Okay, heres an example of breakable wall, http://hammerwatch.com/examples/breakable_wall.xml
The idea is basically to have a doodad with a bunch of states with different graphics, then listen to a Hit event on that doodad and change the graphics, then when enough hits have been done you destroy that doodad and spawn a new one which is just a hole and no collision.

Does your friends sound error disappear if he removes the OpenAL32.dll file?
Sick Memes Bro 4. jun 2013 kl. 1:22pm 
i know how to test the levels but only one at a time how do i edit the levels.xml to be able to select multiple levels ingame
Sidst redigeret af Sick Memes Bro; 4. jun 2013 kl. 1:32pm
Sick Memes Bro 4. jun 2013 kl. 1:25pm 
Oprindeligt skrevet af Myran:

Does your friends sound error disappear if he removes the OpenAL32.dll file?
no it was because he didn't add sound to the level he was testing
Myran  [udvikler] 4. jun 2013 kl. 1:36pm 
Oprindeligt skrevet af Theshadow_911:
i know how to test the levels but only one at a time how do i edit the levels.xml to be able to select multiple levels ingame
I'm not entierly sure what you mean. Each folder in the editor folder is a scenario and each scenario can contain multiple levels. So the level select in the game is really a scenario selection and to go go between levels in a scenario you need to do LevelExitAreas.

DM 4. jun 2013 kl. 1:44pm 
The editor doesn't seem to be working for me at all; I'm using a Mac, so I loaded it via mono in the terminal, but once its started up it won't open anything. The terminal keeps returning a warning that "file does not exist." Halp!
Sick Memes Bro 4. jun 2013 kl. 1:45pm 
well how to have multiple scenarios then?
sammy 4. jun 2013 kl. 1:55pm 
So can we play user created levels?
will there be a place people can post them?
Myran  [udvikler] 4. jun 2013 kl. 1:55pm 
Aimery: The editor hasn't really been tested on Mac or Linux yet, but does nothing happend if you select a doodad and right click in the main window to place it?

Theshadow_911: Just create a new folder with the info.xml and level.xml files and it should show up in the debug build (Hammerwatch.exe in the editor folder), to make the scenario work in the release build (the regular Hammerwatch.exe) you need to create a .hbm file which is done with the LevelPacker.exe (just drag a scenario folder to LevelPacker and it should output a .hbm)
Myran  [udvikler] 4. jun 2013 kl. 1:58pm 
flamespeedy: Yes, they can be played. The only restriction is that the beta won't create save files when running user created levels.
Sir Brownman Gupta III 4. jun 2013 kl. 2:09pm 
Hi, I have two questions. One I just got the updated one (I got 1.3 the other day),but I can't seem to get the HammerEditor running. Whenever I click on it it comes up but the screen is black. I was wondering if that is a bug maybe, or if I just didn't extract the files right? And two, when this game comes out will it be free or will it cost money. Anyway, thanks and I really look forward to this game. Really am into it!
Sidst redigeret af Sir Brownman Gupta III; 4. jun 2013 kl. 2:51pm
of asgard 4. jun 2013 kl. 2:27pm 
I'm having trouble understanding the editor. I can make a .xml level with the editor but I don't know where to go from there to make it playable. When I finish the level and press "save", it saves to a .XML file, but I don't know how to get the info.xml, levels.xml and all the other stuff that make it ready to pack into a HBM file.
Sidst redigeret af of asgard; 4. jun 2013 kl. 2:30pm
DM 4. jun 2013 kl. 2:41pm 
Myran—nothing happens, and the terminal returns this error: /Users/joshgraboff/Desktop/hammerwatch_beta_1.04/assets/actors/tower_flower_1_razed.xml does not exist.
Viser 1-15 af 503 kommentarer
< >
Per side: 15 30 50