Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: Noah Gamerscore
Im making an old map that was in WaW custom zombies and it had the Nuketown style perks where they spawn in on a certain round.
Can anyone help me make that script. I will give 100% credit when i publish the map.
ModmeBot:
Reply By: soul-toktzt
NoahIm making an old map that was in WaW custom zombies and it had the Nuketown style perks where they spawn in on a certain round.
Can anyone help me make that script. I will give 100% credit when i publish the map.
I know you can have models / brushes hidden and make them show up when you turn on the power, but i have no idea how to modify the script so it would be on a certain round.
Want me to give you the script to make something show up after power's on?
Maybe you can put a script_brushmodel with a texture in front of it so it's "not there". :p and delete / hide the brush after a certain round.
ModmeBot:
Reply By: CT8918
Noah Gamerscore
Im making an old map that was in WaW custom zombies and it had the Nuketown style perks where they spawn in on a certain round.Can anyone help me make that script. I will give 100% credit when i publish the map.
level thread show_at_round();
//*************************************************************************************************************************************************************************************
// SHOW_AT_ROUND
//*************************************************************************************************************************************************************************************
/*
Author: CT8918
Waits until a designated round and then shows the hidden entities.
round - integer that designates what round entities will be shown at.
*/
function show_at_round(round)
{
/***START HIDING THINGS***/
//PREFAB example. Commented out.
//Rename the variable(whatever_you_want). Make sure to get all 3.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
whatever_you_want = GetEntArray("whatever_you_use_as_the_targetname", "targetname");
for( i=0; i < whatever_you_want.size; i++ )
{
whatever_you_want[i] Hide();
}
*/
//MODEL example. Commented out.
//Rename the variable(whatever_you_want). Make sure to get all 2.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
whatever_you_want = GetEnt("whatever_you_use_as_the_targetname", "targetname"); // Gets the entity with the targetname.
whatever_you_want Hide();
*/
//BRUSHMODEL example. Commented out.
//Rename the variable(whatever_you_want). Make sure to get all 2.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
whatever_you_want = GetEnt("whatever_you_use_as_the_targetname", "targetname"); // Gets the entity with the targetname.
whatever_you_want Hide();
*/
//Paste below and before the END HIDING THINGS
//---END HIDING THINGS---//
/***START WAITING FOR ROUND - DO NOT EDIT***/
while(1)
{
level waittill("between_round_over");
if(level.round_number >= round)
{
break;
}
}
//---END WAITING FOR ROUND - YOU BETTER HAVE NOT EDITED THIS UNLESS YOU KNEW WHAT YOU WERE DOING!---//
/***START SHOWING THINGS***/
//PREFAB example. Commented out.
//Rename the variable(whatever_you_want). 2 instances.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
for( i=0; i < whatever_you_want.size; i++ )
{
whatever_you_want[i] Show();
}
*/
//MODEL example. Commented out.
//Rename the variable(whatever_you_want). Make sure to get all 2.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
whatever_you_want Hide();
*/
//BRUSHMODEL example. Commented out.
//Rename the variable(whatever_you_want). Make sure to get all 2.
//Rename the targetname string(whatever_you_use_as_the_targetname) to what you use in Radiant.
//Copy and paste this code block somewhere in this section below.
/*
whatever_you_want Hide();
*/
//Paste below and before the END SHOWING THINGS
//---END SHOWING THINGS---//
}
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// END SHOW_AT_ROUND
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------