View previous topic :: View next topic |
Author |
Message |
SooperK
Junior Member


Joined: 10 Nov 2014 Posts: 52 Location: Jennewa, Airdenor 114 Bank Notes
Items
|
|
I've been trying to add various weapons into different missions throughout the game by using BSV6, but I do not understand how to insert the weapon as I believe it needs a script? Under the insert tab, there is Human, Car, Truck, Police car, light, sound etc. and "other". "Other" to me makes the most sense, but it will not allow me to put a model. Thanks for any help! |
|
Back to top |
|
 |
MatteoCapoletti
Mafiascene Veteran Modder


Joined: 05 Mar 2013 Posts: 536
1054 Bank Notes
Items
|
|
The Other option in BSV6 is for scripts only
All weapons are added into the game by scripts (look at your freeitaly scene2.bin file and in the start script to see how you can ad guns to people)
if you want to place a gun that people can pick up put the model in the location you want and then use a script to allow them to get the gun. You can use a destroy model command in that script, then the gun will disappear when they pick it up
those are the basics, sorry i couldn't be more specific but I am not in a place where I can look that stuff up and memory is rusty
But it makes sense that if the game can add a model with a script, so should we. But we can't at least with BSV. |
|
Back to top |
|
 |
SooperK
Junior Member


Joined: 10 Nov 2014 Posts: 52 Location: Jennewa, Airdenor 114 Bank Notes
Items
|
|
Hey Matteo, thanks so much. I think I've done something similar to that in the past and had success but never tried it with a weapon. It makes sense though by adding the script and using the locations (with the help of mwe)  |
|
Back to top |
|
 |
MatteoCapoletti
Mafiascene Veteran Modder


Joined: 05 Mar 2013 Posts: 536
1054 Bank Notes
Items
|
|
SooperK wrote: | . I think I've done something similar to that in the past and had success but never tried it with a weapon. It makes sense though by adding the script and using the locations (with the help of mwe)  |
Exactly |
|
Back to top |
|
 |
flovivi
Junior Member


Joined: 22 Dec 2014 Posts: 67
329 Bank Notes
Items
|
|
I think you have to place the gun model onto the map, best works with MWE, and then write a small script. The command that creates a gun from a model is called createweaponfromframe.
What I always did is check out some scripts from other missions and copy paste them into your mission. This command is used in a lot of missions that let you pick up some guns, so you will surely find some examples.
The tools I always used to create mods were DCED (very unstable, always make backup before open and save) and MWE. |
|
Back to top |
|
 |
|
|