lfnetwork.com mark read register faq members calendar

Thread: objectives
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 09-16-2002, 09:52 AM   #1
Merritt
 
Merritt's Avatar
 
Join Date: Jul 2002
Location: Leeds, England
Posts: 81
objectives

does anyone know any decent tutorials on how to create objectivees - i need to know how for my WIP


Work In Progress: Duel Of The Fates SP

:
Merritt is offline   you may: quote & reply,
Old 09-18-2002, 05:30 PM   #2
JavaGuy
 
JavaGuy's Avatar
 
Join Date: Aug 2002
Posts: 141
Open up the assets1.pk3 and look in the "strip" folder. Extract the objectives.sp file into your project folder.

Now edit the objectives.sp file to change the text for one of the objectives. For example, the first one looks like this:

INDEX 0
{
REFERENCE KEJIM_POST_OBJ1
TEXT_LANGUAGE1 "Investigate the abandoned Imperial outpost."
TEXT_LANGUAGE2 "Fouiller l'avant-poste impérial."
TEXT_LANGUAGE3 "Verlassenen imperialen Außenposten untersuchen."
}

Just change "Investigate the abandoned Imperial outpost" to "The quick brown fox jumps over the lazy dog" or whatever.

Important: You can't add new objectives to the file, nor can you change the REFERENCE name of the existing objective. In the example above, it has to be KEJIM_POST_OBJ1, and that's how you refer to it in your ICARUS scripts. I've tried and tried to find a way to add or rename objectives, and if anyone has found a way let me know because I sure can't do it.

Now save your objectives.sp file and put it in a folder called strip in the pk3 file for your map. When your map loads, the game will prefer the objectives file in your pk3 file.

Now you can use your newly edited objective in your scripts. Set it up like this:

set ( "SET_OBJECTIVE_SHOW", "KEJIM_POST_OBJ1" );

When the player achieves an objective, use SET_OBJECTIVE_SUCCEEDED. Voila!
JavaGuy is offline   you may: quote & reply,
Old 09-18-2002, 06:29 PM   #3
Kengo
 
Kengo's Avatar
 
Join Date: May 2002
Location: Radio Free Europe
Posts: 1,145
Thanks for such a clear and detailed description of what to do to, very helpful


------------------------------------------------
www.map-review.com
Kengo is offline   you may: quote & reply,
Old 09-18-2002, 07:55 PM   #4
idontlikegeorge
 
idontlikegeorge's Avatar
 
Join Date: Jun 2002
Location: Striking fear into the hearts of Demolicans and Republicrats.
Posts: 951
was that nearly quoted from me hehe
idontlikegeorge is offline   you may: quote & reply,
Old 09-18-2002, 10:10 PM   #5
JavaGuy
 
JavaGuy's Avatar
 
Join Date: Aug 2002
Posts: 141
Yep. Idontlikegeorge has been most helpful.
JavaGuy is offline   you may: quote & reply,
Old 09-18-2002, 10:29 PM   #6
Kengo
 
Kengo's Avatar
 
Join Date: May 2002
Location: Radio Free Europe
Posts: 1,145
Thanks to both of ya then


------------------------------------------------
www.map-review.com
Kengo is offline   you may: quote & reply,
Old 09-19-2002, 08:53 AM   #7
Merritt
 
Merritt's Avatar
 
Join Date: Jul 2002
Location: Leeds, England
Posts: 81
thx


Work In Progress: Duel Of The Fates SP

:
Merritt is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > objectives

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:18 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.