Sniputer Posted April 6, 2009 Share Posted April 6, 2009 (edited) Punctuation Trick by TNTX32 HOOK YOUR MISSION Never 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. CONTENTS 1. Basic Punctuation2. Advanced Punctuation 3. Misc. Punctuation 4. Help This Topic BASIC PUNCTUATION We'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 PUNCTUATION In 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. PUNCTUATION All 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 TOOLS GXT 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 TOPIC You 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. Edited June 7, 2009 by Sniputer GTA San Andreas Missio, The John David, O SHIT WADDAP? and 1 other 4 Link to comment Share on other sites More sharing options...
TNTX32 Posted April 7, 2009 Share Posted April 7, 2009 (edited) TO ADD: Thanks a lot! The Credits: - PatrickW - TNTX32 - Sniputer Great work from me, you and PatrickW!!! And that should be PINNED. IMPORTANT: $~1~ = VARIABLES! (Have no idea about how to use them) And also: ~k~~SNEAK_ABOUT~ = Walk, this is clear I'm gonna test some other things. Please, add a "Useful Tools" section: USEFUL TOOLS GXT Editor (Required for GXT Hunters/Devloppers) Notepad++ (Required) Who cares if Notepad++ is French? After all, you just need to press Ctrl+F and seek for the sentence. To open a file use "Ouvrir", in "Fichier". I "think" you will can make DIALOGS, by putting the following on a Objective Text: Example my text is "Go to the house". THEN I will DO Go to the house. ~z~This is so bad.~z~NO U~z~You're the complete fa**ot. Will it work? someone could test putting the ~z~ Dialogs in a objective? GXT will change a lot of things in our DYOM missions, but in the 5.0 we will maybe can do them in game Edited April 7, 2009 by TNTX32 Link to comment Share on other sites More sharing options...
_-=Zombie=-_ Posted April 7, 2009 Share Posted April 7, 2009 cool, nice job mate Link to comment Share on other sites More sharing options...
Sniputer Posted April 7, 2009 Author Share Posted April 7, 2009 (edited) The variable seems to be the "money" thing, saw that code on the GXT after "You Won". Giving money should be a objective in a mission. (DYOM 5) Edited April 7, 2009 by Sniputer Link to comment Share on other sites More sharing options...
PatrickW Posted April 7, 2009 Share Posted April 7, 2009 The variable code will not work. It needs to be displayed with a variable from the SCM code for it to work. We considered giving money for passing a mission, but since each mission is stand-alone, that would not make any sense. Link to comment Share on other sites More sharing options...
TNTX32 Posted April 7, 2009 Share Posted April 7, 2009 The variable code will not work. It needs to be displayed with a variable from the SCM code for it to work. We considered giving money for passing a mission, but since each mission is stand-alone, that would not make any sense. What about the "more missions in one" and "the game continues instead of black screen" ideas? Those'r good ideas, you should. And also, a messages pop up, which says "If you want to go back to DYOM Mod, press <insert key here>.". Link to comment Share on other sites More sharing options...
PatrickW Posted April 7, 2009 Share Posted April 7, 2009 When we would implement these kinds of things, than rewarding missions with money will make sense. But for now, these featured aren't planned yet. Link to comment Share on other sites More sharing options...
TNTX32 Posted April 7, 2009 Share Posted April 7, 2009 When we would implement these kinds of things, than rewarding missions with money will make sense. But for now, these featured aren't planned yet. Well, 5.0, is already planned to be good if the important features (Car Features, Multiple Actors to-Kill, Realism) are included Hey: Off Topic: Will actors can drive Boats and Aircrafts in the next version? (And some cars need to kill player, like in the Big Smoke mission). Link to comment Share on other sites More sharing options...
Sniputer Posted April 7, 2009 Author Share Posted April 7, 2009 Stay on the GXT based hookings, a'ight? Link to comment Share on other sites More sharing options...
TNTX32 Posted April 7, 2009 Share Posted April 7, 2009 Okay. Arrows: ~d~ = Arrow Down ~u~ = Arrow Up ~>~ = Arrow Right ~<~ = Arrow Left I think they're. GTA San Andreas Missio 1 Link to comment Share on other sites More sharing options...
Sniputer Posted April 7, 2009 Author Share Posted April 7, 2009 Picture so I can see it? (SA is not avaible, not on my own comp) Link to comment Share on other sites More sharing options...
TNTX32 Posted April 8, 2009 Share Posted April 8, 2009 (edited) I will test arrows right now TESTED: So, see... Only arrows does work. BTW, this "white square" is Area Title (spotted by PatrickW). I think it only works in GXT when you set areas, like Red County EDIT: I tested it on the mission SPECIAL FORCES 4, don't complain about "stealing". Edited April 8, 2009 by TNTX32 Link to comment Share on other sites More sharing options...
Sniputer Posted April 8, 2009 Author Share Posted April 8, 2009 that multiplayer thing is useless ... Link to comment Share on other sites More sharing options...
TNTX32 Posted April 8, 2009 Share Posted April 8, 2009 Exactly Link to comment Share on other sites More sharing options...
Sniputer Posted April 8, 2009 Author Share Posted April 8, 2009 Need help with the punctuation? I can help on it, just give the missionfile somehow, and I'll check it. Link to comment Share on other sites More sharing options...
TNTX32 Posted April 9, 2009 Share Posted April 9, 2009 Exactly. We are here for this Link to comment Share on other sites More sharing options...
miclin Posted April 15, 2009 Share Posted April 15, 2009 Alway the i use ~k~~PED_JUMPING~ or something like that my Game crahes. And is it possible to put the Text into the black box like the instructions at Dyom. Sry for bad englsih. Link to comment Share on other sites More sharing options...
TNTX32 Posted April 15, 2009 Share Posted April 15, 2009 I bet you didn't read at all Link to comment Share on other sites More sharing options...
Sniputer Posted April 15, 2009 Author Share Posted April 15, 2009 Example of people who skip the Basic Punctuation / Useful Tools... Link to comment Share on other sites More sharing options...
miclin Posted April 15, 2009 Share Posted April 15, 2009 (edited) ~k~~VEHICLE_STEERDOWN~ ~k~~VEHICLE_STEERLEFT~ Edited April 15, 2009 by miclin Link to comment Share on other sites More sharing options...
Sniputer Posted April 15, 2009 Author Share Posted April 15, 2009 I do not have time to test the codes, but always remember to backup, so your mission is safe. TNTX32 will (maybe) test them if he want's. Anyways, the Hook-service is open, upload the mission in someplace and I will do what you want and in this case to check the file. Also, a missing NUL or BS can crash the game aswell. This is still an "unofficial" hook and it may not work properly. Link to comment Share on other sites More sharing options...
miclin Posted April 15, 2009 Share Posted April 15, 2009 ok thx Link to comment Share on other sites More sharing options...
TNTX32 Posted April 15, 2009 Share Posted April 15, 2009 ~k~~VEHICLE_STEERDOWN~~k~~VEHICLE_STEERLEFT~ WTF that mean? It's like I tell someone "Are you ok" and he tell me "DONUT". Link to comment Share on other sites More sharing options...
miclin Posted April 15, 2009 Share Posted April 15, 2009 (edited) oh. since a edit the whole text in my post is away. So i did add only the codes. A don`t know for what they are. I cant test it, because my Game crashes when i put in a ~k~ command. Edited April 15, 2009 by miclin Link to comment Share on other sites More sharing options...
TNTX32 Posted April 15, 2009 Share Posted April 15, 2009 I recommand you to read aigain. BTW Sniputer, why did you write "Delete the text and replace it" ? Instead of deleting "YOURE", i can just add a ' between YOU and RE. Link to comment Share on other sites More sharing options...
Sniputer Posted April 15, 2009 Author Share Posted April 15, 2009 WHATEVER? Does the same thing anyway. Link to comment Share on other sites More sharing options...
TNTX32 Posted April 15, 2009 Share Posted April 15, 2009 Yeah but it's kinda stupid Anyway both works Link to comment Share on other sites More sharing options...
12jango Posted April 18, 2009 Share Posted April 18, 2009 Yo, guys. I ever tried to do this punctuation colors in game, I pressed ~r~ when I typed an objective and it works!! Link to comment Share on other sites More sharing options...
Sniputer Posted April 18, 2009 Author Share Posted April 18, 2009 That can crash the game more easily. Link to comment Share on other sites More sharing options...
12jango Posted April 18, 2009 Share Posted April 18, 2009 Yeah, your're right. That's the bad effect. Link to comment Share on other sites More sharing options...