Been a long time since I've done anything around here, although some of you's know the story about my computer crash which means I also lost everything... Kaput.
Any way, Making my way back into modding and here I have made a new Rotating/Swinging door script with prefabs for easy editing.
Those of you who already have done or able to use rotating doors from the stock scripts or UGX Mod Tools patch won't probably need this.
Code Snippet
Plaintext
/* DuaLVII's Rotating Door Script v1 - Standard Zombie Cost doors - Electric doors - Electric doors with zombie cost (players must get the electric on then pay to open it) - Runs on script_vector for easier use (x,y,z) = (rotate like normal, like a garage door, like a sliding door but it rolls to the side) - Like all other doors, Uses script_flag for zone setting */
::The Quick Steps:: -- Unfortunately I still haven't set everything back up on this computer so there is no video tutorial at the moment, but might not be needed.
- Download the zip at the bottom. - Extract the map_source folder within to your root `World at War` directory. - Within the zip, open the mods folder and then the mapname folder. - Extract the `maps` folder to your mod folder and include the script into your iwd list in the mod builder. - Next, Locate your mapname.gsc which is either in your modname/maps folder or in your raw/maps folder - Below
Code Snippet
Plaintext
maps\_zombiemode::main();
Add this in::
Code Snippet
Plaintext
maps\_zombiemode_rotating_door::init();
- From here, use the prefabs, stamp them, modify their sizes and what not and edit the triggers entity info.
::Things to change in prefabs::
- In all prefabs there is 1 or 2 clip brushes, Within the entity info there is a script_vector to change the angle the door opens too (Read the coded features for a bit more of a description on the script_vector)
- In the trigger, you can change the zombie_cost or add script_noteworthy - electric_door
- You can add both script_noteworthy - electric_door and zombie_cost - value, which will activate the door when the power is on but will not open until the player spends the points to open it (Just a nice little addition I thought would be nice)
Because there isn't a video tutorial for this, I expect there may be issues somewhere so if you don't understand something or have an issue with something, Just reply and I'll get back too you asap.
Also it's nice that you took the time to translate that to Bulgarian but just a little bit of info not many around here know; I'm from England but live in Bulgaria