Hi!
As some people may know the DZMS uses M2 turrets in the large missions.
I would like to add these to traders, then use a logistics script so they may be transported.
However after adding it to the traders like this in the HeroWeapons.hpp:
The RPT shows this:
After I buy it, and obviously nothing spawns.
I have tried M2HD_mini_TriPod too, only to get the same error.
Any ideas on why this is happening? It is confusing to me that it can be spawned in missions but not when brought through a trader. I also couldn't find anything about spawning this in while looking through DZMS files.
Or any better methods?
This was merely an experiment and I have truly no idea if it will actually work. Thought it would be cool to use these as base defense, seeing as I have been shot out of my helicopter several times by AI.
If not then I guess the only other option will be to lift a RHIB onto your base or an M2 HWMMV.
As some people may know the DZMS uses M2 turrets in the large missions.
I would like to add these to traders, then use a logistics script so they may be transported.
However after adding it to the traders like this in the HeroWeapons.hpp:
Code:
class M2StaticMG_base {
type = "trade_any_vehicle";
buy[] = {1,"ItemBriefcase100oz"};
sell[] = {1,"ItemGoldBar10oz"};
};
The RPT shows this:
Code:
15:47:09 "EPOCH SERVERTRADE: Player: [AW] Joe (76561198136905503) bought a M2StaticMG_base in/at Hero Trader for 1x ItemBriefcase100oz"
15:47:14 "PUBLISH: Attempt 3ae8dd00# 1069408: arrow_down_large_ep1.p3d REMOTE"
15:47:14 "HIVE: WRITE: "CHILD:308:11:M2StaticMG_base:0:2980:[267,[12915.7,12760.7,0.00296021]]:[]:[]:1:1291571276070355:""
15:47:22 "HIVE: WRITE: "CHILD:388:1291571276070355:""
15:47:22 "CUSTOM: Selected "6669""
15:47:22 Cannot create entity with abstract type M2StaticMG_base (scope = private?)
15:47:22 Cannot create non-ai vehicle M2StaticMG_base,
15:47:22 "PUBLISH: B 1-1-B:1 ([AW] Joe) REMOTE Bought M2StaticMG_base with ID "1291571276070355""
After I buy it, and obviously nothing spawns.
I have tried M2HD_mini_TriPod too, only to get the same error.
Any ideas on why this is happening? It is confusing to me that it can be spawned in missions but not when brought through a trader. I also couldn't find anything about spawning this in while looking through DZMS files.
Or any better methods?
This was merely an experiment and I have truly no idea if it will actually work. Thought it would be cool to use these as base defense, seeing as I have been shot out of my helicopter several times by AI.
If not then I guess the only other option will be to lift a RHIB onto your base or an M2 HWMMV.