Call of Duty bo3: ZM Slowdown Trigger: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(Created page with "== Prerequisites == You need to download this zip file and extract the script into: Black Ops 3 Root\usermaps\<yourmapname>\scripts\zm\ [http://www.mediafire.com/file/zde8...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''This will slowdown a player when he is in a certain trigger (When the player walks in mud for example)'''
== Prerequisites ==
== Prerequisites ==


Line 5: Line 7:
  Black Ops 3 Root\usermaps\<yourmapname>\scripts\zm\
  Black Ops 3 Root\usermaps\<yourmapname>\scripts\zm\


[http://www.mediafire.com/file/zde84es17w8w7we/_zm_slowdown_trigger.zip DOWNLOAD]
[http://www.mediafire.com/file/1303h5u8afbijta/_zm_slowdown_trigger.zip DOWNLOAD]


== Editing Map Scripts ==
== Editing Map Scripts ==
Line 39: Line 41:


And that's all you need to slowdown a player. U can add as many triggers as you want.  
And that's all you need to slowdown a player. U can add as many triggers as you want.  
'''Note:''' U can freely modify the script if u want, there are a few vars setup so u can change the slowdown time etc.


--[[User:Ardivee|Ardivee]] ([[User talk:Ardivee|talk]]) 16:24, 5 February 2017 (UTC)
--[[User:Ardivee|Ardivee]] ([[User talk:Ardivee|talk]]) 16:24, 5 February 2017 (UTC)

Latest revision as of 16:32, 5 March 2017

This will slowdown a player when he is in a certain trigger (When the player walks in mud for example)

Prerequisites

You need to download this zip file and extract the script into:

Black Ops 3 Root\usermaps\<yourmapname>\scripts\zm\

DOWNLOAD

Editing Map Scripts

First we going to edit the <yourmapname>.gsc file which is located in:

Black Ops 3 Root\usermaps\<yourmapname>\scripts\zm\

Paste the following line under: #using scripts\zm\zm_usermap;

#using scripts\zm\_zm_slowdown_trigger;

Editing Zone

Paste this line in your map .zone file.

scriptparsetree,scripts/zm/_zm_slowdown_trigger.gsc

Adding Trigger

In radiant add a trigger_multiple and make it cover the area you want to slowdown the player. Make it approximately the same height as a player.

Change the targetname into:

slowdown_trigger

Optional

Add the following kvp to change the desired slowdown speed (Stock value = 0.5):

"script_float" "<value>"

And that's all you need to slowdown a player. U can add as many triggers as you want.

Note: U can freely modify the script if u want, there are a few vars setup so u can change the slowdown time etc.

--Ardivee (talk) 16:24, 5 February 2017 (UTC)