From c5a42d1187bc021f0ad16302b941f7b2343ac529 Mon Sep 17 00:00:00 2001 From: jodav Date: Mon, 12 Jan 2015 10:07:03 +0100 Subject: [PATCH] preCBA --- .../UI/Icon_Module_FriendlyFire_ca.paa | Bin 0 -> 5625 bytes .../respawn/UI/Icon_Module_Rallypoint_ca.paa | Bin 0 -> 5625 bytes addons/respawn/UI/Icon_Module_Respawn_ca.paa | Bin 0 -> 5625 bytes addons/respawn/config.cpp | 281 ++++++++++++++++++ .../functions/fn_canMoveRallypoint.sqf | 14 + addons/respawn/functions/fn_getAllGear.sqf | 40 +++ addons/respawn/functions/fn_handleKilled.sqf | 31 ++ addons/respawn/functions/fn_handleRespawn.sqf | 25 ++ .../respawn/functions/fn_initRallypoint.sqf | 17 ++ addons/respawn/functions/fn_module.sqf | 43 +++ .../functions/fn_moduleFriendlyFire.sqf | 28 ++ .../respawn/functions/fn_moduleRallypoint.sqf | 25 ++ .../respawn/functions/fn_moveRallypoint.sqf | 35 +++ addons/respawn/functions/fn_removeBody.sqf | 30 ++ .../functions/fn_removeDisconnectedPlayer.sqf | 15 + addons/respawn/functions/fn_restoreGear.sqf | 145 +++++++++ .../functions/fn_showFriendlyFireMessage.sqf | 12 + .../functions/fn_teleportToRallypoint.sqf | 27 ++ 18 files changed, 768 insertions(+) create mode 100644 addons/respawn/UI/Icon_Module_FriendlyFire_ca.paa create mode 100644 addons/respawn/UI/Icon_Module_Rallypoint_ca.paa create mode 100644 addons/respawn/UI/Icon_Module_Respawn_ca.paa create mode 100644 addons/respawn/config.cpp create mode 100644 addons/respawn/functions/fn_canMoveRallypoint.sqf create mode 100644 addons/respawn/functions/fn_getAllGear.sqf create mode 100644 addons/respawn/functions/fn_handleKilled.sqf create mode 100644 addons/respawn/functions/fn_handleRespawn.sqf create mode 100644 addons/respawn/functions/fn_initRallypoint.sqf create mode 100644 addons/respawn/functions/fn_module.sqf create mode 100644 addons/respawn/functions/fn_moduleFriendlyFire.sqf create mode 100644 addons/respawn/functions/fn_moduleRallypoint.sqf create mode 100644 addons/respawn/functions/fn_moveRallypoint.sqf create mode 100644 addons/respawn/functions/fn_removeBody.sqf create mode 100644 addons/respawn/functions/fn_removeDisconnectedPlayer.sqf create mode 100644 addons/respawn/functions/fn_restoreGear.sqf create mode 100644 addons/respawn/functions/fn_showFriendlyFireMessage.sqf create mode 100644 addons/respawn/functions/fn_teleportToRallypoint.sqf diff --git a/addons/respawn/UI/Icon_Module_FriendlyFire_ca.paa b/addons/respawn/UI/Icon_Module_FriendlyFire_ca.paa new file mode 100644 index 0000000000000000000000000000000000000000..200d02732c53ae2c43bebcd292d5e195ef3fe6b8 GIT binary patch literal 5625 zcmeHL3v64}89wPdG;QNPCQ&zY;#vfC>jNyVKn*w2nNlDSBdrLMK%|Hl^jg6H`_`#xbiZK}!mlUlprZ|Iq zDBf6Hd|x5CZzLZ_HbSp1M(B+t2%RUN8ykhF5Fw%=HK;+jr@ucH#wa73UZ9^Cot8^3 zz~ICG3eJ3yHwXCYLGZU?h&R7*ilSsbx#-J>170xzc(VApD7V8fZe{XBUwMyxoMFjc zo7e&Re(ro>RC?gWf9%Wv`xX5@$v432BlIqI3~*W0EB3URS^U%W6C)iYWk8><$L5a} zxGXwu4fEBEu700zCahz?U(s)m(tA2+?7DuwJg`8R4fw~-2hm@>yxuYa`um0w^i~6S zg&W7t9h}Gf)gjXXUFiWG(EnS1bf~mhsc+@cgmr?qs6l_<5RPH&q%f6_wwxZPcnA03qcSpX37@dCdaDyS=CVgwKGW-~5B6PNw(E2^=+~ZhipTH%=SjeNPrXG5 z)!qXbozBQbD3j$&YkS)q$P}2o(Gz!ucl|-0&%unHMfq{IKK^$23>Hsns5&V=ov~dN zXwPBuPn}3~W1sAQWyB@+7zF13Wbtz?6HY9+i1wuZb#8+YaEgAwsz34O=M?k9IQ&ck z=kH|sRSk>Zx_agLptTKKh58CsA7hYP6Bv1u>DPL^!YQx7)-$7L*S?eF0()9~=0lxn zdmUhejapsdG&UcM$n?C9TtGLuPgrri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!MhX=6QLCYu<{9KS4Dgn4pVJHY zH|NQ=_@TV4P+mHKu8sJtB448hJm*Cw}n=Q&^wrLPA2r25@^d-jG3VgfYnRO$}WHx;j zn1LP?q&8=5aB~MgeU;P5%5rl@`(f4nmbW0REtH?UZ~&YaFAjY^d_j68L__*p*6zQb zK?ij}zsbM!-BsJ<-E+}r1^YgIct;TEOB1ht-Bo4Y2Ds{6)%Ig`kFmE&RguSD@ta;@ zr@1(~?Z67vMz&0B61b~&qt)?6hbpRSng6R3&F|gu)eeR?2~Ah+CUejn`dai>C%1i; zZ*w`g@g{om$zLz~{j-2?aeng059+qP!*H`|>CCxXSsG@L6_w<(M!mnablT!vU`rPH E2Y@s_MF0Q* literal 0 HcmV?d00001 diff --git a/addons/respawn/UI/Icon_Module_Rallypoint_ca.paa b/addons/respawn/UI/Icon_Module_Rallypoint_ca.paa new file mode 100644 index 0000000000000000000000000000000000000000..ef6ce002c4af752f1791a57328fcb815e65df842 GIT binary patch literal 5625 zcmds53v3fd8Xl7r2u&d2QK^{V#8~7+4+^!qY6Y#GJCm48lafM#(1&nB>5JH?tpazI zo1|&$qN19ny>d}YEg^B74yl(QcWD*%oL;VAg+Nf~!;VRs(A1#;Cr(XVyXXkLYWzX7Q)#Cq~;y%0Ql`$JPH< z;F56EHpE+)T>UrFGj6*A{mTYw!}Oju8oO?QFAdBQW&r-B^FjD6OKPkWz~46Jv_R6iA^{jritz__OssxbdP+V{C0o+UGi*DTqivaKL zC2}u*o8b|HU(IFx^;F+{h>9h9yQzNJ%PgM~zge1Il3ag0W)s3IRzv@iK|E%lfHdka zi6<-2V)p?~m5=gJ)H-y+#>QJ6#}QX;nB_BheD%G3mlo~m>;ismr&Dad@6(fj^{q8l zAy{=kVAQF~LnwpgOS}7n>Oh9T^i8cX=g^+l<@wyJ+ErK(W9#F?Bd4)=QbXya_;jY0 zoIp!1n}6zfybF6}|I0%z(Pt2t|Ec2VnkJlBa1r(d|5~>}2slMQ;GDnn)h{aMhiT-G zaa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