UGX-Mods 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 Facebook
Sign In with Twitch

Death barrier tutorial - WAW

HOT
broken avatar :(
Created 6 years ago
by isaacscott935
0 Members and 1 Guest are viewing this topic.
6,100 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 3 years 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: 2 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
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 LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
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: 3 years 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: 3 years 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 :) paypal.me/F3ARxReaper666
discord server:
https://discord.gg/tsGHW99
×
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: 11 months ago
Posts
1,043
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: 3 years 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: 11 months ago
Posts
1,043
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: 2 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
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 LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
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:

Code Snippet
Plaintext
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: 3 years 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

Code Snippet
Plaintext
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: 3 years 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: 3 years 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
Code Snippet
Plaintext
level thread Kill_trigger();

under
Code Snippet
Plaintext
	level thread DLC3_threadCalls2();

and in radiant have a trigger_multiple with the targetname

Code Snippet
Plaintext
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: 3 years 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: 2 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
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 LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
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: 3 years 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: 2 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
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 LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
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:


 
Loading ...