Death barrier tutorial - WAW

broken avatar :(
Created 472 days ago
by isaacscott935
0 Members and 1 Guest are viewing this topic.
1,690 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
Signature
Please. Save me.
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Hey guys  :D

This is a tutorial on how to create a death barrier in Call of Duty: World at War custom zombies.
You may want this feature in your map as part of a quest, or to just bully the players.

1) Right click on your 2D window in Radiant. Hover your mouse over 'trigger' and a menu should appear. Click 'hurt'.

2) You can resize this trigger to be any size of your choice. Press N on your keyboard to open the Entity window (this is where you insert your KVPs, for any new mappers). Type in the key 'dmg' (short for damage) and set the value as a number higher than 100.
IMPORTANT! If you do not have Jugg on your map, then you can set the value as 100 or 150. If you do have Jugg on your map, then setting the value under 150 will not kill the player. It needs to be over 250.

That's it. There are no further things needed in Radiant or in scripts. Just compile your map and it will work.
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 6 days ago
Posts
338
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
Hey guys  :D

This is a tutorial on how to create a death barrier in Call of Duty: World at War custom zombies.
You may want this feature in your map as part of a quest, or to just bully the players.

1) Right click on your 2D window in Radiant. Hover your mouse over 'trigger' and a menu should appear. Click 'hurt'.

2) You can resize this trigger to be any size of your choice. Press N on your keyboard to open the Entity window (this is where you insert your KVPs, for any new mappers). Type in the key 'dmg' (short for damage) and set the value as a number higher than 100.
IMPORTANT! If you do not have Jugg on your map, then you can set the value as 100 or 150. If you do have Jugg on your map, then setting the value under 150 will not kill the player. It needs to be over 250.

That's it. There are no further things needed in Radiant or in scripts. Just compile your map and it will work.

Sorry to break the fun but this only works solo! TriggerHurt does the same as self DoDamage, if you can make a trigger radius perhaps that will work.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Ok thank you, I will try that and if that works then I'll edit the original post.
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 6 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) [You are not allowed to view external links. Register or Login to see them]
discord server:
[You are not allowed to view external links. Register or Login to see them]
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
trigger multiple is what you would need, and a script to go with it that checks if a player is touching it then do stuff
broken avatar :(
×
broken avatar :(
JbirdHaX
Location: se
Date Registered: 12 March 2012
Last active: 7 days ago
Posts
1,040
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
(_̅(_̅м̅a̅я̅i̅j̅u̅a̅n̅a̅_̅0 ด้้้้้็็็็็้้้้้็็็็็้
Signature
▒█▀▄▀█ ░█▀▀█ ▒█▀▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█  ▒█▀▀▀ ▒█░░ ▀█▀ ▀▀█▀▀ ▒█▀▀▀
▒█▒█▒█ ▒█▄▄█ ▒█▄▄█ ▒█▄▄█ ▒█▀▀▀ ▒█▄▄▀  ▒█▀▀▀ ▒█░░ ▒█░ ░▒█░░ ▒█▀▀▀
▒█░░▒█ ▒█░▒█ ▒█░░░ ▒█░░░ ▒█▄▄▄ ▒█░▒█  ▒█▄▄▄ ▒█▄▄ ▄█▄ ░▒█░░ ▒█▄▄▄
×
RadimaX's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
should maybe test things coop regardless of what you release ;)
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
I have no friends
broken avatar :(
×
broken avatar :(
JbirdHaX
Location: se
Date Registered: 12 March 2012
Last active: 7 days ago
Posts
1,040
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
(_̅(_̅м̅a̅я̅i̅j̅u̅a̅n̅a̅_̅0 ด้้้้้็็็็็้้้้้็็็็็้
×
RadimaX's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
 Well, in this community you are more than welcome to make some ;)
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 6 days ago
Posts
338
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
I love skulls
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
Ok thank you, I will try that and if that works then I'll edit the original post.

What Death Reaper said is right it works,
you can look at this example:

Kill_trigger()
{
trig = GetEnt("instakill_trigger", "targetname");
players = getplayers();
while(1)
{
for(d = 0; d < players.size; d++)
{
if ( players[d] istouching(trig) )
{
if (!players[d] maps\_laststand::player_is_in_laststand())
{
radiusdamage(players[d].origin, 100, 666, 666, trig, "MOD_PISTOL_BULLET");
}
}
}
wait 0.1;
}
}
Last Edit: June 25, 2018, 07:03:07 pm by gympie6
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 6 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
slight modification, this will let you have multiple of the triggers

Kill_trigger()
{
trig = GetEntArray("instakill_trigger", "targetname");
players = getplayers();
while(1)
{
for(i = 0; i < trig.size; i++)
{
for(d = 0; d < players.size; d++)
{
if ( players[d] istouching(trig[i]) )
{
if (!players[d] maps\_laststand::player_is_in_laststand())
{
radiusdamage(players[d].origin, 100, 666, 666, trig, "MOD_PISTOL_BULLET");
}
}
}
}
wait 0.1;
}
}
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
:)
Last Edit: August 06, 2019, 07:10:49 pm by isaacscott935
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 6 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
it can go in mapname, call
level thread Kill_trigger();

under
	level thread DLC3_threadCalls2();

and in radiant have a trigger_multiple with the targetname

instakill_trigger

and with the adjustment i made you can have as many of these as you want
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Thank you. Also, where did you learn to script using GSC? Did you follow an online course or something?
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 6 days ago
Posts
338
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
I love skulls
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
Thank you. Also, where did you learn to script using GSC? Did you follow an online course or something?

Well we both learned it from tutorials, experimenting stuff and also being a programmer helps a lot ^^
Last Edit: June 07, 2018, 09:13:59 pm by gympie6
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 43 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Is there a good site where I can learn GSC? I really want to be able to create good features for my maps but I can’t without a decent knowledge of scripting.
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 6 days ago
Posts
338
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
I love skulls
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
Is there a good site where I can learn GSC? I really want to be able to create good features for my maps but I can’t without a decent knowledge of scripting.

You can always take a look here:
https://confluence.ugx-mods.com/display/UGXMODS/UGX-Mods+Wiki

this is for beginner's scripting:
https://confluence.ugx-mods.com/display/UGXMODS/Scripting+Guide

and maybe you want to know more about cod himself, you can follow tutorials from this guys for example:


 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Twitch
Loading ...