Autor Wiadomość
Mephisto
PostWysłany: Pon 17:11, 27 Lip 2015   Temat postu:

Yes I know, I translated most of those posts but still couldn't get much information on how exactly to do it... It's just that - I convert an image EURO SPY lets say to BMP. I don't edit it and instantly convert it back to RLE. And put it in the game folder and start Tzar. And the ingame, it's bugged. It disappears from time to time and I have no idea why. I haven't even edited the goddamn thing! It must be something wrong I am doing when converting BmpToRle but I cannot see where. 8 Directions, 104 frames and that's it.. right? Sigh... oh well. Thanks for the help though. I'll just try to edit the exe and if I fail there as well, well then I guess I won't be editing Tzar that much further. I've already made my own patch I just wish I could enhance it even more.
Cyrek
PostWysłany: Pon 15:30, 27 Lip 2015   Temat postu:

Some of us was adding even new units:
http://www.tzar.fora.pl/tzar-ciezar-korony,2/tzar-modyfikacje,5111.html
Mephisto
PostWysłany: Pon 14:18, 27 Lip 2015   Temat postu:

I haven't changed anything. I converted the spy rle file to bmp. Then I edited it. Then I converted it to rle again and in BmpToRle I typed in EURO SPY 104 frames, 8 directions ; EURO SPY ATTACK 112 frames, 8 directions ; EURO SPY DIE 160 frames, 8 directions ; EURO SPY IDLE 56, 8 directions.
I haven't made new units or renamed any of the files.
Another thing I tried was convert the Spy RLE to BMP then convert it back to RLE (without editing it) but it still bugged in game - some of the frames disappeared on Attack or Death. When I typed in random frame numbers when converting the game even crashed. Are my frame numbers not correct or what? (I counted them 1 by 1 2 times and they all divide by 8 (8 directions) so they seem correct). Tell me, have you ever tried adding new images to Tzar? Do they work correctly?
Cyrek
PostWysłany: Nie 21:17, 26 Lip 2015   Temat postu:

if you dont touch the numer of frames you dont have to do it. you have to edit syp file in object:

[general]
class = spy
type = unit

[euro]
image = e_spy
image_attack = e_spy_attack
image_die = e_spy_die
image_idle = e_spy_idle
menu = e_spy
order = e_footman
sound_create =
sound_select =
sound_command = foot_cmd
sound_attack = spy_kill
sound_die = infantry_die
icon = spy
icon_hero = HERO
buildicon = BUILDICON
max_obj_in_holder = 8

[arab]
image = e_spy
image_attack = e_spy_attack
image_die = e_spy_die
image_idle = e_spy_idle

menu = e_spy
order = e_footman
sound_create =
sound_select =
sound_command = foot_cmd
sound_attack = spy_kill
sound_die = infantry_die
icon = spy
icon_hero = HERO
buildicon = BUILDICON
max_obj_in_holder = 8

Image

Which cooldown do you mean? if cooldown of summning - it is based on mana cost divided by[ mana regeneration of unit (concentration or not)]
Mephisto
PostWysłany: Nie 20:38, 26 Lip 2015   Temat postu:

The cost for the spell is in data.wdt? Where? Are the cooldowns there too by any chance?
Regarding Rle2Bmp problem - I meant that after I convert the image and put it into the game (just an edited Spy (brown version for Arabs)) it doesn't display properly. It disappears on Attack/Death animations, I have no idea why. And no, I didn't edit the data in the Images. But where in Images can I see the number of frames?

For example:
[e_spy]
image = unit\euro spy.bmp
rows = 13
cols = 8
object = 11,17,32,32
selection = 17,28,24,22
startrow = 4
actionrow = 3
move_len = 56
anim_time = 745

Where do you see frames here?
Cyrek
PostWysłany: Nie 1:14, 26 Lip 2015   Temat postu:

Cheat engine is only to find variables, to change it in tzar.exe you have to use other program (i was doing it that way) becasue CE(cheat engine) working on working proces and doesnt change the file but the 'process' .

Fixed statements are green in CE.

Im not even a IT specialist, so i cant help you more.

I dont work lots with rle2bmp program, to me i was working fine (ofc i have lots of problems but i always find the problem and slove it)

Do you editing images ile in data.wdt? (numbers of frames etc)


If you ant to change changed values you can use file comperator to compare exe of 1.10 to exe of 1.13b

@Edit
Mana for dragon is in data.wdt file so i dont understand the question xd

I dont know if im even right so dont take my words so seriously xd
Mephisto
PostWysłany: Sob 23:40, 25 Lip 2015   Temat postu:

Sorry for double posting I couldn't figure out how to edit my post.

Ok so I edited a few values (750 mana cost for Dragon for example) but the changes don't take place ingame. When I reopen the .exe with Cheat Engine I can see that changes have taken place, since I can no longer find the value 750 but ingame it still costs 750. How so?
Mephisto
PostWysłany: Sob 20:32, 25 Lip 2015   Temat postu:

Your english is fine. Hmm, so this sounds hard enough. I've moded lots of games but haven't hacked any..
Yes I've used RleToBmp but when I convert the image to RLE and add it into the game, the image becomes invisible for a few seconds, it's very bugged. Is it something wrong I am doing when converting?
Cyrek
PostWysłany: Sob 19:40, 25 Lip 2015   Temat postu:

You should wait untill someone more advenced in this things then me speak

rle2bmp:
http://www.tzarlive.com/index_page.php?lang=en=media=128&id=downloads&download=376

there is no tzar-Cheatengine tutorial you must visit hakers forums and learn it from 0 to all programs

Tzar will always working as long as 2 ppl have the same version of it, for exaple you will make it and let all files to youe friend

Game crashing when you all (players) dont have the same verion of tzar, the game is long, or sb using hacks/ presing many times at once shift+del.

Sorry for my english i hope you can understand me Razz
Gość
PostWysłany: Sob 11:53, 25 Lip 2015   Temat postu:

Well I've used Cheat Engine a few times but will this work Multiplayer if I edit it? Where do I begin learning this kind of editing? I haven't found any threads for it, searching in every Tzar site. I also have a few other questions if you don't mind me asking - when editing Images and converting BmpToRle I gotta type in the Animation Frames and Turns (Cool but when I add it to the game the new animation clips or something and disappears at times... why is this happening? And is there any way to fix Multiplayer errors like "Syntax error" or game crash for no reason? I don't have high hopes for the last, the programming is very crappy but I love this game too much and really want to play it with my friends.

Thanks for replying so quickly. I honestly did not expect that.
Cyrek
PostWysłany: Sob 11:13, 25 Lip 2015   Temat postu:

Its in Tzar.exe you have to edit it, its no so easy. You need to editing hexes or using cheat engine or IDA. If u dont know about it it will be relly hard to lern it, i was trying it and i fall.
Mephisto
PostWysłany: Pią 14:13, 24 Lip 2015   Temat postu: A modding question

A thing from Patch 1.13
"1. Inventing duration of irrigation increased to 10min; bonus to food collected from fields increased from +4 to +12."
Where do I mod the collected food bonus? Or anything of that sort? Like spells bonuses? Spells damage? I can't seem to find it anywhere in the datas, I've searched every .txt file. Can any modder help me with this? I tried to find a similar question translating some parts of the site with Google translate but you can see how that didn't give much result...

I reaaally want to learn how to do this, I've been trying for months now. Please help me out or refer me to someone who could help me out.

Powered by phpBB © 2001/3 phpBB Group