Jump to content

Home

A few noob questions......


TalonStryk

Recommended Posts

I'm making a single player map, and I had a few questions about how to do somethings

 

1. How would you make the in game cut scenes, not the cgi movies, but the game-engine rendered sequences before and during missions?

 

2. How do you change the objective, because all my maps say objectives=none when I hit tab. And how do you change objectives?

 

3. How would I set what force powers a player starts with at the beginning of a mission?

 

Im thinking these can not be done without the single player sdk, but it never hurts to ask. Thanx

Link to comment
Share on other sites

I think you should wait til the GDK v.2 is released so you can make your custom scripts. You see, stuff like showing objectives, defining forces powers, declaring variables should be done in one script which runs directly upon player spawning. Right now we can only use existing Raven's scripts which are designed for specific levels. I can describe how you can show objectives but that would mean that you cannot define force powers in the same script (and vice versa).

 

But, just in case this is how you show an objective (uncompiled script code):

 

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

 

Objective references are defined in objectives.sp file which can be found in base/strip directory (assets1.pk3)

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

 

This is how you hide it.

 

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

 

Mark the objective as succeeded.

 

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

 

Mark as failed.

Link to comment
Share on other sites

Wouldnt modifying objectives.sp cause you data to be "unpure", and not let you play online because the game data files have been altered? I believe ive seen the game auto kick people who have modified base-game pk3 files while trying to play online.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...