Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: Yasser143
Is there a way for me to make my prefab model, disappear when the player holds F on it, and make it appear somewhere else in my map?
ModmeBot:
Reply By: natesmithzombies
Prefabs aren't scriptable by themselves. You need to make everything in the prefab a script_model or a script_brushmodel. Depending on how many things you have in your prefab this could be a bad idea as there is a limit to the amount of entities, aka script_models/brushmodels, you can have in the game at one time. If it is <5 I wouldn't think it is an issue. There are multiple ways to go about doing it though if you decide to take that route
ModmeBot:
Reply By: Yasser143
Yea its going to be 2 only, and if i cant do prefabs, what about models?
ModmeBot:
Reply By: Blink-420
Yasser143Yea its going to be 2 only, and if i cant do prefabs, what about models?
ModmeBot:
Reply By: Yasser143
But he still didn't explain how to make the "script_brushmodel" disappear/ appear.
ModmeBot:
Reply By: natesmithzombies
This should do what you need. Read through the code for the proper targetnames and thread this in your mapname.gsc
ModmeBot:
Reply By: Yasser143
natesmithzombiesThis should do what you need. Read through the code for the proper targetnames and thread this in your mapname.gsc
ModmeBot:
Reply By: natesmithzombies
Yasser143natesmithzombiesThis should do what you need. Read through the code for the proper targetnames and thread this in your mapname.gsc
Thx Nate for the script, but i was asking for one that made the script_model disappear from one location and appears in another location. Not one that makes the script_model disappear and reappear in the same location. Also wanted one that removes the trigger when used once time, so basically you cant use the trigger anymore after one use. I understand if u are to busy to help me.
ModmeBot:
Reply By: Yasser143
natesmithzombiesYasser143natesmithzombiesThis should do what you need. Read through the code for the proper targetnames and thread this in your mapname.gsc
Thx Nate for the script, but i was asking for one that made the script_model disappear from one location and appears in another location. Not one that makes the script_model disappear and reappear in the same location. Also wanted one that removes the trigger when used once time, so basically you cant use the trigger anymore after one use. I understand if u are to busy to help me.
I will have time this weekend. I can make and release an entire script as other users might find it useful to have something like this too. So I have some questions before I make it:
1) Do you want the meteor loop sound to play on the trigger while it is waiting to be used?
2) Do you want the order to randomize?
3) What reward do you want after triggering it?
4) How do you want it to be triggered? Use? Touch? Shoot?
It wont take me long. I just can't do it without being at my home computer and me being home is all too rare anymore lol
ModmeBot:
Reply By: Yasser143
natesmithzombiesYasser143natesmithzombiesThis should do what you need. Read through the code for the proper targetnames and thread this in your mapname.gsc
Thx Nate for the script, but i was asking for one that made the script_model disappear from one location and appears in another location. Not one that makes the script_model disappear and reappear in the same location. Also wanted one that removes the trigger when used once time, so basically you cant use the trigger anymore after one use. I understand if u are to busy to help me.
I will have time this weekend. I can make and release an entire script as other users might find it useful to have something like this too. So I have some questions before I make it:
1) Do you want the meteor loop sound to play on the trigger while it is waiting to be used?
2) Do you want the order to randomize?
3) What reward do you want after triggering it?
4) How do you want it to be triggered? Use? Touch? Shoot?
It wont take me long. I just can't do it without being at my home computer and me being home is all too rare anymore lol