Johnson 1.4
- Aumaan Anubis
- Posts: 2938
- Joined: Fri Jun 30, 2006 1:01 pm
- Location: Aumaan
- Contact:
- LuxuriousMeat
- Posts: 824
- Joined: Thu Nov 03, 2005 6:43 pm
- Location: zzzzzzzzzzzzzzzz
- Contact:
Re: files
Veegie wrote:How do I get Halo 3 files onto my computer so I can mod them?
www.Xbox-Scene.com has numerous tutorials.
If you are looking for the downloadable content maps, you can find them in the content\0000000000000000\4D5307E6\00000002 folder on your Xbox 360 hard drive.
- LuxuriousMeat
- Posts: 824
- Joined: Thu Nov 03, 2005 6:43 pm
- Location: zzzzzzzzzzzzzzzz
- Contact:
Sorry for the bump, and double post, but I have a bug fix for you, Prey.
Well, when I was testing your meta editor, and I came across a bug when saving bit masks and such. I didn't check if it occurred in other data types, but I just changed it to a new way of saving and it works flawlessly.
Anyways, your code is like this:
It gives an error when casting to a byte, short, and int from an object, so I changed it to this and it works perfectly.
And heres the updated saving code for the 'ValueNode' class:
Well, when I was testing your meta editor, and I came across a bug when saving bit masks and such. I didn't check if it occurred in other data types, but I just changed it to a new way of saving and it works flawlessly.
Anyways, your code is like this:
Code: Select all
switch (this.Size)
{
case 8: bw.Write((byte)Mask); break;
case 16: bw.Write((short)Mask); break;
case 32: bw.Write((int)Mask); break;
}
Code: Select all
switch (this.Size)
{
case 8: bw.Write(Convert.ToByte(Mask)); break;
case 16: bw.Write(Convert.ToInt16(Mask)); break;
case 32: bw.Write(Convert.ToInt32(Mask)); break;
}
Code: Select all
public override void Write(BitWriter bw, int seekOffset)
{
bw.BaseStream.Position = seekOffset + Offset;
switch (NodeType)
{
case NodeType.Byte: bw.Write(Convert.ToByte(Value)); break;
case NodeType.Short: bw.Write(Convert.ToInt16(Value)); break;
case NodeType.UShort: bw.Write(Convert.ToUInt16(Value)); break;
case NodeType.Long: bw.Write(Convert.ToInt32(Value)); break;
case NodeType.ULong: bw.Write(Convert.ToUInt32(Value)); break;
case NodeType.Quad: bw.Write(Convert.ToInt64(Value)); break;
case NodeType.UQuad: bw.Write(Convert.ToUInt64(Value)); break;
case NodeType.Float: bw.Write(Convert.ToSingle(Value)); break;
case NodeType.Double: bw.Write(Convert.ToDouble(Value)); break;
}
}
-
- Posts: 10
- Joined: Wed Jul 16, 2008 9:25 pm
-
- Posts: 10
- Joined: Wed Jul 16, 2008 9:25 pm
- LuxuriousMeat
- Posts: 824
- Joined: Thu Nov 03, 2005 6:43 pm
- Location: zzzzzzzzzzzzzzzz
- Contact:
- bballaplaya4life
- Posts: 127
- Joined: Tue Feb 05, 2008 2:01 pm
- Location: Earth
- Contact:
LuxuriousMeat wrote:I just noticed the PM. And the image you sent me doesn't load. But I have no problems saving in the weap tag with the code I posted.Eaton wrote:The code Lux posted has difficulties on some data types. I PMed him about it, but no reply as of yet.
Just tested your code (on the weap tag). I got an unhandled exception. All I did was change the collision damage from small vehicle to large vehicle and changed the ghost gun to hornet missile . Wish I could map mod
So, apparently, it's not flawless.
Senor_Grunt: Okay, so, I was playing CoD4 earlier, and about 30 minutes into playing, the screen went black, then flashed, then the 360 gave me red rings. Only, they weren't rings, they were half of the ring. Like, only two of the controller light thingies were light up red. WTF does this mean? Like seriously. My 360 still works, but it does that like once every week at the least, and it's getting annoying getting to round 16 in the zombie mode for CoD5 (so totally not bragging ), then suddenly blacking out. :[
tucker933: Pour some liquid nitrogen on it.
tucker933: Pour some liquid nitrogen on it.
- LuxuriousMeat
- Posts: 824
- Joined: Thu Nov 03, 2005 6:43 pm
- Location: zzzzzzzzzzzzzzzz
- Contact:
For one, that picture shows that you have a vehicle selected :/... Also it says:bballaplaya4life wrote:LuxuriousMeat wrote:I just noticed the PM. And the image you sent me doesn't load. But I have no problems saving in the weap tag with the code I posted.Eaton wrote:The code Lux posted has difficulties on some data types. I PMed him about it, but no reply as of yet.
Just tested your code (on the weap tag). I got an unhandled exception. All I did was change the collision damage from small vehicle to large vehicle and changed the ghost gun to hornet missile . Wish I could map mod
So, apparently, it's not flawless.
"Specified cast is not valid."
That means it's trying to cast the object to another data type(byte, int16, int32) so you didn't update everything.
- bballaplaya4life
- Posts: 127
- Joined: Tue Feb 05, 2008 2:01 pm
- Location: Earth
- Contact:
Please explain.LuxuriousMeat wrote:That means it's trying to cast the object to another data type(byte, int16, int32) so you didn't update everything.
p.s. I was using the updated plugins would that have anything to do with it?
Senor_Grunt: Okay, so, I was playing CoD4 earlier, and about 30 minutes into playing, the screen went black, then flashed, then the 360 gave me red rings. Only, they weren't rings, they were half of the ring. Like, only two of the controller light thingies were light up red. WTF does this mean? Like seriously. My 360 still works, but it does that like once every week at the least, and it's getting annoying getting to round 16 in the zombie mode for CoD5 (so totally not bragging ), then suddenly blacking out. :[
tucker933: Pour some liquid nitrogen on it.
tucker933: Pour some liquid nitrogen on it.
- LuxuriousMeat
- Posts: 824
- Joined: Thu Nov 03, 2005 6:43 pm
- Location: zzzzzzzzzzzzzzzz
- Contact:
Didn't update the code fixes I posted. And no, the plugins wouldn't have anything to do with it.bballaplaya4life wrote:Please explain.LuxuriousMeat wrote:That means it's trying to cast the object to another data type(byte, int16, int32) so you didn't update everything.
p.s. I was using the updated plugins would that have anything to do with it?