Jump to content

thereaper

Member
  • Content Count

    22
  • Joined

  • Last visited

  • Medals

Everything posted by thereaper

  1. Added tag = "Reaper"; to the class and used call Reaper_fnc_hit and now it works. So dumb.
  2. Hi, I'm trying to get a function working where the target will take damage at a reduced rate, and will go down at a certain damage threshold. I got in the init: this addEventHandler["handleDamage",{_this call fn_hit;}]; This didn't work at all, I placed everything of the function in comment and just made it call bis_fnc_endmission, and that didn't work either. I made a non-function version of the function as well, I got that working using: this addEventHandler["handleDamage",{_this execVM "Damage.sqf";}]; In the execVM script, instead of returning the damage, I am using setdamage to injure the target. The target however sometimes regains health because of how the eventhandler works (going through all the body parts individually). How can I make the call function work? And is there a better eventhandler for this or should the function where damage is returned instead of using setdamage fix this as well?
  3. It returns [any] but I got functions.h class Reaper { class functions { file = "Functions"; class Hit {}; }; }; and description.ext class CfgFunctions { #include "Functions.h" }; I get no error at start and if I change the class Hit {} to class Hits {} it says: Script Functions\fn_Hits.sqf not found. I don't get that error with Hit, so it does find the script.
  4. Sorry I didn't include the fn_hit code. Here it is, it is based on Altis Life's life_fnc_handledamage. In altis life its also added using the handledamage EVH and call life_fnc_handledamage. So I wonder why it didn't work for me. _unit = _this select 0; _part = _this select 1; _damage = _this select 2; _source = _this select 3; _projectile = _this select 4; if(!isNull _source) then { if(_source != _unit) then { if (damage _unit != 0) then { [[(_this select 0), "AcinPercMstpSrasWrflDnon_agony"], "switchMove",true,false] call BIS_fnc_MP; } else { _damage = damage _unit; _randomizedDamage = random 0.5; _damage = _damage + _randomizedDamage; }; }; }; _damage But as I mentioned in the OP, I also tried setting everything in comments and just made this function call endmission, that didn't work either. And using -showscripterrors, I get nothing. Not a single error :\
  5. thereaper

    NLMARSOF V2.185

    Hey looks great! I want to use the chinook on Takistan (a3mp) and I made a more tancolored texture but setobjecttexture commands don't work, just on some attachments on the side. Any way to fix this?
  6. Hey, I've used BTC Revive a lot of times, but I just can't get it to work on my ALIVE mission. Anything special needs to be done to get it working (not using multispawn, but I am using profile system, which I know interferes with vehicle respawn scripts if used incorrectly.)
  7. Hey, just tested it. I did get the lines of movement and such and combat reports. But no icons of those on the map and ofc any news on the web interface?
  8. Ah thanks, I'll just use an addaction.
  9. Hi, Found a few posts about this, but all were unanswered. I got radio alpha set to onact _handle = createdialog 'Reaper_teleport_dialog'; However, this works perfectly in singleplayer, so I added it to my clans training mission so we can easily get to firing ranges etc. But when 1 person calls radio alpha. Everyone will get the dialog. How can I use createdialog in a way that it doesn't create the dialog for every player? Thanks in advance.
  10. thereaper

    Scorch's Inventory Items

    Copied the @sc_items map to the serverroot and copied the keys from @sc_items/keys/ into serverroot/keys/. And enabled it in the startup parameters. Just like I did with every mod. In serverconfig I disabled the keys/mods check, since the server is passed and only for my clanmembers, and it works. But I prefer to have the server just checking for keys/mods.
  11. thereaper

    =BTC= Revive

    Got it working, I didn't set the loop check to 1 :)
  12. thereaper

    =BTC= Revive

    Hey, I'm trying to get the gear-saving to work on my mission, but when I respawn I get the same gear I spawned with instead of the gear I died with.
  13. thereaper

    Scorch's Inventory Items

    Hey, I placed this on my server. The @sc_items folder as well as copied the keys folder from /@sc_items/keys/ into /keys/. Added the @sc_items to -mod= parameter. Yet, when I try to join my server I get kicked off and get message Files "(...)@sc_items\addons\scorch_invitems.pbo" are not signed by a key accepted by this server. To play on this server, remove listed files or install additional accepted keys.
  14. thereaper

    =BTC= Logistic Script

    Sent a PM, thank you. :)
  15. thereaper

    =BTC= Logistic Script

    I take that as u didn't understand any of it? :P I want to use this on Insurgency When I did all the readme stuff and opened the mission in the editor I got an error about RscPictures. This was mentioned in the comments above and I removed it from description.ext After that I got an error about RscTitles. This was mentioned in the comments above as well and copied the content of class RscTitles to common/resources/titles.hpp (it conflicted with that) and removed it from =BTC=_Hud.h After that I got no more errors so I assumed it worked. My mission has no pilots so I set btc_lift_pilot = [] as described in the hints& tips, so every class can use the lifting script. I got in a CH-47, which is in the init to lift, but I tried hovering above everything in my base and I didn't get the option to lift.
  16. Hey, I'm trying to get this to work with my insurgency mission, but when I try to use it it says that RscTitles are already defined, so I moved the content of that to common/resources/titles.hpp, it fixes the RscTitles problem, but after that an error pops up saying that IceBaseBOXHUD isn't defined. I move the #include "common/resources/titles.hpp" above HUD.hpp, but that didn't work.
  17. thereaper

    =BTC= Logistic Script

    Hey, trying to get this working on my insurgency mission, but at first I got the RscPicture error, so I deleted that. Then RscTitles was already defined in common/resources/titles.hpp, so I copy pasted the rsctitles content into that. Edited btc_lift_pilot to = [] so everyone can use it, tested it with a CH47 and it doesn't work. I don't get the option, it should pop up at the auto-hover, engine off and eject, right?
  18. k, I made my own base now, but the vehicles don't respawn and when you die you can't select where you spawn, you just instantly respawn at the base. Oh and when my last stryker blows up the default insurgency base spawns.
  19. Got it working now, but the spawn area is at bottom left, but when I play it I spawn southeast of Rasman, nowhere near the HQ in the mission editor.
  20. ooh okay. How do I get the mission into the editor btw, I tried several tuts alrdy about importing missions to editor (unPBO it and move it to /missions/ and /mpmissions/) but it doesn't show up. I really love insurgency, but the default base is annoying me so much haha.
  21. Hey, I've played insurgency on 15th MEU on Takistan. There was a massive base there, I downloaded this one to put on my own server and the base.. .. it's kinda crappy. 1 helicopter and some humvees. Whats up with that?
×