Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Hey guys
I created this script earlier today. I am just learning scripting, so it might not be the most exciting/complex tutorial but here we are. This basically allows you to be able to shoot teddy bears in the map.
PART 1: RADIANT
First, let's start off in radiant. Right click on your 2D window, and click script -> model. Find the zombie teddybear model. You can actually have this as any model, but I'll just use it (the model name for the bear is "zombie_teddybear"). You can place this anywhere in your map, as long as your player can see it.
Give this bear the KVP:
You can then duplicate the script_model to have as many as you like, but make sure you change the KVP each time:
So, my second one would look like:
etc.
Right click on your 2D window again and select trigger -> damage. Cover the bear with this trigger and hit N on your keyboard to give it KVPs. First, tick the box MELEE_NO (because we don't want to knife our bear). Then, add:
So my second trigger's KVP would look like:
etc.
Make sure you cover all of your bears with the trigger_damage and make sure all the KVPs are different.
PART 2: SCRIPTING
Go into mapname\maps\mapname.gsc.
I have created a function called shootable_bears(), so you need to write:
underneath
Next, at the bottom of your .GSC file, add your function:
NOTE: Make sure all of your targetnames in your script match the ones in your radiant file
KVPs.
This code
is to add music once your teddies have been shot. I have not added music, hence the "insert_sound_here", but you can add a song to your map and play it using this code.
Enjoy
If there are any mistakes please let me know
I can't load map into Radiant, when I open the map file. The Windows hourglass displayed. I tried in system adminstrator and compatibility mode, but not working.
I tried with Launcher and without Launcher. Windows 10 64bit.
Can somebody help me?
Hello,
I was wondering how you would change the zombies sounds and groans for WAW. Also, is there anyway to download them off of a site? Thanks
How do I get rid of the fact that once you get hit, the zombies stop you/slow you down? I've seen maps without this, is it an easy process or very complicated?
I’d say I’m a good mapper, as I can create multiple style maps with models and other things. I can easily create maps with basic functions like perks and pack a punch and add custom weapons, but it’s just creating my own scripts I’m not good at. Thanks for the links
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.
Hey,
I've been having this error every time I try to launch my map from Launcher. And I have no idea what is causing it and how to fix it. Any help would be appreciated. Thanks.
Thank you. Also, where did you learn to script using GSC? Did you follow an online course or something?
Ok thank you, I will try that and if that works then I'll edit the original post.
I don't know if anyone can help with this, but I'm trying to make a new map, and I get this error when compiling my map: (!) UNRECOVERABLE ERROR: EXE_ERR_HUNK_ALLOC_FAILED256
It made other files in my mods folder, and I don't think I need those files. But, I am new to this, so I don't know.
Hey guys
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.
Thank you for your help. That idiot, HarryBO2 just doesnt know crap. I found a post by someone else with the same problem I have. And textures i cannot find are all after "Q". So I deleted textures I didnt like and wasnt set up properly. Then I got back a bunch of textures due to the limit of textures you can have in radiant. So, common sense shows my mod tools were I stalled correctly. But lord knows HarryBO2 has no common sense.
simple, the model the ai is using doesnt have a bone called j_helmet, this bone should be pretty much next to the head tag
i keep getting this error with my AI i made
(Image removed from quote.)
It seems to happen when you shoot the head or gib the soldier but idk how to fix this besides removing the helmet code...
if anyone else has any other solutions please let me know!