PDA

View Full Version : Modification wont work as s2z File



St0l3n_ID
11-05-2010, 10:30 AM
Hi there,
I'm new to the community, so i allow myself to introduce me:

I've modded BfMeII about 4 years and did some Morrowind stuff.
I'm also a programmer (C#) so i'm familiar with code and it was easy to get into hon-xml-modding

But at the moment i'm really confused about one thing, I've written a mod, which modifies the chat input, using these two files:
game_chat.package
mod_options_elements.package

The modification works perfect so far if these files are placed in the game\ui\ folder, but when i'm packing them into a .zip and rename it to .s2z, i cant use the chat anymore (the whole chat-control dissapears as if there would be a misstyping in one of the panel-codes)

The structure inside of the .s2z file is simply ui\ so it should be correct.


Any ideas why the mod wont work anymore as .s2z?

(btw. im using the onframe tag, maybe its to "fast" for a packet file?)

greez
Stolen

St0l3n_ID
11-06-2010, 01:36 PM
Is there noone here who faced a similiar problem?

Its really a problem^^

I've tried to place my code in a own file but this wont work either as s2z...

Greez...

Sephinator
11-06-2010, 02:23 PM
What software are you using for making the zip?
I would recommend using windows own zip function. Right Click -> Send to -> Compressed File.

That's the only thing I could think of, if the mod's working correctly in the game/ui/*

Hope that helps.
Sephinator

St0l3n_ID
11-06-2010, 03:00 PM
woah...
CANT BELIVE IT!
I tried WinRar and 7zip with about 20 different compression types (of course those without compression first) and nothing worked...
And now i i'm right clicking it and doing exact the same thing with Send to...
It works...

Sometimes i dont understand the world at all^^

Big thx to Sephinator ;-)

I hope to being able to release my modificaiton soon to share it with all of you

Greez

SHiRKiT
11-06-2010, 03:16 PM
Hey, you don't need to compress into a s2z file. Just copy the folder tree of the file resources0.s2z into the HoN/fame folder. For example, you are editing the file game_lobby.package

The file game_lobby.package is in resources0.s2z/ui/fe2/game_lobby.package

So you just put this file in

HoN Folder/game/ui/fe/game_lobby.package

And the game will load that file. And a plus, you can edit the file on the go and see the changes in the game. Just drop down the console and enter reloadinterfaces command. Simple as that, you'll be able to mod really, really faster!

St0l3n_ID
11-06-2010, 09:10 PM
Yeah^^
I knew that, thats how i created the mod.

But before creating a (test) .honmod file i wanted to create a .s2z file, but now everything (single files/s2z/honmod) works fine.

Thx guys ;-)