Jump to content

rebitaay

Member
  • Content Count

    44
  • Joined

  • Last visited

  • Medals

Community Reputation

13 Good

About rebitaay

  • Rank
    Lance Corporal

Recent Profile Visitors

327 profile views
  1. rebitaay

    co10 Escape

    @NeoArmageddon I ported the mission to Malden (2035) using the port guide, and I'm fairly sure I did everything correctly. The mission appears to play just fine, but there are quite a few script errors that pop up randomly. I don't know what any of them mean without reading the scripts, but they're all in scripts that I haven't modified. This is of course on the Dev branch, on Malden. The only ones that I know aren't random are a few at the very beginning of the mission (in the prison), and when CAS is called. The CAS also seems to just be a ton of HE rounds coming out of nowhere, not sure if that is how it should be. Not sure exactly what I need to send you, but here is the unpacked mission + RPT: http://www.mediafire.com/file/lbd28s27um5up02/Escape_Malden_Files.7z Hope this helps you out, please let me know if you find a fix. I'd like to play error-free :)
  2. I went with his trick since my mission is meant for a listen server, but what are the main differences between Dedicated and Listen for the scripting end of things?
  3. @Mokka Forgot to report back, whoops! Just wanted you to know that you're a beautiful bastard. The info you gave me made everything magically work.
  4. You're a legend, mate.
  5. Haha! I'm going to set that up eventually.
  6. @Mokka Great info, I'll give some of these a try and report back once I've tested it with a buddy. Thanks!
  7. Hi all, Currently working on my second mission, and the multiplayer aspects of things are giving me a headache. I've crushed many bugs, but one that I can't seem to figure out is that many of my triggers are firing twice for one activation. This only happens in multiplayer with another player connected. For example: I have a trigger that detects when there are no OPFOR left, then spawns more. Occasionally, this ends up spawning 2x enemies or even 3x, rarely. Another example is I have a script that detects when there is no plane in a hangar and spawns a new plane, and it occasionally spawns two at once and everything goes to shit. I can upload the mission file if necessary. Any help would be greatly appreciated.
  8. Sounds like that's what I want, thanks!
  9. Hi all, I've been hard at work on my second mission. The core features are completed, and I'm moving on to the multiplayer aspects of it. As there isn't always someone available to help me out, is there a way that I can join my own server twice? Preferably without having to buy the game twice. Thanks in advanced!
  10. When you "export" a mission from the editor, I believe it only exports the mission file and none of the scripts. At least that's how it used to be, they may have changed it. Edit: Nevermind, they fixed that. All of the scripts are in your pbo. Sorry, no idea.
  11. Thank you both, I got it working now. This is what I came up with based on you two's advice: _plane = createVehicle [_getPlane, _spawnCoords, [], 0, "FLY"]; _plane addEventHandler [ "killed", { [] spawn { _timer = floor random [15,60,120]; sleep _timer; execVM "Scripts\SpawnHostiles.sqf"; }; } ]; Thanks anyways :P
  12. Hi all, need some help here, I'm stumped. I've got a (weighted) random number being used as a sort of cooldown in a mission I'm making. For some reason, it returns "any" in the specific script, but the same code works fine in the debug console. _timer = floor random [15,60,120]; // Cooldown timer _plane = createVehicle [_getPlane, _spawnCoords, [], 0, "FLY"]; // Create enemy plane _plane addEventHandler ["killed", {sleep _timer; execVM "Scripts\SpawnHostiles.sqf"}]; // When that plane is killed, start the cooldown and then spawn another When the enemy plane is destroyed, another one instantly spawns. I discovered that _timer is returning "any", but I'm not sure why. Any help is greatly appreciated!
  13. Thank you, that works great!
  14. The other parts of the script aren't complete yet, but the idea is to select a random fixed-wing aircraft using "_plane" and use that randomly chosen string as the classname in createVehicle. The if statements are going to be for an alert, saying "An enemy ____ has been detected", with the blank space being the name that was set. Not sure how confusing that sounds, let me know if I should clarify more. I'd paste the code, but it's not actually written yet.
  15. Still a bit new to scripting, working on my second mission. Just wanted to know if there is a cleaner way to code this: private _plane; _plane = selectRandom ["O_Plane_Fighter_02_F","O_Plane_CAS_02_F","I_Plane_Fighter_03_F","I_Plane_Fighter_04_F","B_Plane_CAS_01_F","B_Plane_Fighter_01_F"]; if (_plane == "O_Plane_Fighter_02_F") then {_plane = "To-201 Shikra"}; if (_plane == "O_Plane_CAS_02_F") then {_plane = "To-199 Neophron"}; if (_plane == "I_Plane_Fighter_03_F") then {_plane = "A-143 Buzzard"}; if (_plane == "I_Plane_Fighter_04_F") then {_plane = "A-149 Gryphon"}; if (_plane == "B_Plane_CAS_01_F") then {_plane = "A-164 Wipeout"}; if (_plane == "B_Plane_Fighter_01_F") then {_plane = "F/A-181 Black Wasp II"}; I just want to use less lines, but any other optimizations will be appreciated.
×