Jump to content

Home

How to change the mision objetives?


rskull

Recommended Posts

You dissappoint me, my young apprentice. I thought that by now you'd figure it out. :D

 

Commands:

 

set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SHOW", /*@OBJECTIVES*/ "BESPIN_UNDERCITY_OBJ1" );

Shows the objective!

set ( /*@SET_TYPES*/ "SET_OBJECTIVE_HIDE", /*@OBJECTIVES*/ "BESPIN_UNDERCITY_OBJ1" );

Hides the objective!

set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "BESPIN_UNDERCITY_OBJ1" );

Marks as succeeded

set ( /*@SET_TYPES*/ "SET_OBJECTIVE_FAILED", /*@OBJECTIVES*/ "BESPIN_UNDERCITY_OBJ1" );

Marks as failed.

 

This is pretty selfexplanatory but the trick is to create right objective. In this example I used bespin_undercity_obj1. All these definitions are located in base/strip/objectives.sp (assets1.pk3).

You can modify the file so it display different text but DON'T modify the class names or the game won't recognize the objectives. Also, if you are going to modify the file, create a separate directory for your SP mod so it doesn't mess up normal SP game.

Link to comment
Share on other sites

-create mymod dir under GameData

- basically recreate base dir structure insdide so you i.e. you have gamedata/mymod/strip

- copy original objectives.sp to that dir

- edit it freely

 

start the game from the bat (in gamedata dir) file which has the following line:

 

jk2sp +set fs_game mymod +map yourmapname

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...