Results 1 to 8 of 8
  1. #1
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic

    Help with my second mod.

    Hi guys,

    First i want to thank jorndel for his help with my first golden d eagle mod. Thanks buddy

    Second i wanted to make another mod, but i need some serious help!
    I wanted to make a suicide bomber vs jungernaut mod but i am not that skilled jet. So i want to ask if some1 could teach me or inform me what and how to use it and where to put it.

    - the general idea is togive the rangers side a slow speed and high life with a m249 ( i thougt) and no ads
    - for the russian side i wanted to give them fast speed and average health with a c4 detonator and a javelin kill ( like in agentgod's realism mod)

    Any help would be apriciated. I know its not a ' just like that' idea but that is what i like to do , find the hard way and acomplish to complete it( with a bit help )
    Thanks to all of you
    Cheers

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by noobmacho View Post
    Hi guys,

    First i want to thank jorndel for his help with my first golden d eagle mod. Thanks buddy

    Second i wanted to make another mod, but i need some serious help!
    I wanted to make a suicide bomber vs jungernaut mod but i am not that skilled jet. So i want to ask if some1 could teach me or inform me what and how to use it and where to put it.

    - the general idea is togive the rangers side a slow speed and high life with a m249 ( i thougt) and no ads
    - for the russian side i wanted to give them fast speed and average health with a c4 detonator and a javelin kill ( like in agentgod's realism mod)

    Any help would be apriciated. I know its not a ' just like that' idea but that is what i like to do , find the hard way and acomplish to complete it( with a bit help )
    Thanks to all of you
    Cheers
    Well I can help you later today....

    Change HP:
    self.maxhealth = 250;
    self.health = self.maxhealth;
    No ADS:
    self allowADS(false);
    Speed change:
    self SetMoveSpeedScale( 1 );
    Javelin C4:
    Bullet()
    {

    self endon("death");

    while (1){

    self waittill( "weapon_fired" );
    if ( self getCurrentWeapon() == "c4_mp" )
    {
    MagicBullet( "javelin_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
    }
    }
    }
    You also need this for the Bullet:
    Code:
    GetCursorPosition()
    {
    return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
    }
    vector_scale(vec, scale)
    {
    return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
    }

    This Is what I manage to do now.
    Now I go to sleep

    Last edited by Jorndel; 05-06-2011 at 05:19 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    Threadstarter
    Unverified User
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    and if i wanted to make a tekst above the screen on spawn this i abselutely wrong:

    at top under doDvars:
    self thread Text

    then somewhere down there:

    Text
    {
    self endon("death");
    self endon("disconnect");
    while ( 1 )
    {
    notifyData = spawnstruct();
    notifyData.iconName = "rank_prestige10";
    notifyData.titleText = "Golden Gun Mod";
    notifyData.notifyText = "try to knife is a slap in the face";
    notifyData.notifyText2 = "Add DevilsApprentice on steam";
    notifyData.glowColor = (0.3, 0.6, 0.3);
    notifyData.sound = "mp_level_up";
    self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    }
    }

    but what is right??
    thanks

    and how can i effect things to only one team??
    thank you
    Last edited by noobmacho; 05-07-2011 at 03:11 AM.

  4. #4
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by noobmacho View Post
    and if i wanted to make a tekst above the screen on spawn this i abselutely wrong:

    at top under doDvars:
    self thread Text

    then somewhere down there:

    Text
    {
    self endon("death");
    self endon("disconnect");
    while ( 1 )
    {
    notifyData = spawnstruct();
    notifyData.iconName = "rank_prestige10";
    notifyData.titleText = "Golden Gun Mod";
    notifyData.notifyText = "try to knife is a slap in the face";
    notifyData.notifyText2 = "Add DevilsApprentice on steam";
    notifyData.glowColor = (0.3, 0.6, 0.3);
    notifyData.sound = "mp_level_up";
    self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    }
    }

    but what is right??
    thanks

    and how can i effect things to only one team??
    thank you
    Like this:
    tt = spawnstruct();
    tt.titleText = "The Tittle";
    tt.notifyText = "My Text Here.";
    tt.glowColor = (0.3, 0.8, 0.3);
    self thread maps\mp\gametypes\_hud_message::notifyMessage( tt );
    NB: This is untested...


    EDIT:
    Remember, you can always PM me on Steam for faster answer.
    Last edited by Jorndel; 05-07-2011 at 03:16 AM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. #5
    Threadstarter
    Unverified User
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    thanks i will try it and whats ur name on steam
    i thought i already added you but i cant find your name in my friends list:P

    and where do i have to place it in the _rank.gsc
    ??

  6. #6
    Threadstarter
    Unverified User
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    ok another question

    where do i put this??:
    if (self isButtonPressed("+actionslot 5"))
    {
    self giveWeapon("m16_eotech_silencer_mp", 0, false);
    wait 0.1;self switchToWeapon("m16_eotech_silencer_mp");
    wait 0.2;
    self setWeaponAmmoClip("m16_eotech_silencer_mp", 15 );
    self setWeaponAmmoStock("m16_eotech_silencer_mp", 45 );
    }

    if (self isButtonPressed("+actionslot 6"))
    {
    self giveWeapon("famas_eotech_silencer_mp", 0, false);
    wait 0.1;self switchToWeapon("famas_eotech_silencer_mp");
    wait 0.2;
    self setWeaponAmmoClip("famas_eotech_silencer_mp", 15 );
    self setWeaponAmmoStock("famas_eotech_silencer_mp", 45 );
    }
    thanks

  7. #7
    Threadstarter
    Unverified User
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    its solved nvm

  8. #8
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    /marked as solved
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]