Jump to content

ante185

Member
  • Content Count

    113
  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About ante185

  • Rank
    Sergeant

Recent Profile Visitors

1174 profile views
  1. ante185

    3CB Factions

    Not sure if you want these elsewhere but the soviet Li-2 bomber (Presumably so does other armed Li-2 variants?) lacks the FakeWeapon and FakeMagazine it need to work correctly with scripts
  2. ante185

    3CB Factions

    Saw that there is what appears to be a whole set of digital brown camo for the AAF infantry in the mod already, would reskinning their vehicles to create an AAF (Desert) faction be on the table?
  3. 23rd of may, 2016 that's not THAT long ago now is it? I'm trying to do the exact same thing but with grenade launchers and RHS class CfgPatches { class ante_762x51_m16 { units[] = {}; weapons[] = {"ante_weap_m15","ante_weap_m15_m203"}; ammo[]={}; requiredVersion = 1.52.132676; requiredAddons[] = {"rhsusf_c_weapons", "rhsusf_c_heavyweapons", "A3_Anims_F", "A3_Weapons_F_Acc", "A3_Functions_F_Bootcamp", "A3_Weapons_F", "A3_Weapons_F_Explosives", "A3_Weapons_F_Ammoboxes", "A3_Weapons_F_beta", "A3_Weapons_F_EBR", "A3_Weapons_F_Machineguns_M200"}; version = 1.0.1; versionStr = "1.0.1"; versionAr[] = {1,0,1}; author[] = {"Ante"}; authorUrl = ""; }; }; class CfgMagazines{ class 30Rnd_556x45_Stanag; //relevant to a omitted thing class 1Rnd_Smoke_Grenade_shell; class ante_1Rnd_InstantSmoke_shell: 1Rnd_Smoke_Grenade_shell { author="Ante"; displayName="1Rnd 40mm instant smoke (White)"; picture="\A3\Weapons_f\Data\UI\gear_UGL_Smokeshell_white_CA.paa"; ammo="rhs_g_gdm40"; descriptionShort="Type: Fast Action Smoke Round <br/> Used in M203/M320"; displayNameShort="Fast smoke"; }; }; class CfgWeapons { //don't delete these now class EGLM{ magazines[] += {"ante_1Rnd_InstantSmoke_shell"}; }; class GL_3GL_F{ magazines[] += {"ante_1Rnd_InstantSmoke_shell"}; }; class M203_GL{ magazines[] += {"ante_1Rnd_InstantSmoke_shell"}; }; class M320_GL{ magazines[] += {"ante_1Rnd_InstantSmoke_shell"}; }; //seriously you'll come back to this later };
  4. Okay due to some things i forgot to check yesterday i've now made some final changes. NOTE: it's made based of RHS, it will replace the weapons that FIA are using, advise to not use it in a manner that affects the player. *Moved the shuffle statement of all the arrays to be before the arrays are doubled *it now grabs the items the unit is carrying before they're wiped and re-adds them at the end of the script *it now adds ammo for the GP25's and M203's *if the weapon to be given is in the LMG list the unit will now get a kitbag for the ammo *if the unit gets a RPG-7 with or without a PGO it will receive a RPG pack https://pastebin.com/MikjXBqc
  5. Thank you for the help! here's the functional script if anyone stumbles upon this thread EDIT: updated the script a bit more. https://pastebin.com/m8nnAiZn
  6. Meant to say that i need it to effect all units or units within a trigger, for example, as long as it effects all units including spawned in units
  7. Thank you! It throws an error at line 122 in the paste bin, it expects namespace,object,group,display but it gets an array? but according to all the info i can find it looks correct? The question how to execute it still stands too (which is a bit awkward; i dunno how to do it)
  8. Okay due to some things i forgot to check yesterday i've now made some final changes. NOTE: it's made based of RHS, it will replace the weapons that FIA are using, advise to not use it in a manner that affects the player. *Moved the shuffle statement of all the arrays to be before the arrays are doubled *it now grabs the items the unit is carrying before they're wiped and re-adds them at the end of the script *it now adds ammo for the GP25's and M203's *if the weapon to be given is in the LMG list the unit will now get a kitbag for the ammo *if the unit gets a RPG-7 with or without a PGO it will receive a RPG pack https://pastebin.com/MikjXBqc So i am trying to make a script that will replace the weapons of the opfia that spawns in a mission, it identifies them by what weapon they have and checks if they have the rpg32 and replaces it as well. The problem i am having is that i can't seem to make it run, the script itself should work even if it's not a class A example of a code, so if anyone would be so kind to take a look over it and tell me how to trigger it that'd be swell!
  9. You should use the [php] tag instead of the spoiler tag[/php]
  10. Neat, i just wish i had some one to use it with :P Um, may i just ask, what mod did you have there? that's a rather nice mauser
  11. ante185

    Armor value differences

    Just let me be a bit pedantic but 5*0.8 = 4, but that example can't be explained why it is set up lie that, but there is certain combinations that can yield numbers that can be expressed with integers, like if you want to reduce something with a third you could just input 1/3, which you can do for all numbers like that, and with numbers that contain a good amount of decimals it allows you, when you look at it, to round iit of where you feel is necessary: in functions and equations you really don't want to be rounding, so if you got function that turns X into 5/3's X you'd just input 5/3 in it instead of calculating it to what you think is the necessary digit count.
  12. Holy hell! after i removed those semicolons and that rouge comma it fucking worked! Thank you Tay and Zigo! ---------- Post added at 19:20 ---------- Previous post was at 18:49 ---------- Just one thing, if i want to have it like in Ryd's pilgrimage mission where his script spawns in weapons that mods add too, how'd i do that?
  13. the one named "weapons"? yes, nothing happens, i can see that there's several hints in there but none of them shows up, either it's the script or the way i am starting the script (null = execVM "weapons_in_houses.sqf";)
×