![]() Place a model at each spot and sequentially Show() and Hide() them until they're all done (increment a number internally each time one is found).ĭo beware the randomizing fantasy- it gets a whole lot more logic heavy, but still very possible. Refer to BO3Root/docs_modtools/bo3_scriptapifunctions for the basic functions of how to accomplish this.ĭefinitely easier. Once it finishes, make whatever you want happen (to make a powerup spawn, you want to call the function from zm_powerups so that's where to look.Īll in all, all you need to do in the script is define the item, the locations (structs specifically use struct::get, not GetEnt), and write them in the order they happen. Make the model target the first struct, then first to second, etc., to make the chain. Then make the other locations just structs. You'll need to make the first location the item itself (models can be spawned through script, I just do it this way because I don't need the script's flexibility). One all are shot then it triggers the reward.Ĭan anyone help me out with this or point me in the right direction? Two, (Which I am trying to do but need help with scripting) have one object spawn in another object across the map when shot. One, just have a single item teleport across the map when shot. I have two ideas on how this could be done. It's actually very similar to the Samantha doll EE on Kino in BO3. Repeat 3 times then you get a max ammo or something. I want to be able to spawn in 1 item, have the player shoot it, then have it move to another location where they have to shoot it again. However, I've been trying to figure out a way to create a script for a similar EE. It was just a simple interact with three objects and a song plays. Recently I followed a tutorial on adding a music EE. Obviously, Radiant is far different, but I did know a lot going in and once I learned the new way of doing it, I had it down. I have uninstalled, backdated and reinstalled my GPU drivers, completely re-downloaded BO3 and Mod tools, deleted and revalidated individual files, system, restored windows to before the crash, reinstalled windows. It will hang here for upwards of an hour. I am not brand new to mapping as I have about a year and a half of experience with Hammer (Valve's world editor). Since then I cannot launch radiant, it just hangs on Initializing Graphics system. I've been creating simple maps and playing around with some stuff and just overall learning my way around. As of writing this I have only about 3 weeks of experience using Radiant and BO3 Mod Tools, I've recently started learning GSC in more detail, but I'm no where near being able to write entire scripts from scratch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |