.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old January 12th, 2007, 06:30 AM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: [Perl] need beta testers for map file parsing

Thanks for the feedback.

Let's see what has been ignored :

@specstart 0 257 --Southern Escarpment

??? shouldn't it be #specstart and not @specstart
Is it another usable syntax ?


'#commander "Wizard"',
'#bodyguards 5 "Summer Lion"',
'#units 7 "Hydra"',

Ok, forgot that units could be set with their name and not only their ID. Will be easy to fix.

'#maptextcol -1.00 -1.00 -1.00 -1.00

Ok, didn't think of negative value, easy to fix.

'#knowfeature "Assassins Guild"

Isn't it supposed to be
"#knownfeature" and not "#knowfeature" ?
Error in the original mal file, or are both syntax usable ?

'#startspell 68 "Acashic Record"',
'#startspell 68 "Charm"',
'#startspell 68 "Enslave Mind"',
'#startspell 68 "Cloud Trapeze"',
'#god 68 246',
'#nostart 1214'

Hum, ... those should have worked. There must be an error in the regular expressions.


----

OK, just finished a new version


- Reported errors should be fixed now.
- comments no longer put in 'leftover', they now get they own 'comments' key in the map structure
- new script : map_validator.pl (and the corresponding map_validator.bat)
This script parse the map file, and if there are leftover commands not recognized, he list them.
- test.pl updated to work the same as map_validator.pl, but will still create the ouput.txt file with the full structure.


In Included both map files you provided in the archive, as they are both good exemples for the map validator.
(Faerun has several syntax errors)
Attached Files
File Type: rar 486626-JTmap.rar (62.1 KB, 117 views)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.