OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Trexian on 17 Mar 2009, 01:13:01
-
Ok, I'm not sure where to post this, so I'm going to start here. :cool2:
I'm working on a mission that will be heavily scripted (see Operation Random Fury thread in the SP betatesting forum). A friend of mine worked up a little particle generator thing that will add to the ambiance in certain situations. It consists of a subfolder with the config and p3d and then additional subfolders for the data (skin/animation), and scripts. When I drop the subfolder into the mission folder, it can't find anything.
BUT, if he pbo's it, and I put it in my addons folder, everything works a charm.
Is there any way to include the custom "things" in a mission, but not require an additional addon? I mean, it isn't very big, so it would be nothing to include it and have people "install" it. But, I'd prefer not to.
Any ideas? :)
-
Sorry, has been asked 1000 times before; No, it is impossible to the best of my knowledge.
You can happily make billboard particles in a mission (from .paa), but since you have to provide an absolute path to .p3d files you can't use SpaceObject particles, sadly (if you give a relative path to a p3d, it assumes you want to find the p3d in a particular addon folder that isn't in your mission).
-
Hmmm... any way to maybe use the uninstall.log to parse a path to ArmA and use a format to spoof an absolute path?
Just thinking out loud.... In my short time in this community, I've seen some pretty amazing stuff! :D
-
no, check the biki on how the engine loads everything inside addonfolders and makes one big file out of it, so no chance of on-the-fly additions to those things.
But if your friend did some nice FX, im sure he can do them with createVehicle "#particlesource" or the drop command qually well during runtime.
-
You can happily make billboard particles in a mission (from .paa), but since you have to provide an absolute path to .p3d files you can't use SpaceObject particles, sadly (if you give a relative path to a p3d, it assumes you want to find the p3d in a particular addon folder that isn't in your mission).
Sorry, I got confused; you make billboards from p3ds and spaceObjects from objects. Thus, it is impossible to add any particles inside the mission.