Punctuation Trick by TNTX32HOOK YOUR MISSIONNever wondered about the punctuation in Desing Your Own Mission? There are alot of things to fix this, although almost all of them was found by
TNTX32. This topic includes all ways to improve your missions, but still keep them playable. Because
TNTX32 figures more GXT hooks for our missions, this might get updated very many times.
CONTENTS1. Basic Punctuation
2. Advanced Punctuation
3. Misc. Punctuation
4. Help This TopicBASIC PUNCTUATIONWe'll start from basic punctuation (including
? ! _ - / & : '). You can test this technique by making a mission with some objectives. After you have saved the mission, open/install and open Notepad
++.
Open the file (in my case, I saved "Test"-mission to slot 1) called DYOM1.dat. This is the mission-file. Use the search tool to find the text you need to edit, in this case I want to edit Dont-word. It is written without ' on the text, but we will have to change it a little. Because don't-word has that little thing, it needs to be added if you want correct English on your mission. Erase the Dont-word, and write Don't to the place where the word was.
IMPORTANT! Do not delete any weird numbers or BS-stuff. They are including the mission data, and deleting one of them will cause the mission to crash.
When you have learned this basic punctuation trick, you are ready to move onto the Advanced Punctuation.
ADVANCED PUNCTUATIONIn this part we will learn how to make R* style text to the mission. You have seen different colours on GTA San Andreas missions, haven't you? They usually tell what is the place you have to go. Example: "Drive to
Unity Station." This is easy to do. Make the mission, save it and open Notepad++. Open the mission-file and search the spot you want to place the color.
Okay, now you should read these codes below, so you understand what code is for what color.
~r~ = Red
~g~ = Green
~y~ = Yellow
~b~ = Blue
~i~ = Light Green
~p~ = Dark Purple
~l~ = Black
~w~ = White
~a~ = Area Title
~k~ = Key Definition
~s~ = Order Text
~x~ = Menu Command
~n~ = New Line
Now if you want to make the destination (example: Unity Station) to be in yellow, place ~y~ before the Unity-word. If there are no words after Station, you don't have to close the code with ~y~.
Now you want to make the controls to show in the screen when the mission starts. OK. It's the same thing with the colorcodes, add the code and it's done. No closing tag needed.
ON FOOT~k~~PED_FIREWEAPON~ = Fire
~k~~PED_CYCLEWEAPON_RIGHT~ = Cycle Weapons
~k~~PED_CYCLEWEAPON_LEFT~ = Cycle Weapons
~k~~GROUP_CONTROL_FWD~ = Come With/Recruit
~k~~GROUP_CONTROL_BWD~ = Stay Here/Unrecruit
~k~~GO_BACK~ = Go Backward
~k~~GO_FORWARD~ = Go Forward
~k~~GO_LEFT~ = Move Left
~k~~GO_RIGHT~ = Move Right
~k~~VEHICLE_ENTER_EXIT~ = Enter/Leave Car
~k~~CAMERA_CHANGE_VIEW_ALL_SITUATIONS~ = Change View
~k~~PED_JUMPING~ = Jump
~k~~PED_SPRINT~ = Run
~k~~PED_LOCK_TARGET~ = Aim
~k~~PED_DUCK~ = Crouch
~k~~PED_ANSWER_PHONE~ = Pick the phone, useless.
~k~~SNEAK_ABOUT~ = Walk
~k~~PED_LOOKBEHIND~ = Look Behind
IN VECHILE~k~~VEHICLE_HANDBRAKE~ = Back Brake/Handbrake
~k~~VEHICLE_BRAKE~ = Brake/Reverse
~k~~VEHICLE_ACCELERATE~ = Accelerate
~k~~VEHICLE_TURRETUP~ = Winch Up
~k~~VEHICLE_TURRETDOWN~ = Winch Down
~k~~TOGGLE_SUBMISSIONS~ = Mission Trigger
This list may not be completed yet. American.GXT is not a small file so it may take time to find all these codes.
MISC. PUNCTUATIONAll not-so-important punctuation will go over here. Also non-DYOM related funny foundings might find their way here.
~h~ = Highlight
~a~ = Area Title
~k~ = Key Definition
~s~ = Order Text
~x~ = Menu Command
~n~ = New Line
USEFUL TOOLSGXT Editor (Required for GXT Hunters/Developers)
Notepad++ (Required For Hooking)
If you have the basic English skill (you better have because you just read this) you know how to open the file and save it. CTRL + F opens the search tool where you can search for example: "Momma I suck your boobs, kay?"
GXT Editor is a simple tool, open the .gxt from the game's text-folder. (okay, there are many languages) When you find something interesting, search and see if you find it here, if not, please test the thing at least.
HELP THIS TOPICYou can help this topic by finding out more ways to improve DYOM missions. To find out things, GXT Editor is a good tool to find codes for DYOM. If you find something, PM me or reply to this topic.
Based on topics by TNTX32. Do not copy&paste this to any other site without my/TNTX32's permission.Useful Tools by TNTX32, thank you for it. And special thanks to PatrickW, who told more codes.
GXT will change a lot of things in our DYOM missions, but in the 5.0 we maybe can do them ingame.
Edited Useful Tools.
This post has been edited by Sniputer on Sunday, Jun 7 2009, 09:28