2c-Campaign1Skirmish.wz name is too long

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

2c-Campaign1Skirmish.wz name is too long

Post by jaakan »

The name seems to be too long it is a fun map but 2 hours in I decided to save...

Log message: error |01:23:33: [writeGameFile] Unable to save level name - too long (max 20) - Sk-Campaign1Skirmish-T1
Log message: error |01:23:33: [writeGameFile] Assert in Warzone: game.c:4829 (strlen(aLevelName) < MAX_LEVEL_SIZE), last script event: 'N/A'

the map name should be
2c-Campaign1.wz
Sk-Campaign1-T1
Sk-Campaign1-T2
Sk-Campaign1-T3

Since Sk = Skirmish it seems kind of redundant to have it in the name too.
Changing the name I think is an easier fix than changing the game code.

In the longer term I guess the limit should be up'd but maybe display the first 15 characters + the last 3 for any names over 20 characters.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: 2c-Campaign1Skirmish.wz name is too long

Post by lav_coyote25 »

shorten it to

cam1skirmish
xD
User avatar
NEXUS
Trained
Trained
Posts: 166
Joined: 11 Nov 2007, 02:36
Location: USA

Re: 2c-Campaign1Skirmish.wz name is too long

Post by NEXUS »

HI I am glad you enjoyed the map, I did not realize that the name of the map was to long when I made it as I cannot get a stdrr file of any kind on my Vista laptop.

Feel free to shorten the map name, I will up load a new version with a shorter name today. ;)
User avatar
NEXUS
Trained
Trained
Posts: 166
Joined: 11 Nov 2007, 02:36
Location: USA

Re: 2c-Campaign1Skirmish.wz name is too long

Post by NEXUS »

Here is the updated version of the file with the name shortened.
Attachments
2c-Cam1Map.wz
Updated version of 2c-Campaign1Skirmish that you can save. :) GPL
(41.15 KiB) Downloaded 168 times
Post Reply