View Full Version : [Question] Help window
GAIGHER
January 9th, 2009, 12:46 PM
Hello les Halo
how to display a window of assistance in Halo ?
Example:
http://img443.imageshack.us/img443/8198/messagesb7.jpg
( Cyborg entry Trigger volume starting help window )
.hsc ?
Hunter
January 9th, 2009, 01:33 PM
GAIGHER ignore Freezers posts, they will be cleaned up soon. He is a spamming and jelouse child.
GAIGHER
January 9th, 2009, 01:43 PM
ok Hunter thx
.hsc ?
CodeBrain
January 9th, 2009, 10:20 PM
I believe its a UI Event that comes up upon activation through a script.
Je crois son un Événement UI qui se lève sur l'activation par un script.
Lets hope the website I used translated it right :D
Laisse l'espoir le site Internet que j'ai utilisé l'a traduit le droit :D
GAIGHER
January 10th, 2009, 12:28 AM
someone knows the script ?
I find in the .map
http://img184.imageshack.us/img184/5531/b40jk2.jpg
>> Les commandes de mouvement contrôlent votre accélération.
>> Utilisez la commande du .......
Masterz1337
January 10th, 2009, 02:18 AM
I can look into it tommarow for you.
Actually, if you look through the .hsc files for anything with game_difficulty_get, you should be able to find referances to it, since those things only pop up on easy and normal.
p0lar_bear
January 10th, 2009, 12:13 PM
http://www.modacity.net/docs/bslbible/
The script function to turn on the dialog box is (display_scenario_help <short>).
You need to make a unicode_string_list with whatever tutorial messages you need. Then at the bottom of the scenario tag, reference that tag in the "ingame help text" field.
In your script, display a message with the function I pasted above, where <short> is the index of the message you want to display in your unicode_string_list tag.
iOwnYouAll
January 10th, 2009, 01:13 PM
http://www.modacity.net/docs/bslbible/
The script function to turn on the dialog box is (display_scenario_help <short>).
You need to make a unicode_string_list with whatever tutorial messages you need. Then at the bottom of the scenario tag, reference that tag in the "ingame help text" field.
In your script, display a message with the function I pasted above, where <short> is the index of the message you want to display in your unicode_string_list tag.
now in english please ?
Inferno
January 10th, 2009, 01:14 PM
What? Who are you?
iOwnYouAll
January 10th, 2009, 01:15 PM
your encounter
GAIGHER
January 13th, 2009, 01:32 AM
Tigger name "tigger"
Script .hsc
My script is it good ?
(script startup trig_spawn
(begin
(sleep_until (volume_test_objects trigger (players)) 15)
(display_scenario_help 0)
)
)
is ok ?
http://img58.imageshack.us/img58/9702/sapetguerzo9.jpg
Compiled script
http://img58.imageshack.us/img58/7017/suxerco0.jpg
why ?
http://img58.imageshack.us/img58/7346/nothingvv1.jpg
p0lar_bear
January 13th, 2009, 02:30 AM
Starting from the Halo Custom Edition folder, where is the hsc file saved? It should be located in data/levels/test/insomnia_map/scripts/.
I'm pretty sure you know where it goes, but I just want to rule out anything you didn't mention or was not obvious.
Also, were you in the trigger volume for more than half a second? (30 ticks = 1 second)
edit:
Did you set your scenario's type to solo before compiling?
Moreover, do you have the ui_widget_collection and ui_widget_defnition files for solo maps? The HEK doesn't come with them; you would need to extract them from a PC map to get them.
GAIGHER
January 13th, 2009, 10:14 AM
Ha! Is not valid for the multiplayer ? :(
p0lar_bear
January 13th, 2009, 01:18 PM
Unfortunately, that script function only works on solo maps.
Oh, and your script is fine. FYI, having the script's contents encased by (begin) isn't necessary.
CodeBrain
January 13th, 2009, 04:47 PM
I thought the problem was that it was not solo AND it had a 0 in the display_scenario_help part instead of a 1 (Turning it on, I think.)
p0lar_bear
January 13th, 2009, 05:32 PM
I thought the problem was that it was not solo AND it had a 0 in the display_scenario_help part instead of a 1 (Turning it on, I think.)
The argument for (display_scenario_help) takes a short, not a boolean, meaning that it wants the ID from the Unicode String List containing the help messages.
GAIGHER
January 16th, 2009, 01:25 PM
Ok thx all
What is the script to message ?
Valid for the multiplayer ?
http://img220.imageshack.us/img220/7416/mesagemp7.jpg
p0lar_bear
January 16th, 2009, 01:39 PM
Valid for the multiplayer ?
(hud_set_help_text <hud_message>) (http://www.modacity.net/docs/bslbible/#F_H), where <hud_message> is a message label defined in a hud_message_text tag.
How to create hud_message_text tags. (http://gbxforums.gearboxsoftware.com/showthread.php?t=49991&highlight=hud_message_text)
I doubt the script function will work in multiplayer, but you can give it a try.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.