UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: AlecKeaneDUB on April 03, 2015, 03:41:29 am

Title: Swinging door help and powerups not spawning?
Post by: AlecKeaneDUB on April 03, 2015, 03:41:29 am
First of all, in my map I have a small closet which has the power switch in it. The door is slightly opened enough to where you can see inside of it and I want the door to swing open when you buy it as if it were on hinges and you pulled it open all the way. Now since I'm pretty new to mapping, i'm not quite sure how to do this. I originally thought script_vector would work but it turns out that you cant rotate a door by using that. So if someone could let me know what I need to do and use for that to work it would be much appreciated.

Secondly, powers ups arent spawning at all in my map. I have the volume stretching over the whole map but I dont think thats even what causes them to spawn. I dont remember what it is so if someone could help that would be great.

Thanks for your time  :)
Title: Re: Swinging door help and powerups not spawning?
Post by: Lukkie1998 on April 03, 2015, 11:44:28 am
The answer to your first question can be found here! (http://ugx-mods.com/forum/index.php?topic=3849.0) Everything will be explained in that topic.

To answer your second question, you have to make a trigger_multiple everywhere the player can go. You can make a trigger_multiple by going into radiant > Right MB in 2D-view > trigger > trigger_multiple. Give this trigger this KvP:
Code Snippet
Plaintext
Key: targetname
Value: playable_area
Make sure you only place this trigger in places where you can actually go. If you put this trigger outside the map, it's possible that there will be a power-up spawned, but you can't grab it. You can copy this trigger as much as you want.

If you have any questions, just ask!

Lukkie1998