MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002935VCMIRandom Map Generatorpublic2018-03-26 15:492018-03-26 19:59
ReporterPovelitel 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.99 
Target VersionFixed in Version 
Summary0002935: Rampart are generated not on the grass (Teamplate 6LM10a)
DescriptionUssually castle, rampart and conflux are generated strictly on the grass on this template.

There is no binding of the city to its native land.
TagsNo tags attached.
Attached Files? file icon greatSands.JSON [^] (9,419 bytes) 2018-03-26 17:13

- Relationships

-  Notes
(0007541)
misiokles (reporter)
2018-03-26 15:57

Because in appropiate json we have:
"matchTerrainToTown" : false,
It means that generated town can be on non-native ground. Question is - is that in original rng.txt file? I think all templates should be review to get 100% argeement with H3 template patterns.
(0007542)
Warmonger (administrator)
2018-03-26 16:56

These were converted automatically with a script. Want to check it manually? :P

However, I remember some templates from teh pack were loking really poor, so I deleted them. This coudl be possibly due to flawed conversion.
(0007543)
misiokles (reporter)
2018-03-26 17:13

Yes, there are some issues that must be considered.

- Kantor's script can't make players amount input as a range. So all OH3 and HDMod templates have for example "players" : "4", not "players" : "2-4",. As you can see that cut choosing various templates.

- HDmod templates are made for multi H3 players. That's fine. But I want to make some VCMI version of this templates. Why? Because in many of them we have:
"allowedTowns" : [ "castle", "rampart", "tower", "inferno", "dungeon", "stronghold", "fortress" ],
"allowedMonsters" : [ "castle", "rampart", "tower", "inferno", "necropolis", "dungeon", "stronghold", "fortress", "neutral" ],

It means such templates won't generated mods fractions. It'better not to use "allowedTowns" better use "bannedTowns". That's why I want to create vcmi mod version of these templates :) OH3 templates are more flexible about using mods :)

- Kantor's sript are not perfect. Please convert this template:
https://sites.google.com/site/hommfun/files/Rmg_GreatSands.txt?attredirects=0 [^]

Game crashes using this json... So blind probes of converting templates should be made :D

One more thing. Just look at greatSands fixed template. As you can see all zones have normal and strong monsters. But... using this template game generates only WEAK monsters and many zones have no monsters at all...
(0007544)
Kantor (updater)
2018-03-26 19:59

It would be too easy to create a bug-free script :P I will be indebted if anyone send me a list of possible issues of my script via priv.

- Issue History
Date Modified Username Field Change
2018-03-26 15:49 Povelitel New Issue
2018-03-26 15:57 misiokles Note Added: 0007541
2018-03-26 16:56 Warmonger Note Added: 0007542
2018-03-26 17:13 misiokles Note Added: 0007543
2018-03-26 17:13 misiokles File Added: greatSands.JSON
2018-03-26 19:59 Kantor Note Added: 0007544

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2019 MantisBT Team
Hosting provided by DigitalOcean