Page 1 of 1
					
				Making a program, But i need a hex value
				Posted: Thu Nov 03, 2005 1:49 pm
				by n3xg3n
				im makinf a program to automatically make the bipd a flying bipd but i need the flying bipd hex value if ne has it thnx
			 
			
					
				
				Posted: Thu Nov 03, 2005 4:03 pm
				by Hyperdash
				Cool, sounds like a nice plug-in.
			 
			
					
				
				Posted: Fri Nov 04, 2005 9:29 pm
				by twolvesfan369
				theres quite a few. 1st thing is open up the plug-in in notepad and take a note at the offset..then open up the map in dothalo . then click on bipd. gotot he hex editor built it, then goto that offset fm the plugin. Take a note of the party on top where it says "Offset on map" and there u go
			 
			
					
				
				Posted: Sat Nov 12, 2005 12:07 pm
				by [CL]9mm-Man
				Not possible, it would lagg too much and you cant find hex value for it without alot of luck 

 
			 
			
					
				
				Posted: Wed Dec 21, 2005 2:13 pm
				by kidz14
				this is the way you have to go about doing that what you do is et a hex editor ex: Hex Workshop now that you have that you can make a original copy of the map know make a second with the fly bipd created now open the one map in the hex editor then go to compare and slect the second then see what has changed
			 
			
					
				
				Posted: Thu Dec 22, 2005 2:58 am
				by xxANTMANxx
				OR EVEN EASIER
you can find out what type the value it is in this case its a float a.k.a single
then you just go to the correct tag offset then just do the tag offset + the offset that it says on the plugin and thast the value you want to edit
since im in a good mood ill give you a function to read  the value and im sure you can figureout how to edit it by just editing the function a bit
Code: Select all
   Public Function GetFloatValue(ByVal Filepath As String, ByVal TagOffset as long, ByVal ValueOffset as long)
        Dim read As New System.IO.BinaryReader(New System.IO.FileStream(Filepath, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.ReadWrite))
        read.BaseStream.Seek(TagOffset  + ValueOffset , System.IO.SeekOrigin.Begin)
        Dim value = read.ReadSingle
        Return value
    End Function
 
			 
			
					
				
				Posted: Thu Dec 22, 2005 10:40 am
				by superaison
				Ha, AntMan knows all.
			 
			
					
				
				Posted: Tue Dec 27, 2005 11:01 pm
				by Inquisinator
				xxANTMANxx wrote:OR EVEN EASIER
you can find out what type the value it is in this case its a float a.k.a single
then you just go to the correct tag offset then just do the tag offset + the offset that it says on the plugin and thast the value you want to edit
since im in a good mood ill give you a function to read  the value and im sure you can figureout how to edit it by just editing the function a bit
Code: Select all
   Public Function GetFloatValue(ByVal Filepath As String, ByVal TagOffset as long, ByVal ValueOffset as long)
        Dim read As New System.IO.BinaryReader(New System.IO.FileStream(Filepath, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.ReadWrite))
        read.BaseStream.Seek(TagOffset  + ValueOffset , System.IO.SeekOrigin.Begin)
        Dim value = read.ReadSingle
        Return value
    End Function
 
wrong its not a float, its a bitmask....
 
			 
			
					
				
				Posted: Wed Dec 28, 2005 1:52 am
				by xxANTMANxx
				the values you need to edit to change your speed and all to even move are floats and the actual flying 2 and crap are bitmask
			 
			
					
				
				Posted: Sat Dec 31, 2005 3:21 pm
				by xbox7887
				You will need your program to load the biped tags and load the dword of meta that contains the flying flag.  It is in the form of a bitmask so you will need to create a function to go from hex->bin, put a 1 for the flying bit, then create another function that goes from bin->hex and overwrite the bitmask.  You will need to do a little educated guessing as to what bit it is, you can look at the plugin but it will all depend on how the data is loaded in your app.