PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Mapdesign error

Can't find heightmap.tga


Why? The name is
heightmap.tga
and it is in the folder. I draged the folder onto the app and also tried the "send to" option.

Whats wrong ? :?
A bug in AgMapGen. It doesn't support paths (the folder and parent folders) with spaces in them. I didn't notice this during development of Ag because I had no spaces in those folders.

// Fredrik
I noticed that as well. It also requires texture.tga instead of texturemap.tga as listed in the manual.
Problem is, it always creates bullshit (sorry) images, meaning they contain blocks etc of different greyscales. Which, uhm, sucks. yeah. my map would be out by now if it worked.
The docs say texture.tga...you sure you read right? ;)

(After talking with Shapeshifter on MSN we realized that Paint Shop Pro 5 adds some stuff to the TGA making it all messed up. He tried running it through an other application and it worked)
I use PSP 7.02. Maybe thats the problem ? But I cant afford Photoshop ..

So whats the solution ?
Got it. Used ADCSee. But PSP should work fine also. I had the files on my desktop. And the path to the desktop contained spaces...

:arrow: Better fix that ! :roll:
Ok, Done so far, got my first map up and running. Hint for others, set the winning condition by clicking on your QH and set cond. to loose if destroyed and click on enemy HQ to win if destroyed (or whatever condition you want).

Definately I would need some docs on the Attack/Defend Status of units - they all change either to attack or defend... any docs ?
First: If your argmap generates LOOSE conditions instead of LOSE then download the SDK again...there might have been an error.

As for status (only applies to enemy units):
Static: Just stands still until someone comes in range
Defending: Unit is set as a defence units and will protect buildings that are attacked.
Attacking: This unit is available for an attack force. If no attack is being made then the unit will be a part of the defence force
My copy says loose in the left pane, but my maps still work right..
Ok, maybe it was just the interface that was wrong....yes...think it was.
But when I set a unit to ATTACK, all units show ATTACK, and once I change any unit to DEFEND, all units show DEFEND.

Whats wrong ?
I actually think that is a bug in ArgMap, but can also be used as an advantage.

If you doubleclick a unit it will read the properties from that unit and adjust the dialog accordingly. Clicking the "more" button it apparantly doesn't read the data. This could be to your advantage if you want to set the same properties to a lot of units and want to save some clicks.
Shows how buggy my code is ;). I can't belive I was proud of it about six months ago... I am busy at work on the new version, though.

Another argmap bug is when you set a unit event to Loose: destroy it actually sets it to Win:destroy.
So when someone blows up your command center, you win :roll:

There is an easy fix, however: go to your argamp folder, go to \data\argentum\, open the unitevents.txt file, and change the last part of the second line to

"condition(LOSE,DESTROY)"

(I put loose by accident, then fixed it)