Difference between revisions of "Frequently Asked Questions"

From GTAMods Wiki
Jump to navigation Jump to search
m (links)
m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
''Please help filling this article with content, by adding and answering frequently asked questions, or by giving explanations how to solve common problems. This is tied with the [http://www.gtaforums.com/index.php?showforum=121 Troubleshooting forum section], so you might get some ideas from there.''
+
''Please help filling this article with content, by adding and answering frequently asked questions, or by giving explanations how to solve common problems.''
  
 +
==="Read beyond end of file" error message in [[IMG Tool]]===
 +
You must turn off the read-only filesystem option for your GTA installation folder. If you have installed the game to the default location, navigate to "C:\Program Files\Rockstar Games", right-click the installation folder (eg. GTA San Andreas) and click "Properties". Un-check the read-only box and apply to all files (recursively).
  
==GTASA Frequently Asked Questions==
+
==GTASA-specific Frequently Asked Questions==
 
+
*[http://www.gtaforums.com/index.php?showforum=137 San Andreas Troubleshooting forum] - For non-modding specific questions
 
===I bought GTA: San Andreas version 2.0, am I still able to modify my game?===
 
===I bought GTA: San Andreas version 2.0, am I still able to modify my game?===
Yes, although modding is somewhat limited. The whole purpose of a second release was to disable the so-called [[Wikipedia:Hot Coffee minigame controversy|Hot Coffee]] content, which was accomplished by deleting the affected files and protecting the game's [[archive]]s against modification. However, thanks to [[User:DexX|DexX]] and [[User:jarjar|jarjar]] the game's <code>gta3.img</code> file is now 100% moddable, along with [[SA SCM]] modding possibilities. See [[San Andreas v2.0 Modding]] for further information, links, guides, tutorials and tools.
+
Yes, although modding is somewhat limited. The whole purpose of a second release was to disable the so-called [[Wikipedia:Hot Coffee minigame controversy|Hot Coffee]] content, which was accomplished by deleting the affected files and protecting the game's [[archive]]s against modification. However, thanks to {{U|DexX}} and {{U|jarjar}} the game's <code>gta3.img</code> file is now 100% moddable, along with [[SA SCM]] modding possibilities. See [[San Andreas v2.0 Modding]] for further information, links, guides, tutorials and tools.
 
 
==GTAVC Frequently Asked Questions==
 
  
 +
==GTAVC-specific Frequently Asked Questions==
 +
*[http://www.gtaforums.com/index.php?showforum=81 Vice City Troubleshooting forum] - For non-modding specific questions
 
===Why does GTA: Vice City crash during loading?===
 
===Why does GTA: Vice City crash during loading?===
 
Your game could crash for an infinite amount of reasons, but below are the most likely causes after modding your game.
 
Your game could crash for an infinite amount of reasons, but below are the most likely causes after modding your game.
Line 14: Line 16:
 
* You have not added both the [[DFF]] and the [[TXD]] for a new vehicle to your [[IMG]] archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.
 
* You have not added both the [[DFF]] and the [[TXD]] for a new vehicle to your [[IMG]] archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.
  
==GTA3 Frequently Asked Questions==
+
=== Why am I failing "Guardian Angels"? ===
 +
* When you first meet Diaz, if you are using a two-door car modification of the Admiral, Diaz will always get knocked down by his guards and fail the mission. Either revert the Admiral to its original model or use a four-door car mod instead.
  
 +
==GTA3-specific Frequently Asked Questions==
 +
*[http://www.gtaforums.com/index.php?showforum=43 GTA III Troubleshooting forum] - For non-modding specific questions
 
===Why does GTA3 crash during loading?===
 
===Why does GTA3 crash during loading?===
 
* You have not added both the [[DFF]] and the [[TXD]] for a new vehicle to your [[IMG]] archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.
 
* You have not added both the [[DFF]] and the [[TXD]] for a new vehicle to your [[IMG]] archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.
  
 +
==General scripting==
 +
===Where do I start to learn coding===
 +
[http://www.gtaforums.com/index.php?showtopic=406350 Here].
 +
 +
===Why does my game crash?===
 +
Common mistakes in coding:
 +
*Almost all [[Create_a_thread#Loops|loops]] need at least one "[[0001|wait]]" in the code. Without one, it will almost always lock up the game.
 +
*Almost all [[Car_Spawn|car]], [[Spawn_a_ped|ped]], and [[weapon]] models need to be [[0248|loaded]]. If you try to spawn a model without loading it, the game can crash.
 +
*Not all opcodes are supported. Refer to the [[list of opcodes]] to see if you are using an unsupported opcode.
 +
 +
===Where can I find this mod? / Where can I find people who will make this mod?===
 +
If you are too lazy to search, know that such mod does not exist, or don't feel like learning, please refer to the [http://www.gtaforums.com/index.php?showtopic=378015 Request Topic] in the forums. There is no guarantee that you will get a reply.
 +
 +
===How do I merge these mods?===
 +
First, script files need to be decompiled using a program, [[Sanny Builder]] recommended. To "merge" the mods, you have to copy and paste relevant codes from one file to another. Depending on the complexity of the mods, the code from one file could conflict with the code from another file so a ton of debugging is needed to fix those conflicts. Usually it is not worth the time and energy to "merge" these mods.
 +
 +
== External link ==
 +
* {{GTAF|404316|SCM Coding FAQ}}
  
 
{{stub}}
 
{{stub}}
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]

Latest revision as of 17:27, 21 April 2011

Please help filling this article with content, by adding and answering frequently asked questions, or by giving explanations how to solve common problems.

"Read beyond end of file" error message in IMG Tool

You must turn off the read-only filesystem option for your GTA installation folder. If you have installed the game to the default location, navigate to "C:\Program Files\Rockstar Games", right-click the installation folder (eg. GTA San Andreas) and click "Properties". Un-check the read-only box and apply to all files (recursively).

GTASA-specific Frequently Asked Questions

I bought GTA: San Andreas version 2.0, am I still able to modify my game?

Yes, although modding is somewhat limited. The whole purpose of a second release was to disable the so-called Hot Coffee content, which was accomplished by deleting the affected files and protecting the game's archives against modification. However, thanks to DexX and jarjar the game's gta3.img file is now 100% moddable, along with SA SCM modding possibilities. See San Andreas v2.0 Modding for further information, links, guides, tutorials and tools.

GTAVC-specific Frequently Asked Questions

Why does GTA: Vice City crash during loading?

Your game could crash for an infinite amount of reasons, but below are the most likely causes after modding your game.

  • You have too many IPL objects in the game. To get past this, use VC Limit Adjuster. Simply change the editable values until the bottommost values turn green.
  • You have not added both the DFF and the TXD for a new vehicle to your IMG archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.

Why am I failing "Guardian Angels"?

  • When you first meet Diaz, if you are using a two-door car modification of the Admiral, Diaz will always get knocked down by his guards and fail the mission. Either revert the Admiral to its original model or use a four-door car mod instead.

GTA3-specific Frequently Asked Questions

Why does GTA3 crash during loading?

  • You have not added both the DFF and the TXD for a new vehicle to your IMG archive, or you have duplicates. Use your IMG editor to sort the contents by name, and check for duplicates of anything you have recently added/deleted/replaced.

General scripting

Where do I start to learn coding

Here.

Why does my game crash?

Common mistakes in coding:

  • Almost all loops need at least one "wait" in the code. Without one, it will almost always lock up the game.
  • Almost all car, ped, and weapon models need to be loaded. If you try to spawn a model without loading it, the game can crash.
  • Not all opcodes are supported. Refer to the list of opcodes to see if you are using an unsupported opcode.

Where can I find this mod? / Where can I find people who will make this mod?

If you are too lazy to search, know that such mod does not exist, or don't feel like learning, please refer to the Request Topic in the forums. There is no guarantee that you will get a reply.

How do I merge these mods?

First, script files need to be decompiled using a program, Sanny Builder recommended. To "merge" the mods, you have to copy and paste relevant codes from one file to another. Depending on the complexity of the mods, the code from one file could conflict with the code from another file so a ton of debugging is needed to fix those conflicts. Usually it is not worth the time and energy to "merge" these mods.

External link