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 > Library of Enlightenment > Thread: Help! Script program is needed!
Thread: Help! Script program is needed!
Artas1984
Artas1984


Adventuring Hero
posted February 13, 2007 07:13 PM

Help! Script program is needed!

I have Blade/Erathia combo at the mom.

I have extracted in the "Heroes3/Data/H3sprite.lod" the ".DEF" and ".SMK" files into 2 different directories and viewed them with defviewer.

It seems the ".DEF" files are scripts for geometry of all objects and models in the game and the ".SMK" files, as i have been told, are files in smacker format...

Now in Heroes3/Data/H3bitmap.lod naturaly are bitmap models, those i don't need too...

What i need are scripts where creature statistics are written.
Where are such and what program to use to edit those scripts?

(If you name a program please link a download thumbnail)
____________

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


Supreme Hero
Former Chessmaster
posted February 13, 2007 08:39 PM

You dont need a "script", though there is a config file.

It is in .txt format named crtraits.txt under H3bitmap.lod i think (anyway it is in one of the lods, and there shouldnt be many of them.) So, just search for crtraits.txt.

You don't need any programs except the one you already used to extract smks and defs, hope this helps.

____________

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


Adventuring Hero
posted February 13, 2007 08:57 PM
Edited by Artas1984 at 21:16, 13 Feb 2007.

Thank you! It was in H3bitmap indeed, not in H3sprite.

It was easyer than i thought it would be...

____________

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


Supreme Hero
Former Chessmaster
posted February 13, 2007 09:23 PM

Glad to be of asistance.
Happy editing, and don't forget to put the file in your data folder to take effect.
____________

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


Adventuring Hero
posted February 14, 2007 11:09 PM

There is one more thing. IS There a way to compress the .txt files back in the .LOD? I mean, after the editing it works, when the .txt files are placed in Data folder, but that means it is a mess. I'd like to compress them back and replace with old .txt.

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


Supreme Hero
Former Chessmaster
posted February 15, 2007 01:09 AM

There is a way.
I will upload the scripts that return the file into .lod but cant do it now. They are prolly already posted somewhere but i cant search for them now. (I'm too lazy)

But having the file in data folder has its advantages, like being easy to delete it, or move it for one game then puting it back.
____________

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


Adventuring Hero
posted February 16, 2007 06:25 PM

There is a bad thing concerning the commands in the scripts.

For example when i change the values in the creature stats (crtraits.txt), it works, however, if i edit something else, let's say in secondary skills, (sstraits.txt), it does not work!

For example if i change the value of expert mysticism to regenerate 30 points per day instead of 4 it still regenerates 4!

What's the key when some scripts work and some not?
____________

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


Supreme Hero
Former Chessmaster
posted February 16, 2007 07:11 PM

i don't think you can change that in sstraits...

You prolly changed a number that means something else,... number of regenerated points is not available for change. perhaps a chance that the skill will be offered at levelup.

However im talking this out of memory since i dont have the file ATM.

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


Adventuring Hero
posted February 17, 2007 07:22 PM

Well, if someone here remembers where to get the program that compresses the .txt files back to .lod, please respond.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0292 seconds