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: Programming for WoG/SoD?
Thread: Programming for WoG/SoD? This thread is 3 pages long: 1 2 3 · «PREV
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted September 15, 2009 09:09 PM

Quote:

Also, I'm almost done UnWoGifying H3Sprite and H3Bitmap LODs, that is, reverting skill icons to what they were in the final HoMM3.


You will be happy with what I found. It reverts the skill icons to original.
____________
Era II mods and utilities

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


Hired Hero
posted September 15, 2009 10:02 PM

I already have them back to original, I only need the resources bar and the videos. Oh, and how do you create .wog files?

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


Admirable
Omnipresent Hero
Wog refugee
posted September 15, 2009 10:11 PM
Edited by Salamandre at 22:13, 15 Sep 2009.

You will need 5 txt files (extract them from any patch)

1)action.txt, contains:
[REGEDIT]

[INSTALL]

2)H3bitmap.txt
write inside your bmp names destined to bitmap.lod

3)H3SPRITE.TXT
write inside the name of the defs you want to go in h3sprite.lod

4)INFORM.TXT, contains

[GeneralName]
Emerald restore patch

[WhatAboutVrotAbout]
Your patch name

5)InstMult.txt, contains

[PICS]

[MUSIC]

Compress those 5 .txt files and your defs/bmp in a rar file, then change name extension to .wog. Place in update and run it. If confused, just look in any editor patch to get the idea how they work.


____________
Era II mods and utilities

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


Hired Hero
posted September 16, 2009 12:17 AM

Hmm, but I can add Bitmaps and Sprites with command line tools... What about videos?

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


Hired Hero
posted September 20, 2009 04:19 PM

Two more technical questions:
In Experience Adding, does Hatred Damage count as additional damage, or overall damage? For example, if I write the damage to be 5, WoG shows it as +50%, so does that mean that it will hit for 150% of damage, or only 50%?
And is there a way to add spell point drain ability, like Wraiths or Familiars have?

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


Admirable
Omnipresent Hero
Wog refugee
posted September 21, 2009 04:23 PM

50% more damage
I don't think you can script drain mana. Even "reduce cost mana" which has a ID actually can't be scripted, I tried it without success.
____________
Era II mods and utilities

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


Hired Hero
posted September 22, 2009 10:20 PM

OK, thanks. Too bad that SP drain isn't available yet, though.

I'm almost done modding all the creatures I need, and I'm looking into ways of creating new creatures... However, I don't seem to find any guides about that at all. For example, if I want to clone a Gog, make it of ID 174 and apply another LOD to it, what should I do?

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


Admirable
Omnipresent Hero
Wog refugee
posted September 22, 2009 11:05 PM
Edited by Salamandre at 23:06, 22 Sep 2009.

Well, there is a way you can add 4 new creatures, that are in gaps between conflux creatures (they are named NOT USED (1-4) in crtraits) some hex editing needed to get rid of warnings about missing sound files - replace bad1, bad2, bad3, bad4 with beginnings of sound files, and import defs of unit's combat animation (without extension) to h3sprite.lod. Needs DOS editing of the .exe file.

If too hard, you can replace graphics of the existent ones right now. Want the GoG to replace the paladin commander? Then replace the def.
____________
Era II mods and utilities

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


Admirable
Omnipresent Hero
Wog refugee
posted September 23, 2009 05:00 AM
Edited by Salamandre at 05:05, 23 Sep 2009.

I mean you can't script mana drain when using abilities. Of course you can script it directly in battle with basic commands:

1) Check if it is human vs AI hero battle (if neutral-->exit)
2) Check if Hero launched spell (every turn check)
3) If previous conditions OK check that Hero launching spell has >0 mana.
4) Check if battle ended that turn (if yes, exit)
5) Check if the creature draining mana is still alive after launching spell (if not, exit)
6) Now drain # mana and add it to the opponent mana pool.

Never tested, so it may needs some adjustments, but not big deal.
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 3 pages long: 1 2 3 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0416 seconds