|
|
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.
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 14, 2008 02:36 PM |
|
|
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
|
|
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?
____________
|
|
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
|
|
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)
____________
|
|
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
|
|
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...
|
|
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.
____________
|
|
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.
____________
|
|
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
|
|
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.
____________
|
|
DarK_WisH
Hired Hero
|
posted November 20, 2008 04:37 PM |
|
|
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
|
|
Hell_Wizard
Famous Hero
|
posted November 20, 2008 05:19 PM |
|
|
Can I know the growth of the hierophahts - the number they incrace weekly?
____________
|
|
DarK_WisH
Hired Hero
|
posted November 21, 2008 01:34 PM |
|
|
|
Hell_Wizard
Famous Hero
|
posted November 22, 2008 06:29 PM |
|
|
And their cost?
____________
|
|
DarK_WisH
Hired Hero
|
posted November 23, 2008 01:50 PM |
|
|
|
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?
____________
|
|
DarK_WisH
Hired Hero
|
posted November 23, 2008 03:27 PM |
|
|
|
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?
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 29, 2008 08:25 PM |
|
|
|
|