Sakai 1 Posted January 27, 2013 As the topic say, I kinda want to ask, is it possible to make a AT Gun out from D30, disabling it artillery system, changing its ammunition to AP and HE but minimizing the damage/blast radios of the HE? Thank you :) Share this post Link to post Share on other sites
[aps]gnat 28 Posted January 27, 2013 Sure, write a patch config that simply inherits the class "D30_base" or maybe "D30_RU", redefine the magazines[] = and weapons[] = and I suspect artilleryScanner = 0; will switch off the artillery bit. Share this post Link to post Share on other sites
Sakai 1 Posted January 27, 2013 Okay that sounds easy but how do you make a new round for it making it AP and giving it some damage so it can penetrate them T-90 slightly? Share this post Link to post Share on other sites
slatts 1978 Posted January 27, 2013 Very much possible :) Gimme a little while and I'll upload the code. Share this post Link to post Share on other sites
Sakai 1 Posted January 27, 2013 Very much possible :) Gimme a little while and I'll upload the code. Awesome! <3 slattsy Its sad that no one made model's for AT Guns or a AT Gun, I pretty much need it a lot for FAC xD Share this post Link to post Share on other sites
slatts 1978 Posted January 27, 2013 Hm well I've gone wrong somewhere... BUT it is possible, what you need to do is make a new magazine with the properties needed (I just used a T-90 round as ammo) then make a new D-30/AT gun that uses that magazine..I jut messed up and it won't appear in game :p Share this post Link to post Share on other sites
Sakai 1 Posted January 27, 2013 Hm well I've gone wrong somewhere...BUT it is possible, what you need to do is make a new magazine with the properties needed (I just used a T-90 round as ammo) then make a new D-30/AT gun that uses that magazine..I jut messed up and it won't appear in game :p Do you perhaps mind placing the code? I kinda want to see how it looks :) Maybe someone will be able to help out! Share this post Link to post Share on other sites
[aps]gnat 28 Posted January 27, 2013 If you just used D30_base you have a few more things to add, like scope = 2; side = 0; faction = "INS"; crew = "Ins_Soldier_1"; typicalCargo[] = {"Ins_Soldier_1"}; Share this post Link to post Share on other sites
Sakai 1 Posted January 27, 2013 I guess I will try to do it but if anyone perhaps has a code like slatts was talking about please share it :) would appreciate it a lot! Share this post Link to post Share on other sites
[aps]gnat 28 Posted January 28, 2013 Tested. Works Change the addon naming to your tags #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 // type scope #define private 0 #define protected 1 #define public 2 class CfgPatches { class YOURATD30 { units[] = {YOURATD30}; requiredVersion = 1.00; requiredAddons[] = {}; }; }; class CfgVehicles { class StaticCannon; class D30_base : StaticCannon { class Turrets {class MainTurret;}; }; class YourATD30 : D30_base { scope = 2; side = 0; crew = "RU_Soldier"; faction = "RU"; typicalCargo[] = {"RU_Soldier"}; artilleryScanner = 0; displayName = "D-30 AT"; class Turrets: Turrets { class MainTurret : MainTurret { weapons[] = {"D81"}; magazines[] = {"23Rnd_125mmSABOT_T72","22Rnd_125mmHE_T72"}; }; }; }; }; Share this post Link to post Share on other sites
spooky lynx 73 Posted January 28, 2013 As the topic say, I kinda want to ask, is it possible to make a AT Gun out from D30, disabling it artillery system, changing its ammunition to AP and HE but minimizing the damage/blast radios of the HE?Thank you :) D-30 has BK-6M and BK-13 HEAT rounds in its inventory so the main thing is to configure new magazine for the vanilla gun. It's even not necessary to disable arty computer. According to Wikipedia article BK-6M penetrates up to 580 mm RHA, so I'd say this and low profile of gun make D-30 rather powerful anti-tank weapon. Share this post Link to post Share on other sites
Sakai 1 Posted January 28, 2013 Got it working fine :) forgot to write in the topic so people don't need to work on it just in case, thanks to slatts and w0lle for the help! Share this post Link to post Share on other sites
[aps]gnat 28 Posted January 28, 2013 .. slatts and w0lle ... ummm ... Im not wolle ;) D-30 has BK-6M and BK-13 HEAT rounds in its inventory so the main thing is to configure new magazine for the vanilla gun. It's even not necessary to disable arty computer. According to Wikipedia article BK-6M penetrates up to 580 mm RHA, so I'd say this and low profile of gun make D-30 rather powerful anti-tank weapon. Yeh, but the AI cant shoot shyt. They do nicely against armour with my config Share this post Link to post Share on other sites
Sakai 1 Posted January 28, 2013 Gnat;2286277']ummm ... Im not wolle ;)Yeh' date=' but the AI cant shoot shyt. They do nicely against armour with my config[/quote'] I used Slatts config which he send me but it didnt work, I asked w0lle for help :) But ofc thank you for trying to help me out, you deserve a cookie as well :D Share this post Link to post Share on other sites
slatts 1978 Posted January 28, 2013 I kinda told you it didn't :p Share this post Link to post Share on other sites