Jump to content

Home

A few noob questions......


TalonStryk

Recommended Posts

Posted

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

Posted

ty, ill look around for it. Does Raven even plan to release the sdk?

 

EDIT: 25 pages and the search function is disabled, this is going to be a long day.

Posted

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.

Posted

In order to create objectives text you'll need to edit /strip/objects.sp, problem with this is, having multiple sp maps with objectives (i mean seperate map packs) will cause.. problems :/

Posted
Originally posted by normal

problem with this is, having multiple sp maps with objectives (i mean seperate map packs) will cause.. problems :/

 

It won't if you make it a MOD. ;)

Posted

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.

Posted

We are talking about SP game and you don't play it on-line. Pure server does not apply here. In Multiplayer game you don't set objectives (AFAIK).

Archived

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

×
×
  • Create New...