Page 1 of 2

Adding new stuff with hexediting?

Posted: Sat Sep 10, 2005 1:47 pm
by Rends
Well i couldn“t post this in the hex board so i will do it here.

I know you hex changed stuff in SWBF1 but did you also added new stuff?

It just came into my mind that if there are no cockpit views in SWBF2 i could create them and one of the hexgurus bring that into the game.
But this would require to add new stuff and changes to the odf. So what do you think will it be possible?

RE: adding new stuff with hexediting

Posted: Sat Sep 10, 2005 3:25 pm
by Leviathan
I thought hex-editing could only change existing stuffs, and not add new ones... :?
For info, I've already tried to tweak SWBF's shipped "core.lvl" through an hex-editor, in order to give a longer name to some weapons, and it crashed the game...

RE: adding new stuff with hexediting

Posted: Sat Sep 10, 2005 3:39 pm
by Ace_Azzameen_5
I think the lvl file can't get any larger, it must have the same amount of characters as it used to.

RE: adding new stuff with hexediting

Posted: Sat Sep 10, 2005 3:43 pm
by Nimlot
Yea, can't get any larger without having to change all the size markers.

RE: adding new stuff with hexediting

Posted: Sat Sep 10, 2005 3:54 pm
by Leviathan
What are those "size markers" ? :roll:

RE: adding new stuff with hexediting

Posted: Sat Sep 10, 2005 5:26 pm
by Nimlot
Take a look at Rileys lvl documentation, but they are basically the 4 bytes following any header. The 4 bytes tell the engine how many bytes follow, or give that chunks size.

RE: adding new stuff with hexediting

Posted: Sun Sep 11, 2005 12:58 pm
by Leviathan
What's the link to this *.LVL documentation, please ?

PS : If I understand properly, enhancing this hexa-decimal number could allow you to add more stuffs to a *.LVL file. Right ?

Posted: Sun Sep 11, 2005 2:16 pm
by Riley75
Yes, you can add new objects to a *.lvl file. The link to my documentation is in my signature. ;)

Posted: Sun Sep 11, 2005 2:19 pm
by Leviathan
Thanks to you, Riley'... :wink: (I'm over-excited ! :D )

Posted: Fri Sep 16, 2005 5:56 pm
by Bobafett16
Riley75 wrote:Yes, you can add new objects to a *.lvl file. The link to my documentation is in my signature. ;)
oh good so that means u or "we" can mod BF2? cuz if u can hexedit u can do basically anything right? :?
i better get my skills up on the hexediter :wink:

Posted: Sat Sep 17, 2005 9:44 am
by Riley75
Well... "anything" within the limits of the game engine. And keep in mind that if the data format has changed from Battlefront 1, we'll have to figure out those changes.

Rends, you mean they took out cockpit views entirely? Are we sure they're not an option, the same way you can switch between 3rd-person view and cockpit view in Battlefront 1? I'd been away from all this for a good six months, so I must've missed some things...

Posted: Sat Sep 17, 2005 11:51 am
by Leviathan
Actually, we're sure of nothing... :|

Posted: Mon Sep 19, 2005 9:18 am
by Bobafett16
Leviathan wrote:Actually, we're sure of nothing... :|
well then if we are shure of nuthing then how can some one say "BF 2 can not be modded" :? should we not WAIT to see for our selves if it can be or not?

Posted: Tue Sep 20, 2005 12:39 pm
by Leviathan
Yes, I can't contradict you... We'll see whether SWBF II can be modded once it'll be out... :)

Posted: Tue Sep 20, 2005 5:28 pm
by Bobafett16
well i suppose we will just have to wait then :wink: :cry:

Posted: Tue Sep 20, 2005 5:38 pm
by ShadowHawk
Anything can be Modded, just the ease of it is not guarranteed.

"In the Beginning God created the Hexguru and the Scriptmonkey. Then he said "Let there be Highspeed internet." and it was. Then he made the C++ of his own kind, and the VB of his own kind, and the .Net of his own kind. Then he created the Silicon Microprocessor from the dust of the earth. He then told the Microprocessor, "I will make you a companion." So he took a piece of silicon from his ribs and created the Motherboard."

I am so going to hell for blaspheming.

Posted: Tue Sep 20, 2005 5:53 pm
by Bobafett16
hehe hoho haha that was um funny(well sort of) but i agrea w/ shadowhawk ANY thing can be modded but the ease of it is not guarranteed.!

good saying "Hawky" :wink:

Posted: Tue Sep 20, 2005 6:16 pm
by Nimlot
Yep, SWBF2 shouldn't be too hard, at least at first glance. Replacing textures and models should be easy, lua's might not be too hard if its set up like SWBF1 was.

On a side note, I have been able to easily extract textures from the game, so it shouldn't be too long until the tool I'm working on now (a lot like winzip, it "extracts" the whole lvl, then you will repack it up) is stable enough to test new mods with.

Posted: Tue Sep 20, 2005 6:44 pm
by Bobafett16
well nothing will be hard for GURU the GREAT and NIMLOT the AWSOME,but it is US SMALLER guy's who don't know things as well as u great guy's, so for u nothing will be to hard :wink: :wink:

Posted: Tue Sep 20, 2005 7:27 pm
by Nimlot
Think winzip easy. Thats the ultimate goal for us, to make it as easy as possible for everyone.