Difference between revisions of "User talk:Morgan525"

From UFOpaedia
Jump to navigation Jump to search
 
(20 intermediate revisions by 4 users not shown)
Line 4: Line 4:
  
 
'''FYI: I've created a new [[UFOextender|UFO Extender page]]. If you are having a problem on this, please use the discussion page located there.  If your message is about UFO Extender, you can leave it here but I may start copying it to the UFO page and leaving my reply there.'''
 
'''FYI: I've created a new [[UFOextender|UFO Extender page]]. If you are having a problem on this, please use the discussion page located there.  If your message is about UFO Extender, you can leave it here but I may start copying it to the UFO page and leaving my reply there.'''
 +
 +
Hi Morgan. This is just a comment about your recent edit of the Alien Missions (TFTD) page. Terrori'''s'''e is actually the proper British spelling of the American terrori'''z'''e. There are quite a few regular contributors here who write British English so there will be a lot of these "misspellings". Us American English contributors will just have to learn to recognize and accept these cultural differences to prevent edit wars. The policy here is to just leave cultural spellings the way they are, unless you are absolutely sure. --[[User:Zombie|Zombie]] ([[User talk:Zombie|talk]]) 20:36, 27 May 2015 (EDT)
 +
 +
: Zombie, some differences between US and UK English I am aware of and don't care how a word is spelled as long as it is correct in either method (color vs. colour). I hadn't realize that "terrorise" was spelled differently under UK English. I was just going by what the auto-correct program said was a mispelled word. I didn't mean to offend anyone.
 +
 +
:: No worries, you didn't offend anyone. I speak and write "American" English anyway, hehe. At this site I try my best to use the nomenclature in-game so that links are standardized, etc, but sometimes I forget as well. --[[User:Zombie|Zombie]] ([[User talk:Zombie|talk]]) 23:22, 27 May 2015 (EDT)
 +
 +
I reverted your edit, as ENGLISH.DAT uses "terrorise" and "fulfil" in that sentence. No biggie—it's positively simple to undo one edit compared to the years of links to "Base Defen'''s'''e"—but it might be worth asking yourself whether something's a direct quote before changing the spelling used. [[User:Magic9mushroom|Magic9mushroom]] ([[User talk:Magic9mushroom|talk]]) 03:50, 28 May 2015 (EDT)
  
 
== Decompiled accuracy algorithm? ==
 
== Decompiled accuracy algorithm? ==
Line 16: Line 24:
  
 
[[User:Morgan525|Tycho]] 19:23, 30 June 2012 (EDT)
 
[[User:Morgan525|Tycho]] 19:23, 30 June 2012 (EDT)
 
== Question on new Installation ==
 
 
Going through the same steps from the UFO Extended page.
 
 
However every time I try to launch through Steam or within the installation file I crash. I am wondering if it's because the newer versions of UFO extender here: http://www.ufopaedia.org/index.php?title=File:UFOLoader.zip is just a patcher.dll file.[[User:Lowpro|Lowpro]] 21:22, 3 October 2012 (EDT)
 
:''You will need to download the full version and then download the latest patch file. Follow the link on my page to the download section. Download both files, extract the full version into your game folder, then extract the patch into the same folder and choose 'yes' to overwrite the current file.-'' [[User:Morgan525|Tycho]] 22:44, 3 October 2012 (EDT)
 
 
When I try to launch the game through Steam, I crash (screenshot of the error http://i388.photobucket.com/albums/oo324/chipkimble/XCOMerror_zps7c86e23e.png) . When I choose the the "Launch Windows 9x/XP Version", I crash. When I drag-and-drop the "UFO Defense.exe" over my "dosbox.exe" I crash. I do this because previously I used the UFO Extender steps found here http://forums.steampowered.com/forums/showthread.php?t=1146530 and part of launching without crashing meant I had to drag and drop the UFO Defense.exe file. However with that particular 2010 version I'd crash as soon as I researched some live aliens (be it researching a Medic or a Soldier etc)I'm trying to play catch-up at the moment with troublefixes but can't find a golden one yet. Thanks again! -[[User:Lowpro|Lowpro]] 20:22, 4 October 2012 (EDT)
 
:''You should be using v1.28 and patch 1.28.3.  Extender doesn't work in DOS and can't be run through DOSbox, but I don't think this is your problem. Using within the steam framework requires some modifications to the steam shortcut and may require other changes that I don't know about. Some people choose to copy the Windows' version to a folder and run it outside of steam.  Don't forget that the new INI only has a basic configuration: You might check that it is set to run D3D for video. I can't offer much support integrating into the steam interface because I don't use it and don't know it.  If you want to run the game in a stand-alone folder, I can definitely help.  If you want to run through steam, you might be better going to the strategycore topic on UFO Extender [http://www.strategycore.co.uk/forums/topic/10013-ufo-extender-128/]and posting your problem there.  Several members say that have gotten it or TFTD Extender to work on their systems. I belive there are several discussions on getting the Extenders to work through Steam on the steam forums as well.-'' [[User:Morgan525|Tycho]]
 
''Disable the 'skip intro' in the video section and see if the Extender will run. The crash on researching a medic is a known bug for which no solution has been found as yet. - -''[[User:Morgan525|Tycho]]
 
  
 
== Source ==
 
== Source ==
Line 68: Line 65:
 
:: Ah, good explanation, thanks. Yes I think it would be a good idea to increase their Freeze resistance considerably. After all they are (now) the definitive freeze-using monster from the deep. As a four square unit they will take extra damage from their own attack, approaching 3-4x at point blank, so think it would be fine to give them a very high immunity, maybe take only 20% damage from Freeze. Or even 10% / completely immune. In fact it's probably simpler just to say they are immune (0%). [[User:Spike|Spike]] 20:50, 21 October 2012 (EDT)
 
:: Ah, good explanation, thanks. Yes I think it would be a good idea to increase their Freeze resistance considerably. After all they are (now) the definitive freeze-using monster from the deep. As a four square unit they will take extra damage from their own attack, approaching 3-4x at point blank, so think it would be fine to give them a very high immunity, maybe take only 20% damage from Freeze. Or even 10% / completely immune. In fact it's probably simpler just to say they are immune (0%). [[User:Spike|Spike]] 20:50, 21 October 2012 (EDT)
  
== Feedback vs Suggestions vs Pestering ==
+
== TFTD Mod Question ==
 +
The site's article on the TFTD OBDATA.DAT explains exactly what needs to be changed in order to give a weapon infinite ammo (like lasers). To that end, is it possible to change a weapon's ammo type indexes (AKA offsets [26]-[28]) with the loader INI's OBDATA section? Because I don't see that option anywhere (maybe it was left out intentionally because you wouldn't know the indexes anyway without looking into OBDATA?). Additionally, the OBDATA page says grenades always default to HE damage type; is there a way for the loader to override that in order to, for example, have a sonic pulser that explodes normally but inflicts sonic damage instead of HE?--[[User:Amitakartok|amitakartok]] 10:29, 20 March 2013 (EDT)
 +
 
 +
''The loader doesn't reference the ammo type indexes.  As you pointed out, that is an advanced level of modding and anyone interested in that should be able to do it directly in the OBDATA file since they would need to view it anyway to get the correct references. The subroutine for explosions only handles five types of damage ( HE, IN, smoke, STUN/THERMAL, and light.) It would require a large amount of rewriting and troubleshooting to the explosion code to use other types of explosion damage. I don't have that much time anymore to devote to this as I used to, so I won't be able to do such myself.  - [[User:Morgan525|Tycho]] 02:00, 1 May 2013 (EDT)''
 +
 
 +
== EU and TFTD destination code ==
 +
Here is the code that the game uses to determine the intermediate destination of a craft.
 +
 
 +
mov    ax, [ebp+10h] <------------------Destination/target's LOC.DAT reference number
 +
mov    ecx, pLoc_Dat_49AAB0
 +
mov    [esp+50h+destinationID], eax
 +
movsx  eax, ax
 +
lea    eax, [eax+eax*4]
 +
mov    di, [ecx+eax*4+2] <------------- Destination/target's current Horzontal Coordinate
 +
mov    dx, [ecx+eax*4+4] <-------------              current Vertical Coordinate
 +
lea    eax, [ecx+eax*4]
 +
xor    ecx, ecx
 +
mov    word ptr [esp+50h+DestVerticalCoord], dx
 +
mov    [esp+50h+DestHorzonCoord], edi
 +
mov    cl, [eax+1]      <------------- Target's CRAFT.DAT reference number
 +
mov    eax, ecx         
 +
mov    ecx, pCraftDat_49AB18
 +
lea    edx, [eax+eax*2]
 +
lea    eax, [eax+edx*4]
 +
mov    ax, [ecx+eax*8+0Ch]  <---------- altitude of target
 +
test    ax, ax
 +
mov    [ebp+0Ch], ax
 +
jnz    short loc_4577AA
 +
 
 +
==Zrbite spawn locations==
 +
 
 +
Do you have any proof that Zrbite was intended to always spawn within Ion Beam Accelerators? Not always spawning in IBAs is only a bug if it was intended to always spawn in IBAs. [[User:Magic9mushroom|Magic9mushroom]] ([[User talk:Magic9mushroom|talk]]) 06:52, 3 April 2015 (EDT)
 +
 
 +
*''zrbite=elerium(EU), Ion Beam Accelerators=Power Supply (EU).'' 
 +
*''In EU, elerium always spawns in the location of a PS.  That way if the PS explodes in a UFO crash the elerium is destroyed.  That is by design.  Why should is be any different in TFTD?  To be easier? No, since the developers were attempting to make a harder game. ''
 +
*''If the designers were putting zbrite in other locations besides the IBA, it should still be somewhere inside the ship.  On several USO, some zbrite spawns outside the ship.'' 
 +
*''When looking at the spawn database, many of the locations would have been almost correct, had the two middle bytes (x-pos and Y-pos) been switched.  Either the designers got their coordinates mixed when populating this table, and/or the USO designs where changed and this table was never updated.''
 +
*''All this, in conjunction with all the other similar issues that are in the game, have led me to classify this as a development bug.''[[User:Morgan525|Tycho]] ([[User talk:Morgan525|talk]]) 09:11, 5 April 2015 (EDT)
 +
 
 +
:There are several parts of TFTD that are in fact easier than EU. There is less psi; Tasoths do not have all ranks psi-active like Ethereals do, and those aliens that are psi-active aren't nearly as good at it (even on Superhuman with TFTD's increased difficulty scaling). Tentaculats do not appear in Terror Missions, and cannot kill tanks the way Chryssalids can. And while there are more near-indestructible enemies, both kinds do have a "kryptonite" weakness that will instantly destroy them when applied (drills usually one-shot Lobster Men, and GC-HE rounds and Sonic Pulsers do the same to Triscenes), while EU's Sectopods have no such weakness (the Heavy Laser still has a 50%+ chance of doing 0 damage against a Sectopod's front and side armour, and they hold up better against Blasters than anything besides Mutons).
 +
 
 +
:Is the spawn database you reference on this site somewhere? I'd like to look at it myself.
 +
 
 +
:In any case, I would suggest you at least correct your spelling of "Zrbite". [[User:Magic9mushroom|Magic9mushroom]] ([[User talk:Magic9mushroom|talk]]) 18:56, 5 April 2015 (EDT)
 +
 
 +
:: FWIW, the Zrbite spawn location in the Cruiser (all the way in the "tail") looks pretty deliberate IMO, but some of the others are just bugs. [[User:AMX|AMX]] ([[User talk:AMX|talk]]) 13:18, 12 April 2015 (EDT)
 +
 
 +
== Interception crash bug ==
 +
 
 
Hi Tycho,
 
Hi Tycho,
could you please slow down the battlescape Hidden Movement speed as well? It looses the magic of the hidden movement. Nowadays computers compute very fast and the inteligence of the game is now very fast too and you could not see or hear what is happenning e.g. if somewhere in the battlescape - in the dark where you couldn´t see - aliens kill two civilians, you will hear two screams together, not one after one. It is very fast and not readable yet and loosing the main meaning of the hidden movement part.
 
[[User:ElfKaa|ElfKaa]]
 
:This is a direct result of the game running fast on modern computers. Unfortunately I don't think there's anything that can be done about this without overhauling how the framerate limiter works, since the FPS limiting method only adds delays to calls to update the screen, which only some of the game timers wait on, and isn't called during the HIDDEN MOVEMENT screen. You could try lowering the game's processor priority, because that will have the most impact on overall game speed.-[[User:Tarvis|Tarvis]]
 
I believe that if Tycho is able to slow down all the animations correctly he will be able to call that slows also for the logic in hidden movement then :) Or - yes - limit frame rate when in hidden movement will maybe solve that problem.. Now to me the screen is only flashing if something is happening, so you can not recognize what was happened and where..
 
[[User:ElfKaa|ElfKaa]]
 
:''This is a lot more difficult than you would imagine and would require a lot more time than I'm able to invest at this time: The alien turn routine doesn't follow an easy to understand path and the code has no capacity for time management as the Geoscape and the human tactical routines do. [[User:Morgan525|Tycho]] 10:24, 15 February 2013 (EST)''
 
:Tycho's right, the problem is that there are no animations at all during Hidden Movement, so there isn't really a good or consistent place to inject delays into. It's not something as simple as 'turning on the FPS limiter,' since all that really does is add a delay every time the screen updates.-[[User:Tarvis|Tarvis]]
 
I believe that understanding that piece of code is very complicated and - as I see it - it is the main reason why this game is still on the table even that many remakes was made, and also the main reason for that the game crashes mainly or only in this part because of that complexity. But I though that you yet understand it as you can mod the game that way you did, but never mind, I know this consumes very very much time that anyone can have for the no money making project like this even it is this interesting stuff.
 
Then I have an idea. If you know, where the part begin and where it ends, (when the Hidden movement screen is shown) isn´t it possible to make some hook inside the extender that will be activated and slowdown the processor speed at all when in Hidden movement part and revert back the speed to original when the part will end up? This will maybe solve this problem and should not be so difficult...
 
--[[User:ElfKaa|ElfKaa]] 11:28, 15 February 2013 (EST)
 
:''Luckas, I appreciate your help and feedback in testing the Extender.  However, I don't appreciate advice from people who are ignorant of the topic on which they are discussing.  Your suggestion, while in a spirit of helpfulness, is slightly insulting, whether or not you intended it to be so.  If the solution were as simple, as you suggest, do you not think that it would have already been implemented or that I would NOT have pointed out the complexity and time that would be involved in such an endeavor?
 
The code is complex and there are many sections that no one understands. Just yesterday, I <u>finally</u> unraveled a section of the sound file initilization routine which allowed me to write the ultimate fix for the special movements' sounds in the battlescape, a portion of the code that I started working on almost a year ago. - [[User:Morgan525|Tycho]]''
 
 
Don´t be anger to me Tycho, I am not coder and I can not read the code, I just trying to understand using trial and error method :) And then - if I have another chance to write you I will not be using this discussion to contact and share ideas.. :) Please, let it left or delete it if it is out of the topic. Yes, I don´t know what you can imagine and what is possible and what is not.. If it is some nonsense do like I never told it :) Thank you for the message, then I will better not write any idea because I in fact don´t understand how it works and also this discussion. I will enjoy your next update and will be still watching and testing it.
 
[[User:ElfKaa|ElfKaa]] 03:33, 17 February 2013 (EST)
 
  
:''ElfKaa, I wasn't angry just frustrated that you continued to pursue the matter even after I gave you an answer. 'Using trial-and-error' implies that you are the one doing the work. Continuing to ask 'Why can't you...?' or 'Why don't you...?' (or the variations like 'Isn't it possible...?) questions is not the same and is annoying to the one who is continually being asked these questions.'' 
+
I've encountered the Interception Crash mentioned on the TFTDExtender talk page. Error message and zipped save waiting for you there. [[User:Off the Rails|Off the Rails]] ([[User talk:Off the Rails|talk]]) 22:21, 28 April 2016 (UTC)
:''I am not discouraging feedback.  If people are seeing a problem with something possibly related to the Extender or have a question on how the Extender implements a certain feature, I want to hear about it. If someone has code and wants to see about having it included in the Extender, or has located the code related to a problem, I am always interested in discussing it. - [[User:Morgan525|Tycho]] 00:09, 23 February 2013 (EST)''
 

Latest revision as of 22:21, 28 April 2016

Questions&Feedback

Any questions or feedback one may have.... (please be sure to leave a signature: "~" three times in a row, four to time-and-date stamp it.)


FYI: I've created a new UFO Extender page. If you are having a problem on this, please use the discussion page located there. If your message is about UFO Extender, you can leave it here but I may start copying it to the UFO page and leaving my reply there.

Hi Morgan. This is just a comment about your recent edit of the Alien Missions (TFTD) page. Terrorise is actually the proper British spelling of the American terrorize. There are quite a few regular contributors here who write British English so there will be a lot of these "misspellings". Us American English contributors will just have to learn to recognize and accept these cultural differences to prevent edit wars. The policy here is to just leave cultural spellings the way they are, unless you are absolutely sure. --Zombie (talk) 20:36, 27 May 2015 (EDT)

Zombie, some differences between US and UK English I am aware of and don't care how a word is spelled as long as it is correct in either method (color vs. colour). I hadn't realize that "terrorise" was spelled differently under UK English. I was just going by what the auto-correct program said was a mispelled word. I didn't mean to offend anyone.
No worries, you didn't offend anyone. I speak and write "American" English anyway, hehe. At this site I try my best to use the nomenclature in-game so that links are standardized, etc, but sometimes I forget as well. --Zombie (talk) 23:22, 27 May 2015 (EDT)

I reverted your edit, as ENGLISH.DAT uses "terrorise" and "fulfil" in that sentence. No biggie—it's positively simple to undo one edit compared to the years of links to "Base Defense"—but it might be worth asking yourself whether something's a direct quote before changing the spelling used. Magic9mushroom (talk) 03:50, 28 May 2015 (EDT)

Decompiled accuracy algorithm?

Hi Morgan/Tycho

Is the algorithm you describe above, what you have decompiled from the standard game? Or is it a variant for UFOExtender? Great news if you have decompiled what the game actually uses - I will need to check some of my firepower calculations to make sure they are still in line with the algorithm.

cheers, Spike 09:37, 30 June 2012 (EDT)

It is an extender version of the original formula if one chooses to enable it. The original is the one that has been noted already: [1+(3/UFOsize)]/2 * Weapon Accuracy ... UFO sizes going from 5 for very small to 1 for very large. The calculation starts at offset 0x446DCD of the CE version. The original UFO accuracy algorithm is a flat 60% chance to hit despite the difficulty level (and no penalty for the Xcraft being in cautious mode.)

Tycho 19:23, 30 June 2012 (EDT)

Source

Hi Tycho

Do you make the source code for TFTD Extender and UFO Extender available somewhere? I'm interested in seeing if I can help to hunt down bugs / develop new features. Cheers, Spike 08:23, 4 October 2012 (EDT)

I just uploaded a new version of the UFOExtender source files to Seb's list.- -Tycho 06:04, 6 October 2012 (EDT)
Source code for TFTDExtender is now available from my user page. -Tycho

How to start modifying the game code

I like some of the changes made in the UFO extender but dislike others. I'm also running X-Com through DOSbox so it's a moot point anyway. Essentially I'd like to be able to make modifications to the game - like fixing the dismantled structure bug - myself. Where should I start? I have some experience with object oriented programming through languages like C# (most familiar) and Java.

Juke 21:04, 16 October 2012 (EDT)

Your first step is going to be to become very familiar with Disassembly and Disassemblers. Most people use IDA. Then your going to have to be able to understand the language itself. Take a look at the few examples on my page and see what it looks like. That code comes from the CE version, the DOS version doesn't disassemble as well (at least with any free dissassembler that I've found). Tycho 23:24, 16 October 2012 (EDT)

I am running the game on steam with the DOSBox. Will I still be able to make changes to the source code? Thanks for the info btw. Juke 22:03, 28 October 2012 (EDT)

I started using the DOS version under DOSbox and making simple changes to the data points via a hex editor. However, it is really hard to do more than that.
The problem is knowing where to make changes since no free program is able to disassemble the DOS version well. For that reason, I switched to the Windows version.

Shifting 5 shot laser mod to other weapons

Is there any easy way to shift the 5 shot mod that's currently on the heavy laser on to other weapons? I plan on getting the source code and working on it a bit (it's been years since I've touched assembly, I mostly code in C# now), but it'd be helpful to have a clue of where to start looking. I'd love to contribute to the project as well. KingMob4313 09:27, 17 October 2012 (EDT)

I'm sure it can be done. I focus on providing content that will enhance the challenge of the game from a somewhat logical viewpoint without making changes just to make the game harder. The source code for Extender is available and mostly written in C++ so you shouldn't have much trouble understanding it. You will need a disassembler, such as IDA, for the actual game executable and be familiar with how to decipher the tangled mess of assembly code that IDA provides. For some features, I can write the code in C++ but, for a lot of fixes, I find writing in assembly much easier to insert into the proper subroutines. - Tycho 09:54, 17 October 2012 (EDT)
I should have just read some of the above responses, I am sorry. I will take your advice and pick up the disassembler and try to familiarize myself with the code a bit. Seems that everything works via a hook-system, where it waits for the calls to the subroutines and replaces it, correct? In any case, I appreciate the quick answer. KingMob4313 12:30, 17 October 2012 (EDT)
The hardest part of familiarizing youself with the code is that the subroutines and variables are just offsets with no identifiers. If you take the time to match offsets to labels given in the xcom.h file (in the Extender source) you can manually transfer the labels yourself. This will make analyzing the code much easier. - Tycho 20:07, 17 October 2012 (EDT)

We're all... feeling... so... sleepy

Hi Tycho

Well, I was not expecting that! Your TSL-firing Hallucinoids just kicked my *ss on a Superhuman Colony Assault. They kept firing their TSL-like built in weapons - in fact it looks like it's an auto burst TSL? - right into the transport door. And I kept popping another guy out of the door to grab the bodies outside and take out the Tasoth with a TSL I presumed was out there. I could never see the Tasoth, just some stupid Hallucinoid floating around - and they're never a threat, right? Wrong!

Brilliant, in one stroke you have breathed new life into a previously-ignored enemy, making it as frightening as it always should have been. I hope you don't mind me adding a slight spoiler to the Bug Fixes section - if you do, feel free to revert it so you can surprise others like you surprised me. :) Cheers, Spike 18:46, 21 October 2012 (EDT):

Hehehe. >;) No, its not autofiring but the Hallucinoid has a high reaction score and the cost to fire their weapon is 33%. However, they don't often move so they always have most of their TUs. Now that they have a valid range weapon, they are extemely deadly in outdoor settings. Indoors, they tend to stun themselves too often. I'm thinking they might need to have their immunity to stun increased or build in an exception into the alien spawn routine that turns off their TSL attack indoors.-Tycho 19:53, 21 October 2012 (EDT)
Ah, good explanation, thanks. Yes I think it would be a good idea to increase their Freeze resistance considerably. After all they are (now) the definitive freeze-using monster from the deep. As a four square unit they will take extra damage from their own attack, approaching 3-4x at point blank, so think it would be fine to give them a very high immunity, maybe take only 20% damage from Freeze. Or even 10% / completely immune. In fact it's probably simpler just to say they are immune (0%). Spike 20:50, 21 October 2012 (EDT)

TFTD Mod Question

The site's article on the TFTD OBDATA.DAT explains exactly what needs to be changed in order to give a weapon infinite ammo (like lasers). To that end, is it possible to change a weapon's ammo type indexes (AKA offsets [26]-[28]) with the loader INI's OBDATA section? Because I don't see that option anywhere (maybe it was left out intentionally because you wouldn't know the indexes anyway without looking into OBDATA?). Additionally, the OBDATA page says grenades always default to HE damage type; is there a way for the loader to override that in order to, for example, have a sonic pulser that explodes normally but inflicts sonic damage instead of HE?--amitakartok 10:29, 20 March 2013 (EDT)

The loader doesn't reference the ammo type indexes. As you pointed out, that is an advanced level of modding and anyone interested in that should be able to do it directly in the OBDATA file since they would need to view it anyway to get the correct references. The subroutine for explosions only handles five types of damage ( HE, IN, smoke, STUN/THERMAL, and light.) It would require a large amount of rewriting and troubleshooting to the explosion code to use other types of explosion damage. I don't have that much time anymore to devote to this as I used to, so I won't be able to do such myself. - Tycho 02:00, 1 May 2013 (EDT)

EU and TFTD destination code

Here is the code that the game uses to determine the intermediate destination of a craft.

mov     ax, [ebp+10h] <------------------Destination/target's LOC.DAT reference number
mov     ecx, pLoc_Dat_49AAB0
mov     [esp+50h+destinationID], eax
movsx   eax, ax
lea     eax, [eax+eax*4]
mov     di, [ecx+eax*4+2] <------------- Destination/target's current Horzontal Coordinate
mov     dx, [ecx+eax*4+4] <-------------               current Vertical Coordinate
lea     eax, [ecx+eax*4]
xor     ecx, ecx
mov     word ptr [esp+50h+DestVerticalCoord], dx
mov     [esp+50h+DestHorzonCoord], edi
mov     cl, [eax+1]       <------------- Target's CRAFT.DAT reference number 
mov     eax, ecx          
mov     ecx, pCraftDat_49AB18
lea     edx, [eax+eax*2]
lea     eax, [eax+edx*4]
mov     ax, [ecx+eax*8+0Ch]  <---------- altitude of target
test    ax, ax
mov     [ebp+0Ch], ax
jnz     short loc_4577AA

Zrbite spawn locations

Do you have any proof that Zrbite was intended to always spawn within Ion Beam Accelerators? Not always spawning in IBAs is only a bug if it was intended to always spawn in IBAs. Magic9mushroom (talk) 06:52, 3 April 2015 (EDT)

  • zrbite=elerium(EU), Ion Beam Accelerators=Power Supply (EU).
  • In EU, elerium always spawns in the location of a PS. That way if the PS explodes in a UFO crash the elerium is destroyed. That is by design. Why should is be any different in TFTD? To be easier? No, since the developers were attempting to make a harder game.
  • If the designers were putting zbrite in other locations besides the IBA, it should still be somewhere inside the ship. On several USO, some zbrite spawns outside the ship.
  • When looking at the spawn database, many of the locations would have been almost correct, had the two middle bytes (x-pos and Y-pos) been switched. Either the designers got their coordinates mixed when populating this table, and/or the USO designs where changed and this table was never updated.
  • All this, in conjunction with all the other similar issues that are in the game, have led me to classify this as a development bug.Tycho (talk) 09:11, 5 April 2015 (EDT)
There are several parts of TFTD that are in fact easier than EU. There is less psi; Tasoths do not have all ranks psi-active like Ethereals do, and those aliens that are psi-active aren't nearly as good at it (even on Superhuman with TFTD's increased difficulty scaling). Tentaculats do not appear in Terror Missions, and cannot kill tanks the way Chryssalids can. And while there are more near-indestructible enemies, both kinds do have a "kryptonite" weakness that will instantly destroy them when applied (drills usually one-shot Lobster Men, and GC-HE rounds and Sonic Pulsers do the same to Triscenes), while EU's Sectopods have no such weakness (the Heavy Laser still has a 50%+ chance of doing 0 damage against a Sectopod's front and side armour, and they hold up better against Blasters than anything besides Mutons).
Is the spawn database you reference on this site somewhere? I'd like to look at it myself.
In any case, I would suggest you at least correct your spelling of "Zrbite". Magic9mushroom (talk) 18:56, 5 April 2015 (EDT)
FWIW, the Zrbite spawn location in the Cruiser (all the way in the "tail") looks pretty deliberate IMO, but some of the others are just bugs. AMX (talk) 13:18, 12 April 2015 (EDT)

Interception crash bug

Hi Tycho,

I've encountered the Interception Crash mentioned on the TFTDExtender talk page. Error message and zipped save waiting for you there. Off the Rails (talk) 22:21, 28 April 2016 (UTC)