|
|
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.
|
|
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
|
|
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.
|
|
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)
|
|
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
|
|
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).
|
|
Karen
Adventuring Hero
|
posted May 15, 2012 04:54 PM |
|
|
But how to add a new town?like HotA?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted May 15, 2012 04:57 PM |
|
|
|
LizardWarrior
Honorable
Legendary Hero
the reckoning is at hand
|
posted May 15, 2012 05:03 PM |
|
|
From where can I download diamond plugin? I would like to make Romanian Town a completely new town,not just a replacement
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted May 15, 2012 05:07 PM |
|
|
Majaczek promised he will make one, just sit down, take a nap and have patience
|
|
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.
|
|
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.
|
|
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?
|
|
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+
|
|
solitaire345
Promising
Famous Hero
|
posted May 15, 2012 06:33 PM |
|
|
@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)
____________
|
|
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);
}
|
|
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).
|
|
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.
|
|
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")
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 26, 2012 11:20 AM |
|
|
Yes for both, but you need 3DS Max.
|
|
|