
Officer egg
Joined: Mar 16, 2008
Dancing is forbidden.
|
Posted: Mar 15, 2009 05:08 PM
Msg. 1 of 7
How can I edit or make the files that put objectives on the screen, like after you activate the Silent Cartographer, it says "Return to the surface for extraction"
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 15, 2009 09:05 PM
Msg. 2 of 7
Create a new text document. Save it right outside of your scripts folder, as an .hmt file, with Unicode encryption. Inside, type in: obj1= obj2= obj3=
and repeat for all the objectives you plan. Note: It is recommended you add the obj's as obj1=>>, obj2=>>, and so on, so that they look like objectives. This is not necessary however. Once done, make sure it's saved right outside your scripts folder. If the scripts folder was in the folder data\levels\test\beavercreek\scripts, then save it in data\levels\test\beavercreek. Once done, open up command prompt, and type in: tool hud-messages [directory of scenario] [scenario file]
So if my scenario was called "beavercreekmod" and it was in the folder levels\test\beavercreek, type in: tool hud-messages levels\test\beavercreek beavercreekmod
Hope this helps :)
|
|
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Mar 16, 2009 01:38 AM
Msg. 3 of 7
Also obj1=>> obj2=>> obj3=>>
-it should be like this. The '>>' Makes it look better Use something like this: (show_hud_help_text true) (hud_set_help_text obj1) (hud_set_objective_text obj1) (sleep 150) (show_hud_help_text false) To enable it ingame Also, take note that Sapien has a nasty tendency to crash when compiling an objective script. If so, you have to recompile the hud messages and retsart Sapien. If it still dosen't work, post here. Edited by Polamee on Mar 16, 2009 at 01:38 AM
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Mar 16, 2009 02:10 AM
Msg. 4 of 7
Quote: --- Original message by: Polamee Also, take note that Sapien has a nasty tendency to crash when compiling an objective script. If so, you have to recompile the hud messages and retsart Sapien. If it still dosen't work, post here.
Use A hobo, it compilse scripts in 5 sec at maximum and never crashes when scripts are compiled. A "Scripters" dream * =) *
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 16, 2009 11:20 AM
Msg. 5 of 7
Quote: --- Original message by: PolameeAlso obj1=>> obj2=>> obj3=>>
-it should be like this. The '>>' Makes it look better Use something like this: (show_hud_help_text true) (hud_set_help_text obj1) (hud_set_objective_text obj1) (sleep 150) (show_hud_help_text false) To enable it ingame Also, take note that Sapien has a nasty tendency to crash when compiling an objective script. If so, you have to recompile the hud messages and retsart Sapien. If it still dosen't work, post here. Edited by Polamee on Mar 16, 2009 at 01:38 AM @ the >>, it isn't necessary. When making Project_alpha, when I was adding text for the skull, I wanted to distinguish the text from the skull from the objectives, so I didn't add those. It's all a matter of choice, because this is for all HUD messages, not just for objectives.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 16, 2009 04:12 PM
Msg. 6 of 7
A few things left out:
You must save it as "hud messages.hmt" without quotes, and you have to save it as a "Unicode" file, not an "ANSI" file. Tool will not compile it otherwise.
|
|
|

Officer egg
Joined: Mar 16, 2008
Dancing is forbidden.
|
Posted: Mar 16, 2009 07:07 PM
Msg. 7 of 7
Thanks a lot guys! Edited by Officer egg on Mar 16, 2009 at 07:26 PM
|
|
|
| |
|
|
 |
|