You can't make a prefab a script_model. It doesn't work like that. What you need to do is enter the bookcase prefab and select all of the models and make them a script_modle. You can do this by right clicking on the grid and hover over script then select script_model. Then you can give them a targetname. In script you would want to get an array of the models using GetEntArray and then you can move them.
Step one don't follow ZK tutorials lol he had some bad habits with scripting ================================================================
In radiant add a trigger_use give it this kvp Also give it this kvp ( radio1 is the sound alias name for the sound you want to play ) You can copy paste as many of these as you want and give them all different script_sound kvp's SCRIPT: Open mapname.gsc and thread this in main() At the bottom of mapname.gsc add this Make sure you have your sound converted correctly if you have to just reconvert it if this doesn't work, I just tested it and it works 100%. If you have any questions please let me know.
====================================================================================== A SCRIPT BY: VERTASEA ======================================================================================
ROTATE MULTIPLE ENTITIESThis script can handle multiple rotating ents. ====================================================== Features that can be set via kvp: Choose rotation direction. Set rotation speed. Require power to rotate/ or rotate without power. Play a looping sound on the rotating ent.
USES: This script would be good to add to a map with ceiling fans, vent fans, or if you want props to rotate like the gif above. If you want anything to rotate in your map this is a easy way to do it.
Instructions:
In Radiant add a script_model or a script_brushmodel. Besure to look at the script doc within the script to see what all kvp to add to your script_model or script_brushmodel.
Thread this function inside of mapname.gsc in main() UNDER maps\_zombiemode::main();
Copy this and paste it at the bottom of mapname.gsc
If you use this a credit would be appreciated thanks. If you find any bugs or have any issues please let me know.
To add pathnode press B to open entity browser, then click on node and then drag in a pathnode. Try that and let me know if that fixes it. Also make sure you don't have any perks under the sland, and also make sure there is no breaks in the geo
4 years ago
Loading ...
New version available!
All running pages of UGX-Mods need to be reloaded for your best experience. Be sure that you finish all your work before updating!