![]() |
Medals modding
I'd love to be able to mod the medals, not just the bonus it gives but creating a whole new one. I just can't seem to find where all the variables are stored.
The first one is I'd love to create is the Archer General where you get bonus for archer units when you register kill with an archer unit. I think it could be easily done if I could look at how they implement the trapping medal one. It became just a matter of replacing a register kill from a trap by a register kill from bowman, elf, hunter, etc. Plus I can'T seem to find the source file for all the text for the medals. I found the text files for the item in loc_ses.kfs but there'S no text for medals in it. One file, eng_item list the medal but there's no description in it compare to the item. |
Hmm, tried on Arena.lua?? I cant check it now, but u should try that.
|
seek for medals.txt
i guesss the medal types for each class are insripted in hero.txt |
I'm aware about medal.txr and hero.txt doesn't manage the medal thing, it'S all in the medal.txt file.
I'm looking for the file where the variable killed_by_trap is store so I can modify it and replace trap by archer. I look trough arena and did't see anything corrsponding to that |
I didnt find anything, im searching for some way to increase the ammount of units respawned on the shops, but nothing. As i see, there are some things that cant be modified... O_o
|
yeah, looks like sone thing are hardcoded. But still, find it hard to believe that something like killed_by_trap is hardcoded. If I could see how they coded it, could easily make a script to go with my new medal.
Same for new units you create. Would love to make sure they spawn at one place. Now I checked some game I started and they might not spawn at all! |
Quote:
I'll give you the link if you're interested. |
everithing could be done easier if you learn russian.
|
Quote:
|
i wonder why russian modmakers usually don't have language problems and continue to create pretty good mods for various games? we can't translate 10 thousand posts from our forum into english.
|
Quote:
Russian forum is interesting, but google traduction is pretty atrocious. To bad, with more info and may be partnership, i'm sure we'll have lot lot more mod actually. |
i am afraid of useless of that. game hs been released long time ago and there no such a heed in new mods. and even in already created.
|
Quote:
|
you didn'T happen to stumble on part of the code where it explain how they are treating the killed_by_trap variabales?
By the way, just took a look at the army of light files. Wow, they did a great job with the conversion script. Just not sure how the script is called when the sword is being "use". Would love to use it for my game. Just a matter of changing the unit "string" in the successors_of_the_light.lua file I think the file I got is bug or something I got that for the sword: sword_of_the_successors_of_the_light { category=o image=sword_of_the_successors_of_the_light.png hint_config=object_item label=itm_sword_of_the_successors_of_the_light_nam e hint=itm_sword_of_the_successors_of_the_light_hint information_label=itm_sword_of_the_successors_of_t he_light_info maphint= mapinfo= price=10 maxcount=1 level=3 race=human use {} propbits=usable,rare params { use=1 } usec=020000000600000053435249505401000000030000000 2000000666E0D000000616F6C5F636F6E646974696F6E actions { onuse=70000004D425F53484F5705000000020000000500000 0030000000400000004000000050000006C6162656C1200000 067006C006F0062007300740072005F0031003900370032003 800320031003200350030000300000066727A0300000003000 0006C756E050000002473656C66030000006E7965E80300000 30000006E6E6FE9030000 custom0=E000000455845435554455F5343524950540200000 0030000000300000005000000666E616D6507000000616F6C5 F7965730300000070617200000000 custom1=E000000455845435554455F5343524950540200000 0030000000300000005000000666E616D6506000000616F6C5 F6E6F0300000070617200000000 @=02000000000000000100000001000000020000000 } } not sure about all the characters after actions! |
You can Download the file here : http://forum.1cpublishing.eu/attachm...1&d=1260499436
And refer to this post : http://forum.1cpublishing.eu/showthread.php?t=11585 And i'm sorry,i haven't found where trap are managed :( Quote:
|
Quote:
it can be recoded with this tool. btw - i've modified the source code for AoL from AoD mod. Lestas have made a huge work. anyway thx, you noticed about that. Quote:
and btw, i've done few mods that aloow units gain expirirence for battles. if anyone interested, i could try to find some freetime to translate them and to share it with everyone. P.S. i still apologise for my english. if anyone can give me loc_ses.kfs file for english-languaged version of AP, i could faster translate my mods for you. |
1 Attachment(s)
Hey, here is the english version of the loc_ses.kfs, as u requested. I ve been looking at your mods on the russian forum and there are some very interesting, but on some of em, the ones that are unit mods, logically they are on pure russian, so are useless to me (a shame cuz i am curious about some of em).
|
Hey guys i have a question i cant answer for myself -.- how can i do to make a unit only available on summoning, like avenging spirits?? i mean, dont want the unit to be available on shops, or like a fighting troop, only as a summoned unit. Any idea???
|
you have to add it's name into ignorecp.txt file.
|
Quote:
edit: well, forget it. It didnt work, king harl's still appearing on shops for buying sigh.. do i need to ad the ignorecp.txt file on my own mod for it to working? or only adding the unit on the ignorecp.txt file on the kbmaster mod is enough? |
All times are GMT. The time now is 08:59 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.