• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

KF Objective Mode Video Tutorial Series

Alex_KF

FNG / Fresh Meat
May 17, 2006
320
11
0
Howdy folks!

So I've started work on a series of hastily recorded and embarrassingly produced videos that should non-the-less acquaint all of you with the Objective Mode tool-set.

The first in this series details how to make a player win a mission by walking from one end of a hallway to the other. Yes. It's super epic!


Btw guys, if you have any requests for a certain type of tutorial, or a topic you want covered don't hesitate to let me know. Otherwise i'll just go on autopilot hitting all the points I feel are relevant :)



Tutorial # 1 : Creating your First Objective!

HallwayTutorial - YouTube


Tutorial # 2 : Adding Enemies !

EnemySpawningTutorial - YouTube
 
Last edited:

Blockyz

FNG / Fresh Meat
Jul 3, 2013
21
0
0
Love it. Very handy to finally know how the objective actors work! Will you be doing the dialogue script next? That's the one I would really love to know how to work with. Keep it up! :D
 

RoBoT

FNG / Fresh Meat
Mar 21, 2009
1,157
156
0
32
Syria
If you could share this map with us after finishing the tutorial it would be great :)
 

poosh

Grizzled Veteran
Jan 6, 2011
3,404
327
83
Great tutorials, Alex! Really helpful.

I have some questions, that you could explain in the next videos please:
  1. Pressing USE button to operate something. For example, USE the computer for 10 seconds to complete an objective, or press USE for a minute to slowly open the door. I don't want to use welder in such cases, because, first, welding the computer seems ridiculous and, second, I don't want Support Spec.'s welding bonus to be used.
  2. Spawning items next to NPC. For example, an optional objective to protect the NPC during his way from A to B. If NPC successfully gets to the B, he gives you the L.A.W. (should be spawned next to him). If he dies, game continues (cuz it is optional obj.), but you don't get the L.A.W.
  3. Turning lights on/off. For example, repair the generator to turn on the lights in the room.
 

Alex_KF

FNG / Fresh Meat
May 17, 2006
320
11
0
Thanks, glad you're finding them helpful. :)

To answer your questions -

  1. Pressing USE button to operate something. For example, USE the computer for 10 seconds to complete an objective, or press USE for a minute to slowly open the door. I don't want to use welder in such cases, because, first, welding the computer seems ridiculous and, second, I don't want Support Spec.'s welding bonus to be used.
To create a use-able item which is tied to an objective you should add an 'ObjCondition_Use' condition to the relevant objective. Use conditions accept a 'UseActor' which can be any actor in the map that has 'bCollideActors' set to true. (a pathnode would work, for example). If you wanted an elaborate setup like a valve you had to slowly turn to open a gate you could use a 'KF_UseableMover' in conjunction with this condition. UseableMovers function much like regular movers except that the use condition controls their animation state.

  1. Spawning items next to NPC. For example, an optional objective to protect the NPC during his way from A to B. If NPC successfully gets to the B, he gives you the L.A.W. (should be spawned next to him). If he dies, game continues (cuz it is optional obj.), but you don't get the L.A.W.
To spawn a weapon pickup you can just use the ACTION_SpawnActor scripted action inside a scripted trigger. i.e

Actions(0) = WaitForEvent 'SpawnLAWPickup'
Actions(1) = SpawnActor(class 'LAWPickup' )

The LAW will spawn at the location of the scripted trigger actor right after the event 'SpawnLAWPickup' is called.

  1. Turning lights on/off. For example, repair the generator to turn on the lights in the room.
This can be achieved with TriggerLights. Place several of them in your room with 'bInitiallyOn' set to false and an initial state of 'TriggerToggle'. Then it's just a matter of toggling them on or off , which can be done with Objective events.
 
Last edited:

RoBoT

FNG / Fresh Meat
Mar 21, 2009
1,157
156
0
32
Syria
Is it possible to hide cash hud?
I changed bShowCash to false in KF_LevelRules_Story but it didn't work.

Also I tried to add sound in SuccessConditions > Audio > Sound_Completion and it worked but the sound had high pitch because its running fast.
 
Last edited:

Fel

FNG / Fresh Meat
Aug 9, 2009
1,991
487
0
In Mission Mode
I have a question. How come when players join the server they will spawn instantly into the map into the last checkpoint that was activated? It doesn't wait for the next checkpoint trigger

Or better yet, how did you stop players from joining steamland when the game was in progress? :confused::confused::confused:

EDIT: I Think I might have it so it thinks its trader time somehow casue in very beginning of map they wont spawn in. Could you possibly make a tutorial on shopvolumes and how to make trader time on and off? would appreciate it ^.^

I understand Trader controler use one to select the volume then you use another one to open it, and I understand also the using a trader time objective but I think im missing something
 
Last edited:

Alex_KF

FNG / Fresh Meat
May 17, 2006
320
11
0
I have a question. How come when players join the server they will spawn instantly into the map into the last checkpoint that was activated? It doesn't wait for the next checkpoint trigger

Or better yet, how did you stop players from joining steamland when the game was in progress? :confused::confused::confused:

EDIT: I Think I might have it so it thinks its trader time somehow casue in very beginning of map they wont spawn in. Could you possibly make a tutorial on shopvolumes and how to make trader time on and off? would appreciate it ^.^

I understand Trader controler use one to select the volume then you use another one to open it, and I understand also the using a trader time objective but I think im missing something
Players who join a server after the match has already started will be sent to a spectating state until the next checkpoint is reached. Unless it is trader time , in which case they will immediately spawn.
 

poosh

Grizzled Veteran
Jan 6, 2011
3,404
327
83
I think the problems is that KFO-Steamland starts in trader mode. For example, during Ringmaster speech you can suicide to get extra free weapons and you'll immediately respawn.
 

Alex_KF

FNG / Fresh Meat
May 17, 2006
320
11
0
I think the problems is that KFO-Steamland starts in trader mode. For example, during Ringmaster speech you can suicide to get extra free weapons and you'll immediately respawn.
Yes. Objective mode considers 'Trader Time' to be any time where there are no enemies. This was done intentionally because you don't want players being unable to spawn when they join a server during dialogue, or .... the objective in KFO-Steamland where you have to find and heal the ringmaster, for example.
 
Last edited:

Fel

FNG / Fresh Meat
Aug 9, 2009
1,991
487
0
In Mission Mode
Players who join a server after the match has already started will be sent to a spectating state until the next checkpoint is reached. Unless it is trader time , in which case they will immediately spawn.
OK so how do I turn trader time on and off? with the trader time objective? or, should I keep 1 zombie in the map and then kill it to respawn players? I have calm spots in my map for scare sequences and I don't want players spawning then,
 
Last edited:

Fel

FNG / Fresh Meat
Aug 9, 2009
1,991
487
0
In Mission Mode
Also im having another problem when players are fighting during a wave, and they die, they will respawn instantly at the previous checkpoint and not go into spectator mode :confused:

I have all checkpoints set to trigger and there are zombies in the map when they respawn

EDIT: Sry 1 more question don't mean to bug ya but should I make the Default game type in the Level properties KFStoryGame.KFStoryGameInfo ? seems to help :D
 
Last edited:

Fel

FNG / Fresh Meat
Aug 9, 2009
1,991
487
0
In Mission Mode
Yeah, make sure bKillStragglers is set to false in your Level rules actor under the Rules_Monsters tab.
I also found if you want to keep a zombie in the map then just set this as false then use a damage actor event to kill stragglers. This can be used if you have quite parts but don't want players who join to spawn in yet.

@Alex Is there any way we can configure the straggler distance?
 
Last edited:

HaTeMe

FNG / Fresh Meat
Nov 20, 2009
2,688
550
0
Behind You!
Btw shouldnt this thread rather be in the Level Design forums? I mean thats the first place Id look anyway, took me quite a while to find this last time.