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: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 407 pages long: 1 ... 28 29 30 31 32 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Hell_Wizard
Hell_Wizard


Famous Hero
posted November 14, 2008 02:03 PM

You can just make a trigger that gives 1000 old when a hero is buyed, so he will cost 1500, or a trigger that removes 1000 gold so that the price will be 3500. The 1000 gold may be replaced with any number.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 14, 2008 02:36 PM
Edited by Salamandre at 14:48, 14 Nov 2008.

I don' think it is possible. There is no CM ID for pushing the recruit hero box, but only when clicking on the tavern (!!CMI5). And even if you find such an ID, then you will have another problem, as gold can go negative without flagging it.


Maybe could work with !!CM:Ax/y; but it will be a nightmare getting the right coordinates of the cursor on the screen. Too much work for useless script. Just set the daily income to whatever you want to make heroes cheaper or more expensive. Mapmaking skill. You want heroes expensive, disable town hall. You want them cheap, put gold mines around. Or play with disable/enable heroes for specific player.

For comanders cost change !!IF&1000/v3<0:M1/z125052; in script25.erm and everything related to the cost in the same script. I did not tested it so backup it before.
____________
Era II mods and utilities

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


Famous Hero
posted November 14, 2008 02:40 PM

But if you find the cordinates, if will be good for the script.
By the way, what are all the CM's?

What screen is CM0 for example? Or CM1?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 14, 2008 02:51 PM

Just check CM trggers in ERM


!?CM0;   Mouse manager trigger for adventure map
               the same as !?CM;
               The trigger occurs when you click the right mouse button
!?CM1;   Mouse manager trigger for town screen.
               The trigger occurs when you click the right mouse button
               
____________
Era II mods and utilities

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


Famous Hero
posted November 14, 2008 03:37 PM

Ok, just say me which CM is the monster screen (The one we click for right clicking on the monster image and getting the stack experience window)
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 14, 2008 06:09 PM

I dont have a clue, as I almost never use those CM triggers but everything is fully detailed in ERM help, wonder why you asking. It is easy to check which one.
____________
Era II mods and utilities

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


Hired Hero
posted November 15, 2008 12:40 PM

Thanks for your responses! Unfortunately, I canīt script, just edit basic text files, so I donīt know how to do that.

Yes, I think most things in the game are too cheap, which makes the games too fast. In my game, I have increased the price in gold and resources of the buildings 5-10 times. Now, it feels more like a gradual process...

I would have prefered if heroes costed something like 10,000 gold (of course you would need to have one from start). Commanders can cost the same, and you would not start with one...

I like SLOW games...

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


Famous Hero
posted November 15, 2008 03:03 PM

Well search for hero text files. For comanders, search in the WoG text files (They always start with Z)

I preffer ERM anyway.
____________

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


Famous Hero
posted November 17, 2008 03:20 PM

Slava is a supreme programist with a PdH degreement in computer science, not a hacker (The same, but legal). Yes, ERM is very easy. But the JS are mush easier for everything.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 17, 2008 10:51 PM

ERM very easy? You joking isn't it?

The purpose of understanding ERM is for creating scenarios/maps. It can look to you easy to use on paper scripts and such, but once you are trying to implement them in a scenario, good luck: bugs, crashes, unbalances, surprises.

Understanding the basic ERM is not hard. Using it is very hard.
____________
Era II mods and utilities

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


Famous Hero
posted November 18, 2008 04:30 PM

You're right. The basics (!#DW, !#UN:T, !#MA ... ) are simple. For a real programmer everything is simple. I may try to addapt ERM for other purposses, so we will be able to use ERM instead of XML for instance. Though, it must be renamed and some flags will be set as basic true/false functions, for instance:

SSC (Slava Salnikov's Code, optional new name for ERM) version of JavaScript:

function onInit ()
{
    system.fullScreenMode=true
}


will be:


!?PI;
!!VRf1:S1;


or


!#VRf1:S1;

(VRf may be the flags)


This new type of scripts may be use to conserve memory, because as you see, it takes mush less space than a JS.
____________

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


Hired Hero
posted November 20, 2008 04:37 PM
Edited by DarK_WisH at 16:42, 20 Nov 2008.

I need help can some one do for me script wich changes Object 61 's name to "Hierophant Cave" and to that object to be a creature dewing (produce Hierophant[2]- 184.And befor you are allowed to buy hierphants to fight with 3 of them
Offtopic:Can someone give me link for the newes erm_sm
Sory for the offtopic

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


Famous Hero
posted November 20, 2008 05:19 PM
Edited by Hell_Wizard at 17:36, 20 Nov 2008.

Can I know the growth of the hierophahts - the number they incrace weekly?
____________

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


Hired Hero
posted November 21, 2008 01:34 PM

2 hierophants each week

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


Famous Hero
posted November 22, 2008 06:29 PM

And their cost?
____________

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


Hired Hero
posted November 23, 2008 01:50 PM

1500

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


Famous Hero
posted November 23, 2008 03:13 PM

@DarK_WisH: You'll wait a little, because I need to wait untill somebody ERMy will respond to my quetion:

         How can I set a string variable (consisting from numbers) to be set as a regular (v) variable?
____________

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


Hired Hero
posted November 23, 2008 03:27 PM

Ok

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


Famous Hero
posted November 29, 2008 08:09 PM

Quote:
         How can I set a string variable (consisting from numbers) to be set as a regular (v) variable?

____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 29, 2008 08:25 PM

I don't understand your request. Can you give an example of what you need to be done?
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 ... 28 29 30 31 32 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4678 seconds