Dev's Limit Breaking 101 Techniques
-
Change radius manually - seems to be by Milkshape
-
In this code, [ebp + 0x32c] contain archetype ID of the ship .
I made hook, for some fixed scale, depending on ship class. -
Vital wrote:
Yeah, heard this many times before…… was asking in a desperate hope…
There was once an idea to create a system with multiple centres…(59, #877)
What exactly was the idea then? In that case the positions of zones and objects would have this kind of format:pos = x, y, z, A
in which A is a center of the system, could be any name.
Another problem, how would the map look like?Instead of making huge systems, you could also make your ships very small (I don’t recall if you have to change the size of the pilot as well).
Another thing, what would it take to make the power_modifier function active again?
-
I found some offsets (mostly by adoxa) that I couldn’t find on the list.
#128 ( page 9 )
Freelancer.exe, d5984, 7e -> eb, remove speed display limit of 999 (shows tradelane speed) ~unknown
#720 ( page 48 )
server.dll, 231bf, -350f, jump gate/hole z-axis entry point adjustment ~adoxa server.dll, 876c0, 500d, jump gate/hole x-&y-axis entry point adjustment ~adoxa
#327 ( page 22 )
common.dll, 460a9, 07, power-based multiplier for max distance from the center of the system (x-axis) static asteroids will be spawned (07 = 131k, 08 = 262k, 09 = 524k, etc.) ~adoxa common.dll, 460af, 07, power-based multiplier for max distance from the center of the system (z-axis) static asteroids will be spawned (07 = 131k, 08 = 262k, 09 = 524k, etc.) ~adoxa
#472 ( page 32 )
common.dll, 258eb, 8b4c24086a0151 -> 6a016a01909090, always enable collisions, ~adoxa
#799 ( page 54 )
content.dll, a94d4, 04 -> 39, disable money-based rank ~adoxa
#833 ( page 56 )
Freelancer.exe, b7b85, 0f, degrees to continuously rotate ship preview around x axis ~adoxa Freelancer.exe, b7b90, 0f, degrees to continuously rotate ship preview around y axis ~adoxa Freelancer.exe, b7b98, 0f, degrees to continuously rotate ship preview around z axis ~adoxa Freelancer.exe, 1855c0, 74 -> eb, scale ship to fill the preview ~adoxa Freelancer.exe, b8efa, 162.851f, initial degrees of ship preview around x axis ~adoxa Freelancer.exe, b8f02, -71.6442f, initial degrees of ship preview around y axis ~adoxa Freelancer.exe, b8f0a, 0f, initial degrees of ship preview around z axis ~adoxa
#739 ( page 50 )
FLServer.exe, 8b70, 81 -> c3, don't run dxdiag on crash ~adoxa, Helloween
#169 ( page 12 )
Freelancer.exe, 1d954c, 0.0004f, reciproke of brackets drawn distance ~adoxa
#844 ( page 57 )
Freelancer.exe, 974c9, 0.005f, width of system connection line ~adoxa Freelancer.exe, 97501, 00, red component of system connection line ~adoxa Freelancer.exe, 97506, 40, green component of system connection line ~adoxa Freelancer.exe, 9750b, 80, blue component of system connection line ~adoxa Freelancer.exe, 97510, ff, alpha component of system connection line ~adoxa ```By the way, are the offsets for the waypointed (purple) system connection lines also known (adoxa)? #870 ( page 58 )
Freelancer.exe, 967cd, 3c -> a0, allow all positions on Universe map (visible region roughly -2.4,-2.7 to 17.3,17) ~adoxa
#846 ( page 57 )
Freelancer.exe, 915f4, 2000i, size range of universe map stars ~adoxa
Freelancer.exe, 91605, 3000i, min size of universe map stars ~adoxa
Freelancer.exe, 916f2, 03c2c1f80f -> b80i000000, color of universe map stars (i=0-6 for RGBCMYW) ~adoxa
Freelancer.exe, 916fe, 8403 -> 0000, prevent universe map stars from pulsing (part 1) ~adoxa
Freelancer.exe, 9173a, c18f08 -> 83c8ff, prevent universe map stars from pulsing (part 2) ~adoxa
Freelancer.exe, a1727, d8642410 -> 90909090, prevent universe map stars from blinking ~adoxaI would suggest the list to contain another section under HUD named NavMap (could be useful for adoxa's offsets in #844, #870 and #846). You think that's a good idea, fox?
-
w0dk4 wrote:
posted this back on the temp. TLR, might be useful to some:Found the respawn time after any solar object will regain full health once destroyed:
0x85530 in server.dll (v1.1): 60.0 double float (= 60 seconds)I never really understood why this function was added in MP anyway (not in SP). If you just add a death_fuse to a weapons platform, it will blow up anyway, even in MP.
Found some new offsets:
-NPC behavior-
content.dll, c4c01, 500f, min distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear, M0tah content.dll, c4c06, 2000f, max distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear, M0tah ```A little explanation: When an NPC patrol with arrival = cruise is spawned, it will cruise to a position before dropping out of cruise and start patrolling at normal speed. These are the min and max distances from the position the player was when the patrol was spawned, the patrol will fly to before dropping out of cruise. -Reputation-
content.dll, 114310, gd_bh_grp, in freetime between missions 4, 5, 6 and 7 buying a ship will set your rep with the Bounty Hunters to -0.2; either change the nickname or write it over with 00’s (do NOT change the length of the DLL!) ~Gold_Sear
-Cruise/tradelane-
common.dll, 7630c, 0.8f, multiplier for min cruise speed in formation (escort) ~Gold_Sear
common.dll, 13df88, 0.5d, multiplier for min cruise speed in formation (leader, note: if this value is much smaller than value above, as by default, flying in formation is impossible when the leader is waiting for an escort) ~Gold_Sear
common.dll, 1407a0, 1.2f, multiplier for max cruise speed in formation (escort) ~Gold_Sear
common.dll, 18b5cc, 300f, cruise speed; always overruled by CRUISING_SPEED in constants.ini ~Gold_Sear
common.dll, 18b5d0, 5f, cruise acceleration time; always overruled by CRUISE_ACCEL_TIME in constants.ini ~Gold_Sear
common.dll, 18b5d4, 3f, cruise drag; always overruled by CRUISE_DRAG in constants.ini ~Gold_Sear[EDIT: now I do know.](http://the-starport.net/freelancer/forum/viewtopic.php?post_id=60629#forumpost60629) -HUD: Ship Brackets-
Freelancer.exe, 1d8ee8, 10f, multiplier for size of non-targeted ship brackets, depending on the distance (10 for almost no change, 5 for very small ship brackets at distances > 1000m) ~Gold_Sear
Freelancer.exe, 1d8f08, 0.3f, time in seconds that brackets around selected ships (and waypoints) take to become full-size ~Gold_Sear-HUD: other-
Freelancer.exe, 1d8d08, 1500f, distance over which non-selected arrows of enemies, mission-critical friendlies and players on the edge of the screen start fading (note: this is the same offset as adoxa’s max trade initiate distance) ~Gold_Sear
Freelancer.exe, 212434, 2500f, scanner range (optionally modified by interference) under which the scanner only shows contacts within that range (in other words, if the scanner range is under this value, solars will not show up on your contact list unless within scanner range) ~Gold_Sear
Freelancer.exe, 1c8da4, 600f, multiplier for size of fonts for some things defined in fonts.ini (such as contacts/weapons list, instead of using this hack, you could also change ‘fixed height’ values in fonts.ini) ~Gold_Sear -
-NPC behavior-
Code:
content.dll, c4c01, 500f, min distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear
content.dll, c4c06, 2000f, max distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_SearA little explanation: When an NPC patrol with arrival = cruise is spawned, it will cruise to a position before dropping out of cruise and start patrolling at normal speed. These are the min and max distances from the position the player was when the patrol was spawned, the patrol will fly to before dropping out of cruise.
About this, may you can explain more?thanks for your kind.
-
Since this topic is about original Freelancer-file related hacks I don´t know if this is the right place to post it.
So please admins move this to another appropriate section if needed.cloak.dll, 009160, "freelancer.exe" = name of Freelancer.exe ; if you're going to rename your Freelancer.exe, you'll need to change it here aswell, to keep cloak.dll compatible ~J.R.
@adoxa: are similar hacks needed for any of your excellent dlls aswell ?
Just kindly asking the creator so I dont have to edit them all to find out if its necessary to do so…Greetings J.R.
-
JONG wrote:
-NPC behavior-
Code:
content.dll, c4c01, 500f, min distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear
content.dll, c4c06, 2000f, max distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_SearA little explanation: When an NPC patrol with arrival = cruise is spawned, it will cruise to a position before dropping out of cruise and start patrolling at normal speed. These are the min and max distances from the position the player was when the patrol was spawned, the patrol will fly to before dropping out of cruise.
About this, may you can explain more?thanks for your kind.
Encounters have a certain ‘arrival’ as one of the props (you can see that in encounter files in the MISSIONS\ENCOUNTERS folder). They can launch from base, from docking ring, appear in tradelanes, drop out of jump holes or jump gates, or arrive in cruise. This last arrival is called ‘cruise’. It works as follows. A patrol is spawned within max spawn range from the player. The game ‘remembers’ the position the player was the moment the patrol is spawned. After spawn, the patrol will fly to a certain position in cruise before dropping out of cruise. That position is always between above values away from the position the player had when the patrol was spawned (except when the patrol drops out of cruise to engage enemies). After dropping out of cruise, the patrol starts patrolling at normal engine speed.
-
This wasn´t my intention… Not really. I just realized that cloak.dll isn´t working anymore as soon as you rename Freelancer.exe. (I did this for the next update of my mod to enable “enhanced compatibility-check” on startup via my custom-build Mod-Launcher)
Anyways… Since there is already a note in Devs 101 (regarding the requirements when you´re going to rename the freelancer.exe)
I only thought its appropriate to tell other modders a fix for this specific cloak.dll “issue”.Thats all…
-
adoxa wrote:
Louva asked me in an IM if ships could drop out of cruise once power runs out. He’s offline atm, so I’ll post it here for all to use.# Drop out of cruise once power reaches 0. # Jason Hood, 18 November, 2010. File: common.dll 03659E: 79 [ 4F ] 036618: 8B 8E 94 01 00 00 EB 14 [ 90 90 90 90 90 90 90 90 ] 036634: 6A 00 E8 A5 D5 03 00 EB B1 [ 90 90 90 90 90 90 90 90 90 ] ```He also asked if power could have an activation delay like shields, but that can wait for another day…
I was change those hex code to Adoxa do, but seem like no effect, when I finish my cruise, the ship power still same like before, am I misunderstand the hex code mean?
-
Gold_Sear wrote:
content.dll, c4c01, 500f, min distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear content.dll, c4c06, 2000f, max distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear
I have to apologize, these codes were originally found by M0tah :oops: (that is, the offsets, I discovered their purpose). So here’s the correct code:
content.dll, c4c01, 500f, min distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear, M0tah content.dll, c4c06, 2000f, max distance from player position at spawn moment that an NPC patrol with arrival = cruise will fly to when spawned ~Gold_Sear, M0tah ```Sorry for any inconvenience this may have caused (especially: sorry M0tah!)
-
Vital wrote:
FormationOp
200f, 0x6c00d –
500f, 0x6c017 –Could you spot a bit more light on this, especially first values, cos this 200 value seems to be familiar, thats the quote from one of my posts:
If one ship of the formation has 0, 0, 0 position, it dosn’t matter how far the others, they dock well(firstone goes first, others follow). It works till approximately 0, 0, 220 position, after this they start docking manuver, and… fly away from the gates about 5-6k, turn around, start docking manuver and it all repeats, if the ships a more then 5-6 k from the centre of formation, they just start spining around with their docklights blinking.
It’s impossible to dock while they are trying.Maybe that 200 value can help here.
Found the last value:
common.dll, 6c017, 500f, distance ahead of the leader of the patrol the player (or any escort) 'anticipates' to go to when catching up in cruise (decrease this to make the player go in a straighter line towards the leader, but setting this too low causes the escorts to swing back and forth after a minor turn) ~Gold_Sear, M0tah ```The first value doesn't seem to have any effect, though. EDIT: [it does](http://the-starport.net/freelancer/forum/viewtopic.php?post_id=61827#forumpost61827) Found some new values, might be useful for some:
common.dll, 75b36, 500f, distance from the center of the leader of the patrol’s ship the escort will fly to in cruise (to catch up) before dropping out of cruise, when the leader has its cruise engines off ~Gold_Sear
Freelancer.exe, 1d2ef4, 2700f, negative z-coordinate of border between sector 4 and 5 (devided by NavMapScale; make this 0 to make the system map exactly according to the coordinate system in the ini file) ~Gold_Sear -
Can anyone help about visibility distance of bases?
10000f freelancer.exe 213EC8 FriendlyFire maximum draw distance for some bases (like battleships)
i find offset about visibility bases 213EC8 and change float 10000 to 100000 or 1000000 but bases are disappear after distance is 14.7 how can i increase this distance?