Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Why cannot add new towns to the present?
Thread: Why cannot add new towns to the present?
Karen
Karen


Adventuring Hero
posted May 22, 2012 10:38 AM

Why cannot add new towns to the present?

I have created 14 creatures,so I have some ideas to create a new town,but I don't know how to do it except change Conflux town or other ones.
So I wish I could have a plugin to add new towns and new heroes.
Need help.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted May 22, 2012 03:46 PM
Edited by OxFEA at 15:53, 22 May 2012.

Quote:

So I wish I could have a plugin
Make it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted May 22, 2012 04:05 PM

Just make a list of things that need to be done to add a new town.
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Kegolo
Kegolo


Promising
Famous Hero
of infamy
posted May 22, 2012 05:38 PM

The answer to WHY is that it is very hard to do, only HotA has done it so far. Just do a replace town or copy my style, if there is ever a plugin you can easily adapt it. It's more important that you have so many creatures, perhaps some pix?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Karen
Karen


Adventuring Hero
posted May 23, 2012 02:26 PM

Quote:
Just make a list of things that need to be done to add a new town.


I used to change the conflux town.
I can create the background and all town buildings.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted May 23, 2012 05:01 PM

This replaces an existing town, Karen. Warmonger's request is still unanswered.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Karen
Karen


Adventuring Hero
posted May 27, 2012 03:06 PM

Ah.I wish it can be completed soon.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
majaczek
majaczek


Supreme Hero
Work at Magic Dimmension
posted May 27, 2012 05:18 PM
Edited by majaczek at 17:28, 27 May 2012.

About half of work is already done in WoG 3.59 beta published code.
but there are two problems
1) there is a need to refactor the code from sources of 3.59 to plugin for TE/ERA.
2) there are almost half of work to be done still - current implementation barely works - it would be lot of work to have it anything stable.

There is a name for plugin which would add the feature - the "Diamond".
I remind I'm not yet author of any code in this direction, and the name is reserved for anybody which would work on feature. There is just the need to make first unstable alfa version in plugin format with the code from WoG3.59beta for the feature - once someone start it would be much easier to acquire more codders/reverse engineers.

Even the starting version is the thing which I don't feel to be strong enough to do yet. I have in plans similair plugin named "Quartz" but it would be limited only to the feature of additional buildings in existing towns - if anybody would seriously work on Diamond, the code for Quartz could be swalllowed by them (to maintain compability at least). Quartz is already in planning phase, please help if you can (there already a few people helped by pointing adresses of data structures corelated with towns->buildings).

PS: with Quartz and some new features of ERA there perhaps could be a way to simulate new towns - that mean having still 9 types of towns internally but having one of them  work as old or mimic the new on some condition - however it would need nifty scripting workaround (to not confuse real conflux with a town which temporarily replaces conflux and make switch when needed). Ooops most of them could be done without Quartz if you agree to have same list of buildings. ERA 2.2 would have a command to replace files in LOD in game logic temporary and to get back defaults, changing creatures for an existing town type is already supported by ERM - but it may have much of issues with an AI (AI trying to buy conflux creatures instead of temporary replace town members for example) and it would still have same number of heroes and factions internally (so eg. convenant creatures would have conflux faction, and some conflux heroes have to be switched to convenant ones). Having the real new town support would be much better but is not yet availible.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted May 27, 2012 06:04 PM

"Diamond", "quartz", reserving names..

Using à different gem names isn't a sort of standart. It's only used by me (MoP sometimes uses names of Metallica songs, another developers - usual names). So, there was no any "list of the claimed" and no need to reserve names - better create your own internal standart for avoiding collisions (e.g.: quartz.dll already exist).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Lord_Immortal
Lord_Immortal


Famous Hero
DoR Dev Team
posted May 27, 2012 07:33 PM

Well,you can script an ERM(but it is hard) to choose the creatures in a town before you start(like custom garrisons table).You can do it like this:
Let's call your town:"Bastion".
Pick a town as a base(let's say Conflux).Add here the script that changes creatures, adds tables when starting the game and so on.The script can work like this:

Let's assume there are 4 players:
Red(You)->Conflux
Blue(PC)->Castle
Tan(PC)->Conflux
Green(PC)->Rampart
When you start the game(at the dragon loading screen you get a table that says:
Choose Red Player town:
-Conflux
-Bastion
after it says
Choose Tan Player town:
-Conflux
-Bastion
...and so on for all the conflux players there are in game.

Unfortunatelly,this sort of script requires alot of skill and cannot change a town's look,only the creatures recruited in town.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
kegolo
kegolo


Promising
Famous Hero
of infamy
posted May 27, 2012 07:58 PM

Actually if someone wanted to, they could alter my script so that it COULD change the whole look, heroes, everything of a town to be a new one. It could work similar to the custom alliances script so that each town was chosen after the normal "choose town" screen. However, unless someone finds a smooth way to replace all the pictures and names and everything, it will be near 1000 lines per town the way I do it, assuming the added town is very unique.

Unless this 'diamond' thing (which probably will never be released) comes out, may as well try to work on this so people can choose the 8 teams in any game.

I would do it but I'm busy. Perhaps I'll start on it as a project using my town and Grove for starters, if anyone wants to help sounds good.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Karen
Karen


Adventuring Hero
posted May 28, 2012 06:53 AM

Quote:
Well,you can script an ERM(but it is hard) to choose the creatures in a town before you start(like custom garrisons table).You can do it like this:



It is troublesome, I hope it can be selected in the list.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
majaczek
majaczek


Supreme Hero
Work at Magic Dimmension
posted May 28, 2012 09:58 PM
Edited by majaczek at 22:47, 28 May 2012.

Quartz.dll exist? Ooops! (what is Quartz.dll?)

Let diamond be The Diamond whoever would do it...

But if there is already Quartz.dll I should choose another name...

Could you think of any low-price gemstone similair to Diamond (white and crystaline one)?

EDIT: You actually can Change Town Look with ERA 2.2 (or ERA 2.1 with DLL from "testing scripts" thread) - you can redirect in-LOD-resource to another. This brings me Idea of town-type switcher realised as a plugin (but without Reverse Engineering features) which just loads a preset (saved in a config file) for some town type to replace - having it written as a plugin would allow nice for-loops (but it needs to wait since I'm here having to graduate my exams and the semester).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0351 seconds