====== Visibility ====== freelancer.exe 213EC8 10000f = maximum draw distance for some bases (like battleships) ~FriendlyFire freelancer.exe 1C8910 20000f = same offset as below, max distance at which ships can be seen (even if lodranges specify a higher distance) - same as space_farclip in [SystemInfo] ~Dev freelancer.exe 1D15B8 100000000f = square of max distance that a ship can be selected ~Dev server.dll 086AEC 6250000f = square of NPC disappear distance in MP ~Dev server.dll 086AF0 25000000f = square of player disappear distance in MP ~Dev server.dll 086AF4 100000000f = square of grouped player disappear distance in MP ~Dev ====== NPC Spawning: Generic ====== content.dll 11BC78 100d = initial NPC min spawn distance in SP and MP (such as after respawn) ~fox content.dll 11BC80 1775d = initial NPC max spawn distance in SP and MP (such as after respawn) ~Dev content.dll 11BC68 2500d = NPC max spawn distance in SP and MP ~Dev content.dll 0D3D6E 2500f = maximum distance that NPCs will persist in MP ~Dev content.dll 117A68 7500f = distance over which NPC spawning will ignore density cap in MP (in other words, players within this distance to another player will "share spawns" with that player, and must move this distance away from other players for FLServer to start spawning NPCs for him/her) ~Dev ====== NPC Behavior ====== common.dll 13E52C 04->00 = NPCs use scanner (enables CMs) ~adoxa content.dll 06C470 500i = max range at which NPCs will scan your cargo ~Dev content.dll 06C717 2500f = max range at which NPCs will initiate scan of your cargo ~Dev ====== Random Missions ====== content.dll 11C2C4 2500f = distance at which NPC mission target ships in randommissions are created ~Vital content.dll 0F17D9 2625f = distance at which NPC wave ships in randommissions are created ~Vital content.dll 11C2B0 7500f = distance at which mission target solars in randommissions are created ~Vital content.dll 11CBCC 6000f = distance from 1st mission waypoint that second waypoint (and ships at it) in randommissions are created ~Vital content.dll 11C2C8 3500f = core retreat distance from randommission waypoint, modified by below offset ~Vital content.dll 11C2CC 2000f = max range at which randommission NPCs will engage enemies; outside of this range, their behavior will be strange (fly around in circles, ignore fire, etc.) ~Vital ====== Docking / Jumping ====== common.dll 18BDB4 1000f = max dock acknowledge distance ~Dev common.dll 13F48C 10000f = max docking initiation distance ~Dev common.dll 18BDB8 18f = docking speed ~adoxa common.dll 06DE13 0.5f = relative speed after launching (station) ~adoxa ====== Cruise / Tradelane ====== common.dll 03659E 4F->79 = drop out of cruise once power reaches 0 PART 1 ~adoxa common.dll 036618 9090909090909090->8B8E94010000EB14 = drop out of cruise once power reaches 0 PART 2 ~adoxa common.dll 036634 909090909090909090->6A00E8A5D50300EBB1 = drop out of cruise once power reaches 0 PART 3 ~adoxa common.dll 13F3CC 2500f = trade lane travel speed (beware, values over 2500 may have adverse side-effects) ~Lord of Lunacy ====== Damage / Repair / Collision ====== freelancer.exe 11D281 1D->00 = missiles continuously fire when holding button ~adoxa server.dll 00960C 0C->00 = fix explosion damage not causing full damage (or no damage) on large ships ~M0tah server.dll 00AFC0 D94424->C20800 = energy weapons don't damage power ~adoxa common.dll 04B4D2 1E->0E = exclude cloaking device from total hit points PART 1 ~adoxa common.dll 04B582 1E->0E = exclude cloaking device from total hit points PART 2 ~adoxa common.dll 04B63E 1E->0E = exclude cloaking device from total hit points PART 3 ~adoxa freelancer.exe 0B3C42 E9->00 = items with "ids_name = 0" show up in repair list ~adoxa content.dll 0CC985 40->00 = jump gates test reputation ~adoxa common.dll 3A2B3 06->09 = allow mine dropping in cruise ====== Credits / Market ====== freelancer.exe 0A8004 05->1A = show current worth in multiplayer ~adoxa freelancer.exe 1CAEE8 9999999f = maximum value of any single good ~Dev server.dll { 06F46E & 06F475 & 06F4A6 & 06F4AD & 06F51E & 06F525 & 06FB9B & 06FBA3 & 06FBAE & 06FC00 & 06FC08 & 06FC1C & 07543C & 075443 & 0754E0 & 0754E7 & 076426 & 07642D } 999999999i = maximum credits that a player can have in MP (ALL offsets must be changed!) ~adoxa ====== Equipment / Dealers ====== common.dll 139B74 905332->40172D = use cloaking device as internal equipment ~adoxa, Helloween freelancer.exe 1D6D38 0.8f = resale % for ships (client-side) ~Dev server.dll 08AE78 0.8f = resale % for ships (server-side, must match variable above or 1.1 server dll will kick client for cheating) ~FriendlyFire freelancer.exe 1D0E2C 0.3f = resale % for equipment (client-side) ~fox server.dll 08AE7C 0.3f = resale % for equipment (server-side, must match variable above or 1.1 server dll will kick client for cheating) ~fox freelancer.exe 1855C0 74->EB = scale ship to fill the preview ~adoxa ====== Cargo / Tractor Beam / Trading ====== freelancer.exe 08AEBE 20f = drop cargo dialog timeout PART 1 ~adoxa freelancer.exe 1D2688 20f = drop cargo dialog timeout PART 2 ~adoxa content.dll 118130 20f = time given to drop cargo ~adoxa ====== System Editing ====== common.dll 0DAD24 057B->0175 = make drag_modifier independent of interference/damage ~adoxa common.dll 0E698E 7C->EB = some planets keep on spinning ~adoxa ====== Server Operation ====== freelancer.exe 16835B 5b = maximum number of characters per account PART 1 ~Zephyer freelancer.exe 169D2B 5b = maximum number of characters per account PART 2 ~adoxa server.dll 07417C 5b = maximum number of characters per account PART 3 ~M0tah server.dll 085530 60d = respawn time for any solar object to regain full health once destroyed ~w0dk4 ====== Misc ====== //freelancer.exe 17BAAE 5Fb = character to use for invalid player name chars ~adoxa ====== HUD: Chat ====== freelancer.exe 0691D1 20b = maximum number of chat lines in chat history window (signed byte, so max of 127) ~M0tah freelancer.exe 0691CF 20b = maximum number of chat lines displayed at once -1 ~M0tah freelancer.exe 06A440 50b = maximum number of characters in chat input box ~M0tah ====== HUD: Limits ====== freelancer.exe 0D5936 0F85->90E9 = remove cruise speed display limit of 300 ~Unknown ====== HUD: Energy Bars ====== freelancer.exe 1D7E50 0.8d = width of bars for energy, shield and hull gauges (for example, set to 1.0 to make the bars solid) ~Dev ====== HUD: Damage Indicators ====== freelancer.exe 11DB5C 0.02f = screen shake when hull is hit ~w0dk4 freelancer.exe 11DB89 0.005f = screen shake when shield is hit ~w0dk4 ====== HUD: Contacts / Weapons List / Wireframe ====== freelancer.exe 0D3180 E6->00 = add faction name to players in contact list ~M0tah freelancer.exe 0D094B 0F852A050000->7404FEC875C4 = include player ships in "ship" filter ~adoxa freelancer.exe 1D7BF0 0.004d = vertical offset of player name in contact list ~M0tah content.dll A9D8E 28b = rank level limit ====== HUD: Nanobot / Shield Battery ====== freelancer.exe 0DE317 999i = maximum number of nanobots displayed in HUD PART 1 ~adoxa freelancer.exe 0DE310 999i = maximum number of nanobots displayed in HUD PART 2 ~adoxa freelancer.exe 0DE369 999i = maximum number of batteries displayed in HUD PART 1 ~adoxa freelancer.exe 0DE362 999i = maximum number of batteries displayed in HUD PART 2 ~adoxa ====== HUD: Other ====== freelancer.exe 0D1750 14000f = range at which an object is no longer "unknown" ~FriendlyFire ====== Effects ====== freelancer.exe 111BA5 74->EB = display sun spines within tradelane ~adoxa freelancer.exe 111C80 74->EB = display sun spines within asteroid field ~adoxa freelancer.exe 131D2B 0F94C0->B00190 = activate [light] lightsource_cone entries ~adoxa freelancer.exe 12D132 5F5E->EB6D = activate [gun] light_anim entries PART 1 ~w0dk4 freelancer.exe 12D052 0F8449010000->909090909090 = activate [gun] light_anim entries PART 2 ~w0dk4 freelancer.exe 12D0F6 5B->53 = activate [gun] light_anim entries PART 3 ~w0dk4 freelancer.exe 12D0F9 03->02 = activate [gun] light_anim entries PART 4 ~w0dk4 freelancer.exe 12D100 CB->CA = activate [gun] light_anim entries PART 5 ~w0dk4 # Remove the "NEW GAME" and "LOAD GAME" buttons on the main menu. File: Freelancer.exe 174634: E8 47 E5 EA FF 83 7C 24 50 01 77 [ C7 44 24 70 00 00 00 00 C7 44 24 ] 11 DB 05 4C 46 57 00 EB 0D [ 74 00 00 00 00 C7 44 24 78 ] 1746CA: 00 00 [ 80 3E ] 174707: 00 00 [ 80 3E ]