Quantcast

Jump to content

» «
Photo

Hook your Mission

  • This topic is locked This topic is locked
41 replies to this topic
Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#1

Posted 06 April 2009 - 06:37 PM Edited by Sniputer, 07 June 2009 - 09:28 AM.

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 Punctuation
2. 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. icon14.gif

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.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#2

Posted 07 April 2009 - 09:47 AM Edited by TNTX32, 07 April 2009 - 10:24 AM.

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 turn.gif

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 smile.gif

_-=Zombie=-_
  • _-=Zombie=-_

        

  • BUSTED!
  • Joined: 31 May 2008

#3

Posted 07 April 2009 - 12:27 PM

cool, nice job mate icon14.gif

cookie.gif cookie.gif cookie.gif

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#4

Posted 07 April 2009 - 12:28 PM Edited by Sniputer, 07 April 2009 - 12:33 PM.

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)

PatrickW
  • PatrickW

    GTA Juggernaut

  • Inactive Staff
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#5

Posted 07 April 2009 - 01:21 PM

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.


TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#6

Posted 07 April 2009 - 03:01 PM

QUOTE (PatrickW @ Apr 7 2009, 13:21)
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>.".

PatrickW
  • PatrickW

    GTA Juggernaut

  • Inactive Staff
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#7

Posted 07 April 2009 - 03:04 PM

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.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#8

Posted 07 April 2009 - 03:09 PM

QUOTE (PatrickW @ Apr 7 2009, 15:04)
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 turn.gif

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).

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#9

Posted 07 April 2009 - 03:37 PM

Stay on the GXT based hookings, a'ight?

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#10

Posted 07 April 2009 - 06:43 PM

Okay.

Arrows:

~d~ = Arrow Down
~u~ = Arrow Up
~>~ = Arrow Right
~<~ = Arrow Left

I think they're.

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#11

Posted 07 April 2009 - 07:03 PM

Picture so I can see it? (SA is not avaible, not on my own comp)

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#12

Posted 08 April 2009 - 07:42 AM Edited by TNTX32, 08 April 2009 - 07:52 AM.

I will test arrows right now smile.gif

TESTED:

user posted image

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 suicidal.gif

EDIT:

I tested it on the mission SPECIAL FORCES 4, don't complain about "stealing".

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#13

Posted 08 April 2009 - 01:04 PM

that multiplayer thing is useless ...

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#14

Posted 08 April 2009 - 04:15 PM

Exactly confused.gif

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#15

Posted 08 April 2009 - 04:28 PM

Need help with the punctuation? I can help on it, just give the missionfile somehow, and I'll check it.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#16

Posted 09 April 2009 - 09:48 AM

Exactly.

We are here for this sly.gif

miclin
  • miclin

    old stager

  • Members
  • Joined: 22 Mar 2009

#17

Posted 15 April 2009 - 11:51 AM

Alway the i use ~k~~PED_JUMPING~ or something like that my Game crahes. mad.gif
And is it possible to put the Text into the black box like the instructions at Dyom.


Sry for bad englsih.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#18

Posted 15 April 2009 - 02:55 PM

I bet you didn't read at all suicidal.gif

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#19

Posted 15 April 2009 - 02:59 PM

Example of people who skip the Basic Punctuation / Useful Tools...

miclin
  • miclin

    old stager

  • Members
  • Joined: 22 Mar 2009

#20

Posted 15 April 2009 - 03:27 PM Edited by miclin, 15 April 2009 - 03:57 PM.

~k~~VEHICLE_STEERDOWN~
~k~~VEHICLE_STEERLEFT~

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#21

Posted 15 April 2009 - 03:43 PM

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.

miclin
  • miclin

    old stager

  • Members
  • Joined: 22 Mar 2009

#22

Posted 15 April 2009 - 03:57 PM

ok thx

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#23

Posted 15 April 2009 - 04:10 PM

QUOTE (miclin @ Apr 15 2009, 15:27)
~k~~VEHICLE_STEERDOWN~
~k~~VEHICLE_STEERLEFT~

WTF that mean?

It's like I tell someone "Are you ok" and he tell me "DONUT".

miclin
  • miclin

    old stager

  • Members
  • Joined: 22 Mar 2009

#24

Posted 15 April 2009 - 04:16 PM Edited by miclin, 15 April 2009 - 04:21 PM.

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.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#25

Posted 15 April 2009 - 04:23 PM

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. bored.gif

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#26

Posted 15 April 2009 - 05:31 PM

WHATEVER? Does the same thing anyway.

TNTX32
  • TNTX32

    HAAAAAXXX!!!

  • BUSTED!
  • Joined: 23 Feb 2009

#27

Posted 15 April 2009 - 06:06 PM

Yeah but it's kinda stupid bored.gif

Anyway both works

12jango
  • 12jango

    "This is not revenge! This is entertainment!"

  • Members
  • Joined: 08 Mar 2008

#28

Posted 18 April 2009 - 07:32 AM

Yo, guys. I ever tried to do this punctuation colors in game, I pressed ~r~ when I typed an objective and it works!! alien.gif alien.gif

Sniputer
  • Sniputer

    IM NOT COMING HERE ANYMORE

  • BUSTED!
  • Joined: 01 May 2007

#29

Posted 18 April 2009 - 09:48 AM

That can crash the game more easily.

12jango
  • 12jango

    "This is not revenge! This is entertainment!"

  • Members
  • Joined: 08 Mar 2008

#30

Posted 18 April 2009 - 10:56 AM

Yeah, your're right. That's the bad effect.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users