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: Adding new creatures
Thread: Adding new creatures This thread is 15 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 · «PREV / NEXT»
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted November 11, 2011 01:58 PM

Quote:
Isn't 2048 'no obstacle penalty for a shooter'??? What flag does that then?

No. It is hardcoded.

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

Tavern Dweller
posted November 23, 2011 11:18 AM

hey bro imma new member form VietNam. i can't speak English much but can i ask you?? how can U creat new creatures! plss teach me

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


Promising
Famous Hero
of infamy
posted March 08, 2012 06:24 AM

Quote:
Quote:
Isn't 2048 'no obstacle penalty for a shooter'??? What flag does that then?

No. It is hardcoded.


Hey when the creatures are added to the game, will they enter the 'pool' of random creatures placed on a map? That would be a good functionality I think.

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


Supreme Hero
Work at Magic Dimmension
posted April 09, 2012 11:18 PM

@Kegolo
But the functionality could be easily added as part of wogify scripts (most of it - for example it's no help for creature bank config which contains random level N monster entry)

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


Promising
Famous Hero
of infamy
posted April 09, 2012 11:43 PM

Quote:
@Kegolo
But the functionality could be easily added as part of wogify scripts (most of it - for example it's no help for creature bank config which contains random level N monster entry)


I actually just scan the map for all conflux creatures and replace each level with the Covenant level creatures, so I already figured this out. But thanks

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


Supreme Hero
Work at Magic Dimmension
posted May 15, 2012 04:42 PM

Would there be a fix after ERA 2.2 would be released?
New ERA API is going to have a command for registering block redirection, and I believe Amethyst has quite much of them. Adding just a few or bit more lines to plugin code would grant due to new ERA API, a compability with scripts using UN:C codes for same tables as the ones Amethyst relocate - so it would allow to keep working any memory editing function (like choosing projectile for shooter in runtime or making creature a "native" caster for a while) while beeing able to have shiny feature of Amethyst to use creature slots above 196. It would also be nice if future version of Amethyst would allow per-creature config files also for creatures in standard range (ones <=196).

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


Adventuring Hero
posted May 15, 2012 04:54 PM

But how to add a new town?like HotA?

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


Admirable
Omnipresent Hero
Wog refugee
posted May 15, 2012 04:57 PM

With diamond plugin.

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


Honorable
Legendary Hero
the reckoning is at hand
posted May 15, 2012 05:03 PM
Edited by LizardWarrior at 17:03, 15 May 2012.

From where can I download diamond plugin? I would like to make Romanian Town a completely new town,not just a replacement
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted May 15, 2012 05:07 PM
Edited by Salamandre at 17:08, 15 May 2012.

Majaczek promised he will make one, just sit down, take a nap and have patience

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


Promising
Famous Hero
of infamy
posted May 15, 2012 05:52 PM

Quote:
It would also be nice if future version of Amethyst would allow per-creature config files also for creatures in standard range (ones <=196).


Does Amethyst support numbers below 196? Has anyone tried making a CR0.def and corresponding files and such? If this works, someone should delete all the creature files and replace them with corresponding CR## creatures, so then people could easily change them with the config files. Making shooters would at least be much easier this way.

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


Promising
Famous Hero
feanor on DF2.ru
posted May 15, 2012 06:07 PM

Quote:
Does Amethyst support numbers below 196?

Only configs. You can remove fireball from magogs, set shooter flag to centaurs etc, but CR*.def, s*att.82m, shot*.def don't work.

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


Promising
Famous Hero
of infamy
posted May 15, 2012 06:13 PM

Quote:
Quote:
Does Amethyst support numbers below 196?

Only configs. You can remove fireball from magogs, set shooter flag to centaurs etc, but CR*.def, s*att.82m, shot*.def don't work.


Ok well could you then potentially start over? Like 197 being pikemen and go up to 392? Every other wogging option would then need +197, but then could it all work?

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


Promising
Famous Hero
feanor on DF2.ru
posted May 15, 2012 06:18 PM
Edited by OxFEA at 18:20, 15 May 2012.

Why it can be necessary?

Quote:
Would there be a fix after ERA 2.2 would be released?
New ERA API is going to have a command for registering block redirection

Maybe after remaking emerald.dll I try to upgrade amethyst. I don't think that registering of moved tables is necessary, but I need some other features of Era 2.0+

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


Promising
Famous Hero
posted May 15, 2012 06:33 PM
Edited by solitaire345 at 18:41, 15 May 2012.

@Kegolo: No, it doesn't. As for creature defs I doubt it is really needed, but possible to do. However for projectiles it's possible to make a hook on the function that loads required defs thus making possible to change projectiles for units and have more projectiles (I have done similar thing in WoG sources and if it is really needed, I guess I could port that function to ERA as a plugin, though currently I don't have much time. Or if someone wants to do it him(her-)self, I can share my code here)
____________

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


Promising
Famous Hero
feanor on DF2.ru
posted May 15, 2012 06:51 PM

char tmp_missile[16];

int (__fastcall *LoadDef)(char *defname) =
(int (__fastcall*)(char*))(0x55C9C0);


int _edi() {__asm{mov eax, edi}}
int _esi() {__asm{mov eax, esi}}
int _ebx() {__asm{mov eax, ebx}}

int __fastcall NewMissiles_Body(char* missile_def, int edx)
{
int creature = *(int*)(_ebx()+0x34);
if (creature > 196)
{
sprintf(tmp_missile,"shot%i.DEF",creature);
return(LoadDef(tmp_missile));
}
return LoadDef(missile_def);
}


void NewMonstersMissiles()
{
WriteHook((void*)0x43DB1D,(void*)NewMissiles_Body, HOOKTYPE_CALL);
}

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


Supreme Hero
Work at Magic Dimmension
posted May 16, 2012 10:10 PM
Edited by majaczek at 22:19, 16 May 2012.

Quote:
Quote:
Does Amethyst support numbers below 196?

Only configs. You can remove fireball from magogs, set shooter flag to centaurs etc, but CR*.def, s*att.82m, shot*.def don't work.


okay it is enough. sorry I believed per-creature configs for cre<=196 are inaccessible. so most functions could be implemented by config... Yeah!
EDIT: wait... no shot*.def? so it's not enough ;( ... nevermind I'll wait for new version or just use default projectile if it is supported in config. anyway I'll try what is possible with current version END OF EDIT

@Block Redirection
the registering of block redirection in ERA is intended for polling ERA with old adress to get new one if plugin redirect a block. So existing scripts editing memory with very tiny modification can work with plugins having those block relocated, even if new block from plugin has dynamic adress. Amethyst relocates (almost) all memory block corelated with creatures - old memory editing script won't work in ERA 2.1 with Amethyst - but with ERA 2.2 if Amethyst register block redirection - only slight modification would be required in scripts to work even with Amethyst. Block redirection were promised by Bersy for ERA 2.2. by "Block" I mean "contignous area of RAM".

@Diamond
(Facepalm) - for mine. It seems I again failed in communication. I just reserved this name for the feature as an ERA plugin, NO matter WHO would achieve this. I probably may be one of authors - nowhere I said I would be only one. Moreover I precise it can go with me or even without me. The "Diamond" name is intended as a lure/bait for potential contributors as most of the work can be easily ported from WoG sources (although feature would be greatly incomplete - so there would be still much to do).
EDIT: about towns I only intended to take part in preparing a plugin to add more buildings to existing towns - which would be definately easier than Diamond (more town types - so more of each thing unique for a towntype nation).

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


Honorable
Supreme Hero
posted May 17, 2012 12:56 PM

Quote:
Block redirection were promised by Bersy for ERA 2.2. by "Block" I mean "contignous area of RAM".

Already implemented in the DLL from Era scripts fixing topic.

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


Known Hero
posted June 26, 2012 10:58 AM

Sorry if I am asking a question which has no relation with the main theme, but...

About creature textures (how creatures look like), is it possible to export their frames from Rome: Total War? (It is possible to export from World of Warcraft, some creatures are made that way in Salamandres' map "300")
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted June 26, 2012 11:20 AM

Yes for both, but you need 3DS Max.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 15 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0489 seconds