Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Myran

Pages: [1] 2 3 ... 13
Hammerwatch Discussion / Re: Possible to get old (pre-FMOD) version?
« on: November 12, 2018, 12:42:52 AM »
In Steam if you go in to properties on Hammerwatch and select the BETAS tab there's a few older versions to pick from. Also, just so you know, I think GOG has this feature automatically in their Galaxy client. The feature might be too new for Hammerwatch, but it should work on newer games.

Technical Support / Re: about the fonts in the game
« on: July 17, 2016, 03:42:02 AM »
I'm sorry, there is no real way of solving this :\ Because of how the game is made the fonts are rendered at the resolution of the rest of the menus and stuff, this means menu layouts would have to change to actually fit in bigger text, which is just too much work for us at this point. In theory you could do that yourself, change the font to a larger one and change the .gui files everywhere it doesn't fit, but tbh it would be a significant amount of work.

Using this tool:

You would create replacement fonts for the ones we have, and just overwrite the ones we use.
If you drag and drop the assets.bin file on the ResourceExtractor.exe you can go in to the assets folder and replace assets/menus/px-10 and assets/menus/px-20

Editor Discussion / Re: Original Campaigns
« on: June 28, 2016, 05:57:07 PM »
You can't easily do it, but here are the source level files for the two campaigns so you can play them in debug:

The fonts we use just don't have those characters. You could replace the fonts, but I don't even know if its doable to make such small (6 pixels i think) chinese fonts?

Technical Support / Re: Everything is red?
« on: April 01, 2016, 06:42:05 PM »
Can you try setting "no-shaders" as the launch option?

So, this really hasn't been tested enough yet, but if you go in to Properties in Hammerwatch in Steam, select Betas and put in this as an access code: BetaTesting132
you'll get access to a test version 1.32, does that help with the music thing?

So I haven't actually looked at how those traps are scripted, but a fairly common issue is when you make a loop by having scripts chained together and having a delay on their connections those delayed script executions are actually saved and loaded whenever you exit and reenter the levels. This means that if you execute the first link in your loop on LevelLoaded it will both load from the save and also execute from LevelLoaded so your loop will then run twice at the same time, and getting worse each time you enter the level.
So to test if this is what's happening just exit and enter the level a bunch of times and see if the traps get more and more messed up. The solution is to have the LevelLoaded event that triggers the traps only execute once.

We're looking in to the looping music bug, but I'm just not sure when we'll be able to push out a patch :\

Technical Support / Re: Game crashes while starting up
« on: January 10, 2016, 03:09:12 PM »
The problem is with your graphics card, the driver crashes when compiling one of the shaders. Are there any newer graphics card drivers available for your system?

Technical Support / Re: No sound on linux x86-64
« on: November 21, 2015, 04:27:40 PM »
Ah sorry. What version of the game are you running, 1.31? My guess is that it selects the wrong audio device as default. I'm not that well versed in audio on Linux, but is your first device (nr 0) the one it should pick?

Hammerwatch Discussion / Re: Weird question about game resolution
« on: May 19, 2015, 12:56:47 AM »
Well, the number 704 isn't really chosen for any reason other than what we like the view distance to be.

Here is the code that sets the scale:
Code: [Select]
if (WorldDrawer.RenderSettings.LetterBox)
height = (int)Math.Round(width / (16f / 9f));

Width = width;
Height = height;

var idealScale = (height + width) / 44;
if (width / (float)height > 2.5f)
idealScale = height / 16;

int scale;
var scales = new[] { 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192 };
for (scale = 1; scales[scale] < idealScale; scale++) ;

if (Math.Abs(idealScale - scales[scale]) > Math.Abs(idealScale - scales[scale - 1]))

cam.ScaleFact = scales[scale];

So I set the ideal scale to be "(height + width) / 44", then I adjust it to get an even multiplier of the pixels so that we can have pixel-perfect rendering. That 44 gets multiplied by 16 in the render code since 16 is the scale that the sprites are at (and 44*16 is 704). So changing that zooms the camera in or out and we just set it to whatever we thought was good.
This breaks at weird aspect ratios which is why I added the "if (width / (float)height > 2.5f)" check.

Technical Support / Re: Black screen,only hear music[PLS HELP :3]
« on: February 13, 2015, 08:36:28 PM »
Well, so something seems to have happened with your OpenGL support. Did you change graphics card or update your drivers? Do other games work? I don't think there's anything I can do :\ If the game worked and then it just stopped working even if you reinstall then I don't think there's anything the game did.

Bug Reports / Re: Difficulty Troubleshooting
« on: February 06, 2015, 03:16:15 PM »
If you only had 1 health and no mana regeneration it seems like you were playing with modifiers. If you start a custom game and press the modifiers button there are a few challenges there that you can turn on. The modifiers are separate from the difficulty, so you could play on easy but with the no extra lives modifier, if you'd want to.

Technical Support / Re: Black screen,only hear music[PLS HELP :3]
« on: February 03, 2015, 11:40:06 AM »
Okay, do you get a game.log or error.txt file in your game folder? If so please post them here. Also delete the config.xml file to make sure it's not something weird there.

Technical Support / Re: Old Game Version Available?
« on: February 03, 2015, 11:37:43 AM »
I don't remember when those changes were made, but you can try downgrading to 1.2 in Steam by going in to properties on Hammerwatch, go to the BETAS tab and enter the password 'OldVersion120' which will unlock an option in the drop-down box, select that option and Steam should downgrade.

Pages: [1] 2 3 ... 13