OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: StonedSoldier on 22 Mar 2005, 13:21:58
-
check out this script (http://www.ofpec.com/editors/resource_view.php?id=782) thats in the pending list and give me your feedback
-
I downloaded it and read it. Everything makes sense and it is easy to understand everything. Didn't have the oportunity to test it. At first glance it looks like a timesaver for lazy people (like me), but isn't it easier to just create a weaponholder and place the weapons directly via the initline of the table/GL? That's what I always do.
-
Not tried (This PC doesn't have OFP, getting my PC fixed this week).., but anything that makes anything easier is good! :)
- Ben
-
i tend to make scripts that make mission makers lives easier, the other day, i couldnt be bothered to build a wall so i wrote a script to do it instead
-
a wee idea for the pending 'guns on tables script' - you have the weaponholder idea for weapons laid flat... how about incorporating the "secondaryweaponholder" feature for upright weapons, like on a gun-rack?
-
it actually already uses weaponholder and secondaryweaponholder depending on wether the gun is primary or secondary, but i suppose if the mission maker wanted upright weapons just switch around the holders
upright
primaryweapons - secondaryweaponholder
secondaryweapon - weaponholders
laid flat
primaryweapons - weaponholder
secondaryweapon - secondaryweaponholder
-
Just about it test this out, but hasn't it been done before? :P
Click here!! (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=2&category=2&subcategory=2_&numreturn=25&displayformat=0&ofpv=1&searchstring=Weapon+VehicleCreate&searchwhat=2&searchlevel=1&searchopts=)
Or is that different? ;)
-
Change your link to..
[ url=http://Address Here]Click here!![/url]
remove the space between [ and url
.. The long link screws the layout
- Ben
-
OK, done ;)
Sorry ;D
So, is that the same script or not? :P
-
to be honest id never even known about that script before, although looking at it now there does seem to massive differences, namely in the amout the mission maker has to do, with this all you need to do is pass one array to the script and it automatically detects wether the gun is primary or secondary and creates the appropriate weaponholder
-
but i suppose if the mission maker wanted upright weapons just switch around the holders
Is there any way you can either make a new script or upload a modified version that will allow weapons to be displayed in the vertical position, instead of horizontal? I have several uses for vertical weapons, but have not yet been able to find any method of doing this. If you could figure it out and get it to work, it would be a real lifesaver.
About the existing script, it works well for its purpose. I had used the previous script before, but I do agree that your script is a little better. It has many uses in missions and I hope to see it used in the future. Great job.
-
just for you i modified the script so you can decide wether you want horizontal or vertical weapons. although you ave to run the new script with a different array.
true - vertical
false - horizontal
[this,"m16","m16",0.955,true] exec "table.sqs"
-
ok, just for the benefit of the guys that asked for it, ive updated the script so guns can either be placed horizontally or vertically