Results 1 to 4 of 4
  1. #1
    Sixsixx's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Austria
    Posts
    58
    Reputation
    10
    Thanks
    1,462

    [SCRIPT] Stealth Atom Bomb (No host, perfect stealth)

    So this is a thing I threw together this evening, it does three things:
    - Disables civilian death penalties
    - Disables alarms / cameras / pagers
    - Kills everything

    Also, you DO NOT need host for this to work.

    Additionally, I've edited it so that it won't show you with a huge body count at the end, instantly giving you away as the hacker; instead the deaths will be attributed to other police.

    I'm using this with Transcend's .dll

    Not sure how it will work with others.

    Here's the code, it's commented so you can add or remove if you need to.

    Code:
    -------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------------------------
    
    -- pager disable
    if not _setInteraction then _setInteraction = CopLogicInactive._set_interaction end
    function CopLogicInactive._set_interaction( data, my_data )
    	data.char_tweak.has_alarm_pager = false
    	_setInteraction(data, my_data)
    end
    
    -------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------------------------
    
    -- lobotomy
    if not _actionRequest then _actionRequest = CopMovement.action_request end
    function CopMovement:action_request( action_desc )
    	if action_desc.variant == "run" then return false end
    	return _actionRequest(self, action_desc)
    end
    function GroupAIStateBase:on_police_called( called_reason ) end 
    function GroupAIStateBase:on_police_weapons_hot( called_reason ) end 
    function GroupAIStateBase:on_gangster_weapons_hot( called_reason ) end 
    function GroupAIStateBase:on_enemy_weapons_hot( is_delayed_callback ) end 
    function GroupAIStateBase:add_alert_listener( id, clbk, filter_num, types, m_pos ) end
    function GroupAIStateBase:criminal_spotted( unit ) end 
    function GroupAIStateBase:report_aggression( unit ) end 
    function GroupAIStateBase:propagate_alert( alert_data ) end
    function GroupAIStateBase:on_criminal_suspicion_progress( u_suspect, u_observer, status ) end
    function PlayerMovement:on_suspicion( observer_unit, status ) end 
    function SecurityCamera:_upd_suspicion( t ) end 
    function SecurityCamera:_sound_the_alarm( detected_unit ) end 
    function SecurityCamera:_set_suspicion_sound( suspicion_level ) end 
    
    -------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------------------------
    
    -- no civ penalty
    function MoneyManager.get_civilian_deduction() return 0 end
    function MoneyManager.civilian_killed() return end
    
    -------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------------------------
    
    -- nuke
    function nukeunit(pawn)
    	local col_ray = { }
    	col_ray.ray = Vector3(1, 0, 0)
    	col_ray.position = pawn.unit:position()
    
    	local action_data = {}
    	action_data.variant = "explosion"
    	action_data.damage = 100
    	action_data.attacker_unit = nil
    	action_dat*****l_ray = col_ray
    
    	pawn.unit:character_damage():damage_explosion(action_data)
    end
    
    for u_key,u_data in pairs(managers.enemy:all_civilians()) do
    	nukeunit(u_data)
    end
    
    for u_key,u_data in pairs(managers.enemy:all_enemies()) do
        nukeunit(u_data)
    end
    
    if managers.hud then
    	managers.hud:show_hint( { text = "ATOM BOMB" } )
    end
    -------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------------------------------------

  2. The Following User Says Thank You to Sixsixx For This Useful Post:

    Justin (11-05-2013)

  3. #2
    Justin's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    7,085
    Reputation
    1339
    Thanks
    2,868
    My Mood
    Inspired
    This could come in handy! Thanks!

    Minion Statistics

    Ex-Console Minion: 13/01/2011 ~ 19/04/2011
    Console Re-Minion: 14/06/2012 ~ 27/02/2013
    AVA Minion: 22/06/2012 ~ 12/11/2012
    Battlefield Minion: 04/02/2013 ~ 27/02/2013

  4. #3
    SpookyWho's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Doesn't work as client.

    Or at least, pagers are still active as client.

  5. #4
    Urazfenix88's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    1
    yea...what yuo say "not host needed" this code is like "APOCALYPSE" and alarm with pager go on... -.-

Similar Threads

  1. [SCRIPT] Ultimate Atomic Bomb (Kill all)
    By Sixsixx in forum Payday 2 Hacks & Cheats
    Replies: 4
    Last Post: 11-16-2013, 10:59 AM
  2. Looking for script to spawn any AI Host / Or Without being host
    By FORGETME86 in forum Payday 2 Hacks & Cheats
    Replies: 2
    Last Post: 08-19-2013, 01:39 PM
  3. What to do when you see the Atomic Bomb?
    By Hugo Boss in forum General
    Replies: 11
    Last Post: 12-06-2012, 06:23 PM
  4. Justification of the Atomic bomb- continued
    By DoctorLove in forum United States of America
    Replies: 15
    Last Post: 06-11-2011, 03:49 AM
  5. Was the atomic bomb dropping justified?
    By Sir Nathan in forum United States of America
    Replies: 71
    Last Post: 04-27-2011, 03:54 PM