|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 03, 2013 03:30 PM |
|
|
Thunderbirds casting Lightning seems weird to you?
What's next? Genies not casting/granding wishes?
Anyway, If someone knows a way to change the spells the 4 upgraded elementals are casting, please share.
____________
Not idly do the leaves of Lorien fall.
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted June 03, 2013 03:37 PM |
|
|
Well the upgrade wouldnt be called thunderbird then, of course.
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted June 03, 2013 07:43 PM |
|
|
Quote: Thunderbirds casting Lightning seems weird to you?
What's next? Genies not casting/granding wishes?
Anyway, If someone knows a way to change the spells the 4 upgraded elementals are casting, please share.
!!BM#:U4/#
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 03, 2013 08:18 PM |
|
|
I am afraid BM:U4 will not work, that's why I suggested UN:C. Seems we can not modify all casting creatures with, some are ignored.
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted June 03, 2013 09:21 PM |
|
|
Maybe checking out the commander scripts will help, they all cast custom spells.
|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 05, 2013 12:22 AM |
|
|
I noticed that MoP mod added some cool centaur shooting frames (where they actually throw a spear). Is there a way to implement this to ERA II? What I mean to ask is how can someone add new shooting frames and associate them with archer creatures? The shooting defs are ready, all there's left to do is to associate them with the centaurs when they shoot.
____________
Not idly do the leaves of Lorien fall.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 05, 2013 02:13 PM |
|
|
Try this one. It has nothing about enlarging missile type table though, just assigning.
!?FU[SetMissileTypeForCreature];
; Arguments: CreatureId, MissileType (0..15?)
!!VRx1:+7994814;
!!UN:Cx1/1/x2;
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted June 05, 2013 02:17 PM |
|
|
Quote: ***EDIT***
Stupid internet connection made me double post the same thing. Delete this post.
You can delete your own posts just like you edit them. After you click edit post, look at the upper left corner.
|
|
Sguazz
Known Hero
|
posted June 05, 2013 02:27 PM |
|
Edited by Sguazz at 14:54, 05 Jun 2013.
|
Edit 2 times
A Hero Speciality with one of these Secondary Skills gives 5% per level bonus or not?
Pathfinding
Scouting
Diplomacy
Luck (i think is not like Leadership)
Ballistics
Scholar
Tactics
Learning
or give other bonuses?
Artillery (!!HE:X0/20) = Ballista (!!HE:X1/146)?
First Aid (!!HE:X0/27) = First Aid Tent (!!HE:X1/147)?
Thanks
|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 05, 2013 03:24 PM |
|
|
!?FU[SetMissileTypeForCreature];
; Arguments: CreatureId, MissileType (0..15?)
!!VRx1:+7994814;
!!UN:Cx1/1/x2;
Could you elaborate some more? The shooting frames are placed in the lod and that's how it should be done:
Centaurs shoot using the frames from centshot.def
Centaur Captains shoot using the frames from ccentshot.def.
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 05, 2013 03:28 PM |
|
|
Centaurs can already shoot, there is no need to add shoot ability (if I recall right). Anyway, arguments = x1/creature ID, x2/missile type, just in case there isn't.
|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 05, 2013 03:33 PM |
|
|
I know they can already shoot that's not the problem. The thing is that when they shoot the bolt is an arrow and not a spear. MoP team made shooting frames just for the centaurs. That's what I want to implement in my mod. I want to assign new shooting frames to the centaurs.
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 05, 2013 03:35 PM |
|
|
Ok then, Bersy gave you generic function to assign missile to any creature. Now you adapt it to centaurs, you know what arguments are, put the right ID's and make the function run as instruction.
____________
Era II mods and utilities
|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 05, 2013 03:39 PM |
|
|
I can't because the new missile types have no id. If this command just assigns only one of the existing shooting frames (0-15) then it's useless to me, because the new shooting frames I want to add are not on the list. I need something that assigns shooting frames outside the list.
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 05, 2013 03:42 PM |
|
|
Either you replace one missile graphics or you select one who looks close to a spear. There is no way outside VCMI to assign such new content. MoP built a new game, because he can.
Squaz, is not hard to find out (test?). Of course pathfinding, ballistic, scholar and tactics do not receive any bonus from specialty, once expert they are already at max effect.
____________
Era II mods and utilities
|
|
Hero_Of_Light
Responsible
Supreme Hero
|
posted June 05, 2013 03:49 PM |
|
|
Oh, OK. I'll see what I can do.
____________
Not idly do the leaves of Lorien fall.
|
|
Puppet_Master
Adventuring Hero
Villain
|
posted June 05, 2013 04:21 PM |
|
|
Write plug-in? But I practically forget what is WoG / ERA.
0xFEA has made dll for adding new creatures. Implementation of shooting should be there. I think that this dll should be allowed to change the parameters of all creatures, old and new. Or not?
|
|
Bersy
Honorable
Supreme Hero
|
posted June 05, 2013 06:26 PM |
|
|
I'll just mention that you could also try resource redirection on the fly.
!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^old def name.def^/^new def name.def^;
...
!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^old def name.def^/^^;
Possibly redirection can be applied in !?BG0 for shooting centaures and reset in !?BG1 and !?BA1.
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted June 05, 2013 08:21 PM |
|
|
Quote: I'll just mention that you could also try resource redirection on the fly.
!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^old def name.def^/^new def name.def^;
...
!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^old def name.def^/^^;
Possibly redirection can be applied in !?BG0 for shooting centaures and reset in !?BG1 and !?BA1.
Def's are loaded on the start of the battle.
I think, one can unload this def and load some another.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 05, 2013 11:35 PM |
|
|
Yes, redirect will not work with BR/BG, only in BA trigger. But archers arrow is very close to elves so you just assign to marksmans elves missile, then to centaurs a new def with any name. I suppose centaurs share missile with archers but not sure 100%.
____________
Era II mods and utilities
|
|
|