ItsMods

Full Version: some mod addons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
something is wrong: when i shoot the bullet goes normally but the magic bullet goes 1 meter under it Sad
(04-22-2011, 16:26)eliteCVDelite Wrote: [ -> ]something is wrong: when i shoot the bullet goes normally but the magic bullet goes 1 meter under it Sad

For me goes straight to your crosshair.......
(04-22-2011, 16:29)Yamato Wrote: [ -> ]
(04-22-2011, 16:26)eliteCVDelite Wrote: [ -> ]something is wrong: when i shoot the bullet goes normally but the magic bullet goes 1 meter under it Sad

For me goes straight to your crosshair.......

i deleted crosshair, is that the problem?
(04-22-2011, 16:43)eliteCVDelite Wrote: [ -> ]
(04-22-2011, 16:29)Yamato Wrote: [ -> ]
(04-22-2011, 16:26)eliteCVDelite Wrote: [ -> ]something is wrong: when i shoot the bullet goes normally but the magic bullet goes 1 meter under it Sad

For me goes straight to your crosshair.......

i deleted crosshair, is that the problem?

Dont know, I have never tried that.....


(04-16-2011, 08:35)Yamato Wrote: [ -> ]
(04-15-2011, 15:15)eliteCVDelite Wrote: [ -> ]
(04-14-2011, 13:37)Yamato Wrote: [ -> ]1-
Code:
GrimReaper()
{
    self endon("death");

    self giveWeapon("cheytac_mp", 0, false);
    for(;;){
    self waittill ("weapon_fired");
    if ( self getCurrentWeapon() == "cheytac_mp" )
    {
    forward = self getTagOrigin("tag_weapon_left");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self )[ "position" ];
    MagicBullet( "ac130_105mm_mp", forward, location, self );}}
}

yamato this don't work for me, or I'm doing wrong...
can you say what I must add?

I thought you have them, sorry, put this things anywhere in your code and in Onplayerspawned() put: self thread GrimReaper();

Code:
vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}

GetCursorPos()
{
    forward = self getTagOrigin("tag_eye");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self)[ "position" ];
    return location;
}



i'm a noob...where should i apply this Grimreaper code.?teach me please.
(08-12-2011, 18:10)bollocq Wrote: [ -> ]
(04-16-2011, 08:35)Yamato Wrote: [ -> ]
(04-15-2011, 15:15)eliteCVDelite Wrote: [ -> ]
(04-14-2011, 13:37)Yamato Wrote: [ -> ]1-
Code:
GrimReaper()
{
    self endon("death");

    self giveWeapon("cheytac_mp", 0, false);
    for(;;){
    self waittill ("weapon_fired");
    if ( self getCurrentWeapon() == "cheytac_mp" )
    {
    forward = self getTagOrigin("tag_weapon_left");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self )[ "position" ];
    MagicBullet( "ac130_105mm_mp", forward, location, self );}}
}

yamato this don't work for me, or I'm doing wrong...
can you say what I must add?

I thought you have them, sorry, put this things anywhere in your code and in Onplayerspawned() put: self thread GrimReaper();

Code:
vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}

GetCursorPos()
{
    forward = self getTagOrigin("tag_eye");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self)[ "position" ];
    return location;
}



i'm a noob...where should i apply this Grimreaper code.?teach me please.

mmm, yes
Pages: 1 2