|
Thread: Curio's Cheating Guide is online | This thread is pages long: 1 ... 5 6 7 8 9 ... 10 20 27 · «PREV / NEXT» |
|
crepus
Adventuring Hero
Nuclear Power Plant
|
posted September 27, 2006 03:08 PM |
|
|
On aimed and area spells
Quote: crepus, you want to try:
@UnitCastAimedSpell(caster, SPELL, unit);
(with "Cast" in the middle)
of course, there's also:
@UnitCastAreaSpell(caster, SPELL, x, y);
for area spells.
I'd like to know what the units are called when aiming (tried both 1 and PEASANT to no avail). Also, the grid system, how is it placed? When viewing the battle scene from the side, is x going from left to right, right to left, top to bottom or bottom to top?
And if I cast f.ex. fireball, is the coordinate I set the middle one or one of the corners?
This place is just getting better and better, thank you all!
____________
Mater tua criceta fuit, et Pater tuo
redoluit bacarum sambucus.
|
|
sfidanza
Promising
Supreme Hero
|
posted September 27, 2006 04:48 PM |
|
|
To designate units, use GetAttackerCreatures()[0], and such. Those return the corresponding units codes, as a @print() will show:
@print(GetAttackerCreature()[2])
@print(GetDefenderCreature()[0])
@UnitCastAimedSpell(GetAttackerHero(), SPELL_LIGHTNING_BOLT, GetDefenderWarMachine(WAR_MACHINE_BALLISTA));
Note: SPELL_LIGHTNING_BOLT=3, WAR_MACHINE_BALLISTA=1
Grid: with the default combat camera view, x is from left to right, y from bottom to top. The first bottom left cell is x=2, y=1.
When casting an area spell, x,y is the center of the blast, IIRC.
I'll add one more function, to complement @AddCreature(), described in the scripts pdf: you can use
@SummonCreature(ATTACKER, CREATURE_XXX, nb, x, y)
where
* ATTACKER (or 0) can be DEFENDER (or 1) as well
* nb is the number of creatures
If the cell is occupied, the creature is automatically moved (like with Gating), whereas @AddCreature() just doesn't work then.
|
|
sfidanza
Promising
Supreme Hero
|
posted September 29, 2006 03:12 AM |
|
|
Quote: bind show_console '½'
I figured it should be the ½ because it is the icon that appears on the button under my esc and over the caps button on my keyboard.
It should be
bind show_console '`'
whatever the actual character on the key. Try that and tell us how it goes.
|
|
crepus
Adventuring Hero
Nuclear Power Plant
|
posted October 01, 2006 09:15 PM |
|
|
Quote:
It should be
bind show_console '`'
whatever the actual character on the key. Try that and tell us how it goes.
I tried both § and ½, which on my computer are the marks on the key right above my tab, as well as trying the `. Nothing on either one of them. I must also agree on raider_manhc's first thought, to set the binding key to ½, as all other bound keys (hotkeys) throughout the game are working as the input.cfg tells them to.
I also tried to bind the "max" button in the marketplace screen to a letter, because I often trade all of my resources to gold (after having built everything in that town) but nothing happened. I also tried to set an extra hotkey to another feature that already had one labeled, but in game using the second key did nothing.
My guess is that there is something more that needs to be done, apart from the changes in input.cfg and autoexec.cfg.
|
|
crepus
Adventuring Hero
Nuclear Power Plant
|
posted October 12, 2006 03:14 PM |
|
|
Tried it all...failed miserably!
I JUST DON'T GET IT!
I've copy-pasted the exact formulations, changed the '`' to '§', '½' and half the letters of the alphabet to no avail!
What I _did_ manage to do though was to get my marketplace to tag the letter 'X' to the trade_all button. However, that only worked when I changed the file in the /My Games/HeroesV/... directory.
But adding the console caller there doesn't do jacksh*t!
Anybody else out there with ANY idea?
I wanna cheat!
____________
Mater tua criceta fuit, et Pater tuo
redoluit bacarum sambucus.
|
|
sprigofmint
Tavern Dweller
|
posted October 14, 2006 01:34 AM |
|
|
Cheat: Giving Hero Skills does not work.
Quote: it is wonderful to have cheat in a strategy game like HOMMV...
But nothing is perfect...It seems that add_skill / @GiveHeroSkill command can no longer add skill-perks like pathfinding to my heroes....
any suggestion?
You too are not the only person with this problem! I am unable to give any skills to my hero (even if they have an open slot!). I'm using the US version, with the 1.3 patch. The console works for me, as do all the other cheats, but not this one.
Does anyone know what to do? @GiveHeroSkill("Name", #); is not working.
Thanks in advance!
____________
We all make choices
|
|
feelgood
Tavern Dweller
|
posted October 14, 2006 12:59 PM |
|
|
I have a weird problem. The line for "show_console" is not there in the file. When I try to paste the line, I still won`t work. The console never shows up. Pls help!
|
|
fhaaland
Tavern Dweller
|
posted October 19, 2006 03:50 PM |
|
|
Still no console
I'm not getting the console.
I'va added the line in the autoexec.cfg (found under <installation place>\profiles. (setvar dev_console_password = schwinge-des-todes)
And I've added the (bind show_console '') and experimented with different characters in the input.cfg found under my documents (and thecorrect profile).
But stil no way of opening the console window...
|
|
fhaaland
Tavern Dweller
|
posted October 22, 2006 05:15 PM |
|
|
Tip for others, but still need help
I had inserted the lines mentioned into the correct files (both autoexec and input), but it seemed to not recognize the character I tried to use. SO I chanmged the til to F1. And voila.... The concole.
So I tried to run different commands but to no effect.
@giveHeroSkill("Agrael", 47);
but no extra skill (master of mind)
I also tried @GiveHeroWarMachine("Agrael", 4);
but no war machine..
To summarize: After the console came up I wrote in one of the above lines and pressed enter. I opened up the charactersheet of Agrael(And then the console dissapears but no changes have been made.
Am I forgetting anything. Have I written any typos?
____________
|
|
sfidanza
Promising
Supreme Hero
|
posted October 22, 2006 05:26 PM |
|
|
Happy to know that you managed to get the console. I hope that will cheer up those that have problems with it: it works, just follow the precise guidelines.
For your commands problems, the syntax has to be exact as well:
@giveHeroSkill("Agrael", 47);
should be
@GiveHeroSkill("Agrael", 47);
(with capital G - single ' or double " quotes should both work - semicolon ; at the end should be optional)
Also, to get skill 47 (Master of Mind), you should already have Dark Magic (10). The console will issue a specific error if you don't.
@GiveHeroWarMachine("Agrael", 4);
should be correct (and give an Ammo Cart). Check that you typed this exact case (and not @giveHeroWarMachine or @GiveHeroWarmachine which would be incorrect).
|
|
fhaaland
Tavern Dweller
|
posted October 22, 2006 06:53 PM |
|
|
mmm
Sorry, it seemed that I actually made a typo when writing that last comment. I was writing with capital G, and received no erros.
I'm wondering if this could be related to the fact that I have already selected "weakening strike" (I do have expert dark magic and if I try to level it gives me option of Master of curses and master of pain, but even if I've tried to level this last level about 20 times it only gives me these to as an option and never master of mind...
I've also tried using the text instead of 47, but no luck...
I'll try some others and try for different heroes to see if this is a problem for Agrael for some reason.
____________
|
|
fhaaland
Tavern Dweller
|
posted October 22, 2006 07:00 PM |
|
Edited by fhaaland at 22:00, 22 Oct 2006.
|
I tried to add a new skill to another character (Nebiros - but used Jazaz according to heroes name chart)
And first I tried to give him something he could not get due to lack in basic skill and I got an error message. Then I gave him another skill and it worked. I'll try some more, but if anyone knows how to remove a skill...
It now seem that Agreal is the only one I cannot do anything with. I trid to give him "consume corpse" and other skill that he should be able to get, but no such luck. No error and nothing happens.
With Nebiros (or Jazaz) I can give him all the skill that I want..
Is there anything special about Agrael? (Im in the C2M4)
Or maybe that's it. No cheat in the campaigns!!
Mmm how far back do I have to go to see if I can get other options...
____________
|
|
joerginger
Hired Hero
|
posted October 22, 2006 09:00 PM |
|
|
Since you're already in mission 4 of his campaign, the problem might be that your Agrael has all his five primary skill slots filled. Once there are no more empty skill slots, you can't add any more abilities.
|
|
wc3footman
Tavern Dweller
|
posted November 05, 2006 03:46 AM |
|
|
question: does the codes of addin skill still work in V1.03?
I just updated to v1.03, and I use command @AddHeroSkill("Godric",129), nothing happen, and at that time , the skill Spoils of War's requirements has been all met and still one slot left...
____________
|
|
hans
Tavern Dweller
|
posted November 05, 2006 09:04 AM |
|
|
agghhhhh
Ok I'm missing something here hopefully you can help. I have version one, have not upgraded. Trying to add creatures. I type @AddHeroCreatures("Agrael", 23, 1000); and I get Script Warning value was nil when getting global with name AddHeroCreatures.
There must be something simple i am missing here.
Thanks
____________
|
|
sfidanza
Promising
Supreme Hero
|
posted November 10, 2006 12:16 AM |
|
Edited by sfidanza at 00:26, 10 Nov 2006.
|
@wc3footman: the correct code is @GiveHeroSkill(...)
@hans: it only works on the adventure map (NOT in town, in combat, in the hero details screens...). Well, there are combat specifics command, but not this one.
Before anyone wonders, the console still works in 1.4, but the 2 files are again reset by the patch. Make sure you reedit them correctly.
See http://www.heroesofmightandmagic.com/heroes5/heroes5_cheats.shtml for the details.
|
|
KnightDougal
Bad-mannered
Famous Hero
|
posted November 14, 2006 08:50 PM |
|
|
it is to difficult to use... please create the HOMM CS.
____________
|
|
kritscha
Tavern Dweller
|
posted November 17, 2006 10:28 PM |
|
Edited by kritscha at 23:13, 17 Nov 2006.
|
I have some problems with the addon "Hammers of fate". It seems that the cheat to add skills are more ristricted. Other than in the original HoMM5, i can't give skills like the "ultimate gating" or "ultimate luck" without having fullfilled all other skill requirements. Can anyone change this to the "normal" use like in HoMM 5, where i can set any skill without fullfill the requirements.
It's also imposible to set more than 3 abilitys to one primaryskill.
(Attack-Frenzy-Power of speed-retribution. In HoMM5 i could take up to 5 abilitys to one primary skill.
Thanks for yur help...
|
|
sfidanza
Promising
Supreme Hero
|
posted November 18, 2006 03:19 AM |
|
|
Common reasons for the console not opening are:
- you've edited the wrong input.cfg file
there is one in the INSTALL_DIR/profiles/default_profile/ folder. You could have different profiles. And HoF has its own profiles as well. The correct one is the one in your "My Documents/My Game/..../YOUR_PROFILE/" folder. Make sure it's the profile you're actually using in the game.
- you've edited the file with Word or Wordpad, and saved it as .rtf or something. The .cfg files are plain text files. Notepad (or better: a real text editor) is the best way to avoid such problems. Especially since Windows default config hides the actual extension, showing you an "input" file instead of "input.cfg". How then could you know if it's saved as "input.rtf", still showing "input" as filename?
A related issue is if you explicitly add the .cfg extension, thus renaming the file to "input.cfg.cfg" which won't work either.
- you've added the "bind show_console '`'" line in a specific section of the input.cfg file (not the common section at the beginning).
- patching the game will reset the files. You'll need to edit them again.
- finally, there's the issue of the actual key you have to strike, after binding the '`' character to show_console. You can choose another key combination, like 'CTRL'+'C' for example:
bind show_console 'CTRL' + 'C'
but keep in mind that:
* there could be problems if the shortcut is already used elsewhere
* it seems that the code refers to an english keyboard, so referring to the actual character written on your keyboard might not work.
http://en.wikipedia.org/wiki/Keyboard_layout
|
|
meows
Tavern Dweller
|
posted November 20, 2006 09:08 AM |
|
Edited by meows at 09:09, 20 Nov 2006.
|
Any one have the heroes names for the new Hammers of Fate Expansion?
Need the ingame names for coding.
____________
|
|
|