Current time: 22.11.2024, 00:51 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Mod-change battlefield
Author Message
Valery Offline

Posts: 2196
Post: #1

I was thinking such mod will be cake to do, but it is much more tricky than I expected.

What I want to do:

1) In battle, player clicks custom button, dialog shows and offer possibility of changing battlefield terrain and top terrain. Effect is instant, both visual and creatures bonuses.

What it does right now:

1) Effect is not instant, player has to move a creature before changes are visible.

2) It did not work if battlefield is regular (not changed by user in BA trigger first), but Gamecreator provided me a code which does the job very well, thanks

3) For now you can click once, activate one battlefield, close dialog. But if you select "cursed ground", close dialog, open dialog then choose "grass" you see grass but penalties are still those of cursed ground.
This is because top terrain remains even if the base terrain is changed. Should I use other mechanic? Perhaps restrict mod to only top terrains? Or allow double selection, one for top terrain, one for base terrain?

4) I can't solve the native terrain bonuses. Even if I change the terrain to not native, the bonus stacks had at battle start (+1 attack, def and speed) will remain. Is there a way to get rid of? Because coding this manually would be a hell. (tried with BA:B# but it has no effect)

5) I don't seem to be able to trigger the DL it from new button (you see it bottom left), I get 0-400 as y3/v2 so for now it triggers from right-click on system options. Now I understand why nobody yet added a button to battle: it big sucks.

Battle-Mod (4 mb)
If any can help, please.

Code triggering the BF change:
(This post was last modified: 28.10.2014 17:09 by Valery.)
28.10.2014 16:31
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Mod-change battlefield - Valery - 28.10.2014 16:31
RE: Mod-change battlefield - gamecreator - 28.10.2014, 16:53
RE: Mod-change battlefield - Valery - 28.10.2014, 16:59
RE: Mod-change battlefield - Valery - 29.10.2014, 02:53
RE: Mod-change battlefield - Berserker - 29.10.2014, 20:05
RE: Mod-change battlefield - Valery - 29.10.2014, 20:23
RE: Mod-change battlefield - Berserker - 30.10.2014, 14:58

Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group