Jump to content

Ibragim A

Member
  • Content Count

    192
  • Joined

  • Last visited

  • Medals

Everything posted by Ibragim A

  1. Ibragim A

    Cannot upload mission to workshop

    I've come across this before. The problem was slow internet (upload speed).
  2. After calculating the path using the calculcatePath command and event handler, an array with positions is returned. What could be the most efficient and correct way to move a unit through them, but other than adding waypoints to each of these positions? Thanks!
  3. In the Rsc menus configuration, there is a "command" parameter that determines what happens if the player selects that option from the menu. command="CMD_POS_UP"; Is it possible to call the same command with a script? For example, by selecting Engage in the menu, the player's unit orders to attack, a message appears and a voice recording is played. Is it possible to run the same command from a script to make the same thing happen, or do all of the above need to be written from A to Z using scripting commands?
  4. Combat Mode "Go Go Go!" on Steam Description: Have you ever had cases when you need to abruptly stop positional fire and rush to the helicopter or behind the terrain, but your units continue to fire, run across in short runs and try to shoot back? Now all this is in the past, because the commander is taught to shout: "Go Go Go!". Forget all targets Hold fire Running acceleration You can set the ratio of running acceleration in the settings
  5. Ibragim A

    Combat Mode "Go Go Go!"

    Vanilla voices "Go Go Go!" are added.
  6. Hi. Does anyone have an idea how a launcher can be added to a unit along with a charge if there is not enough space for the charge in the unit's inventory? The addweapon command can only add a weapon class without a magazine, but the magazine itself must be added to the inventory before the weapon. As for the launchers, this poses a problem, because their charges are added to the backpack, and not all units have a backpack. Can any of you suggest the best way to solve this problem?
  7. So far, the most effective solution I've found is to add an invisible backpack for units that don't have backpacks. For those who have it, you need to remove all the magazines from the backpack, and then add them back after adding new weapon with its magazine.
  8. Ibragim A

    Combat Mode "Go Go Go!"

    Thanks everyone for the feedback!
  9. Ibragim A

    Trip Wire Grenade

    The stretch now has its own model with a grenade used by the sapper.
  10. Trip Wire Grenade on Steam Description: Sometimes on the battlefield, you may need to make a trip wire trap from a simple grenade. The sapper player is now able to do this. This mod works with all types of explosive grenades. The animation of creating and installing the stretch is involved. After deactivation, the tripwire mine becomes the grenade that was used. The tripwire mine does not fall under the floor. It always works, even in cases where the vanilla tripwire mine does not work due to collisions with textures.
  11. Good morning. Please teach me how to correctly get an array with all classes from configurations. I need to get an array with all the classes of ammunition boxes that I can see in the editor in Props> Supplies> Ammo. Like: ["VirtualReammoBox_camonet_F","VirtualReammoBox_F", ...]
  12. Thanks, it works like expected. Just one bracket is missing. _yourArray = (("getNumber (_x/'scope') == 2 && configName _x isKindOf 'ReammoBox_F' " configClasses (configFile /"cfgVehicles")) apply {configName _x});
  13. Hi, I tried to find the answer myself but no results so far. Is there any way to modify and edit the original command menus such as "RscMainMenu" and others similar to it? Can I add my own shooting mode or a new movement speed mode to them?
  14. So I figured it out by myself. class RscMenuCombatMode { class Items { class Stealth { }; class Combat { }; class Aware { }; class Safe { }; class NewOption { command = -5; enable = "NotEmpty"; shortcuts[] = {6}; shortcutsAction = "CommandingMenu5"; priority = 0; show = "IsLeader"; title = "NewOption_title"; class Params { expression = "systemchat 'It works'"; }; }; }; }; This code makes changes in "RscMenuCombatMode" like this:
  15. Ok. I got the option to work, but still can't figure out how to move it to the fifth position. class RscMenuCombatMode { class Items { class NewOption { command = -5; enable = "NotEmpty"; shortcuts[] = {6}; shortcutsAction = "CommandingMenu5"; show = "IsLeader"; title = "NewOption_title"; class Params { expression = "systemchat 'It works'"; }; }; }; };
  16. class RscMenuCombatMode { class Items { class NewOption { command = -5; enable = "NotEmpty"; shortcuts[] = {6}; shortcutsAction = "CommandingMenu5"; show = "IsLeader"; title = "NewOption_title"; }; }; }; I putted this code to the config.cpp and got the following output: I would like you to teach me two things: How do I move my option to fifth place? How to define my own code in the configuration that the user will call through this option? (See my idea below) class NewOption { command = -5; enable = "NotEmpty"; shortcuts[] = {6}; shortcutsAction = "CommandingMenu5"; show = "IsLeader"; title = "NewOption_title"; script = "[] spawn somescript.sqf"; /// <-- I mean something like this. }; Hope you understand my, Thanks.
  17. Ibragim A

    Trip Wire Grenade

    You are right, especially when it comes to guerrilla units. This option doesn't hurt at all and is included now.
  18. Ibragim A

    Trip Wire Grenade

    Now the user can open add-on settings and customize what types of grenades he can use in this mod.
  19. Ibragim A

    Time Slowing Menu

    To me, this addon reminds more of the gameplay from Days Gone. User now can set his own slowdown ratio in Addon Settings
  20. Time Slowing Menu on Steam Description: Have you had situations when active actions suddenly begin on the battlefield, and you are trying to remember which menu you had to open in order to lie down or form a line, and while you are looking for the necessary order, the enemy destroys half of your group? Now you don't have to worry, because your command menu slows down all actions and makes it possible to find the order you need without wasting time.
  21. I can't understand if this device can be activated by a script? The usual setDamage 1 command, which detonate mines and explosive devices, as expected, does not work with it.
  22. Thank you very much, I solved my problem using this tip.
  23. Where can I see a tutorial on how to do this?
  24. This is the first time I work with intervention in configs through discription, so I don't yet understand how to display the path to a specific menu in a description.ext. The code I tried to do doesn't change anything in the menu. Please explain to me how to add a new option to the menu in the discription file correctly. /// Not working class RscMenuCombatMode { class Items { class NewOption { command = -5; enable = "NotEmpty"; shortcuts[] = {2}; shortcutsAction = "CommandingMenu1"; show = "IsLeader"; title = "NewOption"; }; }; };
  25. Thanks for the hint, I'll try to do it.
×