Shinji 10 Posted January 21, 2010 Is it possible to make the player Hard to kill ... I know about the ability to have extra armor in the option ... but I want more Rambo like Unit. Please help me ... Share this post Link to post Share on other sites
BronzeEagle 2 Posted January 21, 2010 sooooooooooo shinji....you want to feel......in vin si bulllll. sorry i don't know how. Share this post Link to post Share on other sites
Shinji 10 Posted January 21, 2010 LOL! Well yeah ... it's something I have in mind. Anyone That can help please ... Share this post Link to post Share on other sites
ww2weasel 10 Posted January 21, 2010 use addeventhandler hit/killed http://www.ofpec.com/COMREF/index.php?action=details&id=6&game=OFP http://www.ofpec.com/ed_depot/index.php?action=details&id=39 http://www.ofpec.com/forum/index.php?topic=15168.0 Share this post Link to post Share on other sites
JdB 151 Posted January 21, 2010 use addeventhandler hit/killedhttp://www.ofpec.com/COMREF/index.php?action=details&id=6&game=OFP http://www.ofpec.com/ed_depot/index.php?action=details&id=39 http://www.ofpec.com/forum/index.php?topic=15168.0 That only works in a mission you create yourself though, I think he's asking to have an "Unlimited health" option that he can switch on in the Options, so it works whenever he plays. Share this post Link to post Share on other sites
Shinji 10 Posted January 21, 2010 (edited) I can put in my mission if you show me how ... it's for a mission I have built based on GDCE ... Where it's impossible for me to save ... So I wanna be HARD to kill ... coz you end up dead anyway if you play 5 hours in a single task. Last time I was successful and RTBing and My friendly sniper Killed me By mistake ... I guess it's my fault I was standing between him and the enemy. EDIT: The link were really useful I made'm Immortal even when a tank hits me with a Massive explosion and sends me 100 ft in the sky ... But not exactly what I wanted ... I just want my guys to be hard to kill ... not Zeus! LOL Like editing the hit points or something ... Edited January 21, 2010 by Shinji Share this post Link to post Share on other sites
zulu1 145 Posted January 22, 2010 Try Snypir's toughunit script: http://www.fileden.com/files/2006/10/8/270675/toughunit.rar Share this post Link to post Share on other sites
Shinji 10 Posted January 22, 2010 (edited) will try it and get back to you ... thank you very much :) EDIT =====> I have added the line in the Unit "Init" field , but nothing is different. can you please explain to me what to put there ... and what value to put in the "toughunit.sqs" for my unit? please ... ---------- Post added at 04:02 AM ---------- Previous post was at 02:18 AM ---------- It's working with regular units ... but when using SLX wounding system ... the player's unit still get on the ground in agony ... I wanna stop that ... Can you help plz? Edited January 22, 2010 by Shinji Share this post Link to post Share on other sites
zulu1 145 Posted January 22, 2010 I guess it dosen't work so well for the player, but if you use it on 1 or 2 units under your command and send them against a squad then you'll see how it works. I recall I have something else like this, I'll look and let you know. It's working with regular units ... but when using SLX wounding system ... the player's unit still get on the ground in agony ... I wanna stop that ... You'll need to disable slx_wounds I suppose. Share this post Link to post Share on other sites
Shinji 10 Posted January 22, 2010 ok ... then how can I keep the SLX wound system ... but stop the rolling on the ground part when critically wounded (BUT only for the player) Share this post Link to post Share on other sites
ww2weasel 10 Posted January 23, 2010 run a firstaid script -you will have an addaction to heal yourself. - thereby possibly negating the SLX script. http://www.ofpec.com/ed_depot/index.php?action=details&id=270&game=OFP Have you looked at SLX readme's perhaps there's a global switch - they might have provided to disable features? Share this post Link to post Share on other sites
Shinji 10 Posted January 23, 2010 no there isn't ... or at least I didn't find any. My knowledge is pretty limited. I'm more of a Java 2 guy LOL Share this post Link to post Share on other sites
Shinji 10 Posted January 23, 2010 The script didn't help ... Can you please , give any new Ideas. Share this post Link to post Share on other sites
sanctuary 19 Posted January 24, 2010 Download this and use the pbo inside. http://www.filefront.com/15412947/cheatedmen.rar It will add in West->Men East->Men Resistance->Men Civilian->Men a new unit named "Cheating Unit". they have the following armor values : armor=30; armorStructural=6; armorHead=6; armorBody=6; armorHands=6; armorLegs=6; Making them not impossible to kill, but they can take a very lot of bullets before dying, probably +/- 2 full magazines. Enough for an arcade-like mission. Share this post Link to post Share on other sites
Shinji 10 Posted January 24, 2010 Will try it later ... thank you man! Share this post Link to post Share on other sites
Shinji 10 Posted January 24, 2010 Yeah ... it did the job ... the "Shit everything hurts" animation still plays when I get skwoumched by bullets ... but At least now it's not immediately. thank you! as always! Share this post Link to post Share on other sites
Trueborn Vorpal 10 Posted February 10, 2010 Download this and use the pbo inside.http://www.filefront.com/15412947/cheatedmen.rar Can't seem to download this file. Is there a mirror of it somewhere else? Share this post Link to post Share on other sites
sanctuary 19 Posted February 12, 2010 Just copy paste this : // some basic defines #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 // type scope #define private 0 #define protected 1 #define public 2 #define WeaponNoSlot 0// dummy weapons #define WeaponSlotPrimary 1// primary weapons #define WeaponSlotSecondary 16// secondary weapons #define WeaponSlotItem 256// items #define WeaponSlotBinocular 4096// binocular #define WeaponHardMounted 65536 class CfgPatches { class cheaters { units[]={"west_cheater","east_cheater","res-cheater","civ_cheater"}; weapons[]={}; requiredAddons[]= {"BIS_Resistance"}; requiredVersion=1.85; }; }; class CfgVehicles { class All { }; class AllVehicles:All { }; class Land:AllVehicles { }; class Man:Land { }; class Soldier:Man { }; class SoldierWB:Soldier { }; class SoldierEB:Soldier { }; class SoldierGB:Soldier { }; class Civilian:Man { }; class west_cheater:SoldierWB { displayName="Cheating unit"; armor=30; armorStructural=6; armorHead=6; armorBody=6; armorHands=6; armorLegs=6; }; class east_cheater:SoldierEB { displayName="Cheating unit"; armor=30; armorStructural=6; armorHead=6; armorBody=6; armorHands=6; armorLegs=6; }; class res_cheater:SoldierGB { displayName="Cheating unit"; armor=30; armorStructural=6; armorHead=6; armorBody=6; armorHands=6; armorLegs=6; }; class civ_cheater:civilian { displayName="Cheating unit"; armor=30; armorStructural=6; armorHead=6; armorBody=6; armorHands=6; armorLegs=6; }; }; into a new text file , save the changes and rename that text file exactly : config.cpp Create a new folder, name this new folder by example : cheatedmen Put you config.cpp into the cheatedmen folder Download MakePBO , or any other utility able to create PBO file, launch it and then select the folder cheatedmen and create the PBO. Then drop the newly created cheatedmen.pbo into your whatevermod\Addons\ folder to have them appear in the mission editor. Share this post Link to post Share on other sites
Shinji 10 Posted February 13, 2010 or just get it here ... save you some trouble : http://uploading.com/files/11ce6fdm/cheatedmen.rar/ Share this post Link to post Share on other sites
faguss 65 Posted February 13, 2010 Or just use "SoldierWSaboteurCheat", "OfficerECheat", "SoldierESaboteurCheat", "OfficerGCheat", "SoldierGCheat" classes which comes with OFP. Share this post Link to post Share on other sites
sanctuary 19 Posted February 13, 2010 Because of armor=100000; Making them basically unkillable in normal mission conditions. The question was about soldiers hard to kill, and with armor=30 and armorStructural=6; they are indeed hard to kill (a magazine and half of one should kill them). Share this post Link to post Share on other sites