-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by carlwicker
-
-
So when you droop a bacon you get a FOB?
No, not a functioning FOB, just a outpost building that acts as the beacon.
-
For now i don't find any solution. For me it's "normal" to have mortar but maybe we can change something for personnalise this ? is it true ?
OK, I've got a fix but its a total hack.
I've changed the beacon to be outpost rather than the mortar. That way the outpost renders for everyone to see.
The only problem with this is that if you drop a radio beacon from the chopper it will spawn an outpost, but I'm prepared to live with that until there is a fix.
function ctld.spawnRadioBeaconUnit(_point, _country, _type) local _groupId = ctld.getNextGroupId() local _unitId = ctld.getNextUnitId() local _radioGroup = { ["visible"] = false, -- ["groupId"] = _groupId, ["hidden"] = false, ["units"] = { [1] = { ["y"] = _point.z, ["type"] = "outpost", ["name"] = _type .. " Radio Beacon Unit #" .. _unitId, -- ["unitId"] = _unitId, ["heading"] = 0, ["playerCanDrive"] = false, ["skill"] = "Excellent", ["x"] = _point.x, } }, -- ["y"] = _positions[1].z, -- ["x"] = _positions[1].x, ["name"] = _type .. " Radio Beacon Group #" .. _groupId, ["task"] = {}, --added two fields below for MIST ["category"] = Group.Category.GROUND, ["country"] = _country } -- return coalition.addGroup(_country, Group.Category.GROUND, _radioGroup) return Group.getByName(mist.dynAdd(_radioGroup).name) end
-
For now i don't find any solution. For me it's "normal" to have mortar but maybe we can change something for personnalise this ? is it true ?
So, from looking at the code the mortar that spawns seems to be the used as the radio beacon.
Sadly im no closer to fixing the outpost and watchtower.
-
Hi,
After research and several attempts of understanding I find myself in front of a problem, I wish to make a spawn a FOB using the system of creation of object ect ect ect ...
My problem is the following: How to modify the object that appears once the different containers unpack?
Because for me once unpack I get a beautiful mortar .. not great to say that it is a FOB
:helpsmilie: :book:
I'm having this problem too, did you manage to resolve the problem?.
If I exit the MP server and rejoin I can see the FOB and watchtower.
Active Slot Balancing - Proof of concept with video and mission
in Mission Editor
Posted
Awesome, I've been looking for a solution very close to this. Thanks for sharing your code.