Results 1 to 9 of 9
  1. #1
    HACKINGPIE's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    109
    Reputation
    10
    Thanks
    88

    Little help with my mod please

    Here is the situation.

    1) Special Grenades
    works:
    self giveWeapon("flash_grenade_mp");

    don't work:
    self giveWeapon("smoke_grenade_mp");
    self giveWeapon("concussion_grenade_mp");

    Does anyone know how to give smoke and concussion(stun) grenades?

    2) Making the weapon I just gave the player appear on the screen
    don't work:
    self giveWeapon("kriss_eotech_silencer_mp");
    self notify ("weapon_change","kriss_eotech_silencer_mp");

    also don't work:
    self giveWeapon("kriss_eotech_silencer_mp");
    self switchToWeapon("riotshield_mp");

    3) What is the killstreak name for the Ammo drop?
    I.E this: self maps\mp\killstreaks\_killstreaks::giveKillstreak(" ammo",false);
    (for the assault class) - can't find this anywhere.

    if you wan't to know about the mod, it will be where you spawn with a realistic kit depending on your team, and some classes will have 'bonuses'.

    it is aimed at making it realistic, and at making the game similar to BFBC2 by giving players abilities, like snipers=airstrike (mortar in BFBC2), and assault=ammo drop, specialist=predator missile.

    thanks in advance

  2. #2
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    1. Correct syntax is
    Code:
    self giveWeapon( "weapon_name", 0, false );
    Use
    Code:
    self GiveMaxAmmo("weapon_name");
    to give max ammo.


    2. No idea what you're talking about.


    3. Here's list of some, if not all, killstreak names.
    Code:
    killstreak_uav_mp
    killstreak_helicopter_mp
    killstreak_ac130_mp
    killstreak_predator_missile_mp
    killstreak_helicopter_minigun_mp
    killstreak_nuke_mp
    killstreak_precision_airstrike_mp
    killstreak_counter_uav_mp
    killstreak_sentry_mp
    airdrop_marker_mp
    airdrop_sentry_marker_mp
    killstreak_helicopter_flares_mp
    killstreak_emp_mp
    airdrop_mega_marker_mp
    killstreak_stealth_airstrike_mp
    killstreak_harrier_airstrike_mp
    [IMG]https://lh4.ggph*****m/_-aCmMp6G0AQ/S4-phW7LRvI/AAAAAAAAALc/3cpKkpjIgUM/s400/display.php.png[/IMG]




  3. #3
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,866
    Reputation
    1021
    Thanks
    9,003
    My Mood
    Angelic
    i think he meant the carepackage killstreak, with the ammo in it

  4. #4
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    I don't think you can choose what the care package will contain without editing the drop rate dvar to 100% ammo drops.
    [IMG]https://lh4.ggph*****m/_-aCmMp6G0AQ/S4-phW7LRvI/AAAAAAAAALc/3cpKkpjIgUM/s400/display.php.png[/IMG]




  5. #5
    HACKINGPIE's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    109
    Reputation
    10
    Thanks
    88
    no luck r_arraz, thanks though. But those are not the killstreaks that I'm after. You know when you're ingame and you get a cp, and you call it in, and it has ammo in it? That's what I'm after. There must be somewhere for me to spawn that or make it fall from the sky.

  6. #6
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    Care package contents are random. You can't guarantee ammo will be inside of it without changing the drop rate dvar.

    Code:
    scr_airdrop_ammo "17"
    Changing that to 100 should make ammo drop 100% of the time.
    [IMG]https://lh4.ggph*****m/_-aCmMp6G0AQ/S4-phW7LRvI/AAAAAAAAALc/3cpKkpjIgUM/s400/display.php.png[/IMG]




  7. #7
    Tigermisu's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    27
    My Mood
    Innocent
    Quote Originally Posted by r_arraz View Post
    Care package contents are random. You can't guarantee ammo will be inside of it without changing the drop rate dvar.

    Code:
    scr_airdrop_ammo "17"
    Changing that to 100 should make ammo drop 100% of the time.
    Editing that is VAC-Banneable right?

  8. #8
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,866
    Reputation
    1021
    Thanks
    9,003
    My Mood
    Angelic
    yes, editing dvars is bannable

  9. #9
    HACKINGPIE's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    109
    Reputation
    10
    Thanks
    88
    it's for a mod though. I still haven't had any luck.

Similar Threads

  1. [Help Request] I need help with my mod please:)
    By LawlFaceXD in forum Combat Arms Mod Help
    Replies: 0
    Last Post: 08-09-2011, 08:36 PM
  2. Please help with admin mod
    By zaqewq in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 3
    Last Post: 09-22-2010, 07:23 PM
  3. HELP WITH .REZ MODDING PLEASE
    By qmthuglife in forum Combat Arms Mod Discussion
    Replies: 7
    Last Post: 06-05-2010, 03:26 AM
  4. Need help with scope modding please!!
    By Sphearow412 in forum Combat Arms Mod Discussion
    Replies: 7
    Last Post: 02-10-2010, 01:50 PM
  5. A little Help With IE Please
    By chc18 in forum General
    Replies: 9
    Last Post: 10-24-2007, 02:53 PM