|
|
Hero_of_Light

   
    
Responsible
Supreme Hero
|
posted May 28, 2011 04:24 PM |
|
|
Thanks for the artifacts.
Pity on the third slot... It would be nice to be able to use it and have three creatures in one building instead of two.
As for the dwellings... How do you use the DW command? Can you give me an example of how I can make a dwelling give two recruits instead of one?
____________
Not idly do the leaves of Lorien fall.
|
|
OxFEA

  
   
Promising
Famous Hero
feanor on DF2.ru
|
posted May 28, 2011 04:27 PM |
|
|
Quote: Is there a script that enables to have more than two creatures recruitable in each town's building? Because I saw a HotA video of the Pirate town they made and when clicked on a building you could recruit three diferent pirates. Does any one know how they did it? That would be very usefull for third upgrades mods, as you may choose between the three creatures you can recruit.
Hardcoded
Quote: In addition, that would be cool on the adventure dwellings too (in Golem factory and Elemental Conflux dwellings you can recruit 4 creatures instead of only one).
Hardcoded, but there is a dll that allows set up creatures in dwellings.
Quote:
P.S. Does anyone have a selection of artifact icons? I would like to change a few around.
____________
http://zalil.ru/31140478
H4 icons
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted May 28, 2011 04:38 PM |
|
|
Quote:
Hardcoded, but there is a dll that allows set up creatures in dwellings.
I think he wanted something simple as this:

ZVSE
!?PI;
!!DW0/0/0:M0/0/1 M1/1/1 M2/2/1 M3/3/1;
Eventually you can replace the last parameter with a variable set up in a time trigger, to fix the weekly growth, also check the subtype of the dwelling if want to work only on a specific one, disable next message etc. I guess the best way would be to implement the script into a function, triggered by !?OB, but not tested.
____________
Era II mods and utilities
|
|
Hero_of_Light

   
    
Responsible
Supreme Hero
|
posted May 28, 2011 05:26 PM |
|
|
Yes that's what I've wanted. I don't know how HotA team managed to acomplish this on town in their mod. I guess they edited the exe.
Do you think it would work with a right click trigger on town building that opens this window?
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted May 28, 2011 05:28 PM |
|
|
Such trick will not work in town screen unless you use ERA and go for a DL script, but there is a lot of work.
____________
Era II mods and utilities
|
|
Hero_of_Light

   
    
Responsible
Supreme Hero
|
posted May 28, 2011 05:33 PM |
|
|
Right, OK.
As for the dwelling part...
I get the changing command. But what do the numbers in !!DW0/0/0 stand for?
I guess one of them is dwelling's id. But the rest of them?
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted May 28, 2011 05:37 PM |
|
|
The coordinates on the map.
1) When visit an object
2) Get the type/subtype (OB998:T/U)
3) If not dwelling, exit
4) Get the coordinates of the object
"The v variables v998, v999, and v1000 always store the position of the object or event that a hero is currently visiting when a corresponding trigger is used"
5) Open function, !!DWv998/v999/v1000 **coordinates
6) Make changes
May require other checks. Disable next message when exiting the function and get back at OB. Check "Other objects" column in ERM help, DW is listed there.
____________
Era II mods and utilities
|
|
emrysblack

 
 
Adventuring Hero
New Hero
|
posted May 30, 2011 03:47 PM |
|
|
Quote:
Quote:
Hardcoded, but there is a dll that allows set up creatures in dwellings.
I think he wanted something simple as this:

ZVSE
!?PI;
!!DW0/0/0:M0/0/1 M1/1/1 M2/2/1 M3/3/1;
Eventually you can replace the last parameter with a variable set up in a time trigger, to fix the weekly growth, also check the subtype of the dwelling if want to work only on a specific one, disable next message etc. I guess the best way would be to implement the script into a function, triggered by !?OB, but not tested.
Would there be a way to make a window like this for a non-creature dwelling? Say a war machine factory with catapult as a fourth creature?
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted June 22, 2011 09:53 AM |
|
|
Can someone tell me how to change heroes specialties?for example how to give to Clancy diplomacy specialty instead of unicorns?
____________
|
|
Aleee

 
  
Known Hero
|
posted June 22, 2011 04:59 PM |
|
|
|
Hero_of_Light

   
    
Responsible
Supreme Hero
|
posted June 22, 2011 06:56 PM |
|
|
Actually, Diplomacy is not a percentage skill so giving a hero diplomacy speciality won't do anything. I know because i used it to my own mod. What you need is this:
!!HE22:X0/4; [Master of Skills: Diplomacy]
!!HE22:S0/0; [loose: Pathfinding]
!!HE22:S4/3; [Starting Skills: Expert Diplomacy]
!#VRz658:S^Starts with Expert Diplomacy.^;[Set up text]
!!UN:G2/22/2/658;
____________
Not idly do the leaves of Lorien fall.
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted June 23, 2011 11:42 AM |
|
|
Thanks
____________
|
|
Itenus

 
Tavern Dweller
|
posted June 25, 2011 05:36 AM |
|
Edited by Itenus at 05:50, 25 Jun 2011.
|
Salamandre, you have a ERM deathchamber and ERM mithril? Thanks.
____________
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted June 28, 2011 04:09 PM |
|
|
Can someone tell me how can I make a 3rd upgrade for a unit,I want like Lizard Warrior to upgrade to Lava Sharpshooter.
Also how can I give to fire messenger vampire lord's abilities?
____________
|
|
lelarandi

 
Tavern Dweller
|
posted June 30, 2011 12:39 PM |
|
|
Yeah, that may be true they are too powerful, but with HOMM for every action, there is a reaction.
____________
[URL=http://www.insurance90.com]car insurance[/URL]
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted July 01, 2011 09:06 PM |
|
|
please can someone tell me how to make dwarf and battle dwarf undead?thanks in advance
____________
|
|
itsjustme

  
  
Promising
Known Hero
|
posted July 01, 2011 11:06 PM |
|
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted July 01, 2011 11:18 PM |
|
|
thanks
____________
|
|
Itenus

 
Tavern Dweller
|
posted July 02, 2011 07:57 AM |
|
|
I want Nightmare walk into the flying. Are they can help?
Thanks you very much all add a topic of questions and answers Heroes III ERM.
|
|
LizardWarrior

    
     
Honorable
Legendary Hero
the reckoning is at hand
|
posted July 02, 2011 01:50 PM |
|
|
I need to change Ivor's specialty from wood elves to vampires/vampire lords.Can someone help me?Thanks in advance.
____________
|
|
|