Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    100rm's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Smile Bonus for destroying vehicles

    Hi! Tell me how to make the destruction of ac-130 was given to the player killstreak (Predator) What to add to _rank.gsc?

    Sorry for my bad English. thanks in advance
    Last edited by 100rm; 07-01-2011 at 03:51 AM.

  2. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Shouldnt it be better to look in _ac130.gsc.....

  3. #3
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Your topic title and what you wrote, are not relevant in any way...

  4. #4
    100rm's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    I do not speak eng, it's fucking google translate) Tell me how to write properly and I will correct! You have very good forum and I hope you can help me! I offer you my apologies!

  5. #5
    Locke's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Bergen, Norway
    Posts
    804
    Reputation
    6
    Thanks
    67
    My Mood
    Yeehaw
    Quote Originally Posted by 100rm View Post
    I do not speak eng, it's fucking google translate) Tell me how to write properly and I will correct! You have very good forum and I hope you can help me! I offer you my apologies!
    If you don't speak English, we can't help you. Come back when you've finished school.

  6. #6
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    I tryed to translate this into your original language, then translate it to some other languages...
    And from what I understood,
    You want to do so the player gets a killstreak (predator missile) if the ac130 destroys anything?

  7. #7
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    I think that what he meant is: When you shot down a helicopter it gives you +100, he wants to change +100 to +OMA, for example.

  8. #8
    100rm's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Very ugly words from you! You are here racial discrimination? Meaning of my words to mine can understand.

    I want to get killstreaks, for the destruction of ac-130. The player who destroys the ac-130 receives a bonus

  9. #9
    Locke's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Bergen, Norway
    Posts
    804
    Reputation
    6
    Thanks
    67
    My Mood
    Yeehaw
    Quote Originally Posted by 100rm View Post
    Very ugly words from you! You are here racial discrimination? Meaning of my words to mine can understand.

  10. #10
    100rm's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Ты наверное кроме таких глупых постов больше ничего и не знаешь ! Я надеюсь тебе когда нибудь понадобиться помощь других людей , которые возможно и не говорят на твоем языке ! И я очень надеюсь они поступят с тобой так же !

  11. #11
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by 100rm View Post
    Very ugly words from you! You are here racial discrimination? Meaning of my words to mine can understand.
    Well sorry, we speak other languages aswell...
    But how come we know English?
    Seriously, what are you mad at?
    Maybe google translate says somenthing else when you translate english - Ukrainan/Russian...

    Quote Originally Posted by 100rm View Post
    The player who destroys the ac-130 receives a bonus
    Open up _ac130.gsc
    Now search for:
    attacker thread maps\mp\gametypes\_rank::giveRankXP( "kill", 400 );
    Now, under it you type things.
    There you can thread some thread that you want like;
    Code:
    attacker thread givebonus();
    Or if you want it in _rank.gsc:
    attacker thread maps\mp\gametypes\_rank::givebonus();
    Or, you could do a new thread in _rank.gsc;
    Code:
    GiveBonus()
    {
    self endon("death");
    self endon("disconnect");
    
    while(1)
    {
    self waittill("destroyed_killstreak");
    //Do somenthing here...
    }
    
    }

  12. #12
    Locke's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Bergen, Norway
    Posts
    804
    Reputation
    6
    Thanks
    67
    My Mood
    Yeehaw
    Quote Originally Posted by 100rm View Post
    Ты наверное кроме таких глупых постов больше ничего и не знаешь ! Я надеюсь тебе когда нибудь понадобиться помощь других людей , которые возможно и не говорят на твоем языке ! И я очень надеюсь они поступят с тобой так же !
    Dude, this is an english forum, not an international one. That means that you have to speak english here. Don't expect that everyone will treat you nice when you are translating everything in Google translate. Cuz it sucks, and your sentences looks funny.

  13. #13
    100rm's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    I will try like this ....

    if ( isPlayer( attacker ) )
    {
    thread maps\mp\gametypes\_missions::vehicleKilled( level.ac130player, self, undefined, attacker, damage, type );
    thread teamPlayerCardSplash( "callout_destroyed_ac130", attacker );
    attacker thread maps\mp\gametypes\_rank::giveKillstreak( "predator", false );
    attacker notify( "destroyed_killstreak" );

    tnx EpicPlayer !

  14. #14
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by 100rm View Post
    I will try like this ....

    if ( isPlayer( attacker ) )
    {
    thread maps\mp\gametypes\_missions::vehicleKilled( level.ac130player, self, undefined, attacker, damage, type );
    thread teamPlayerCardSplash( "callout_destroyed_ac130", attacker );
    attacker thread maps\mp\gametypes\_rank::giveKillstreak( "predator", false );
    attacker notify( "destroyed_killstreak" );

    tnx EpicPlayer !
    Yeah should be correct :P
    No problem.
    /There's a thanks button :3

  15. #15
    Locke's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Bergen, Norway
    Posts
    804
    Reputation
    6
    Thanks
    67
    My Mood
    Yeehaw
    Quote Originally Posted by EpicPlayer View Post
    /There's a thanks button :3
    ohno!


Page 1 of 2 12 LastLast