Post: ***pimped weapon box***
01-26-2011, 08:33 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ..........
(adsbygoogle = window.adsbygoogle || []).push({});

The following 15 users say thank you to x_DaftVader_x for this useful post:

.DeadlyMoDz25, Amanda, cjmurder123, dogyplop, Fifa97, The Epic, James_Bond, legitmod, lmg123, Shaarpy, Skyl1n3, ww2gamer3, xQuZe-, xTrYiPiCz
01-26-2011, 10:36 PM #20
Originally posted by Skyl1n3 View Post
How do I make it so it spawns at my crosshairs?


add this (if you dont have it already)

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


And change the spawn point for the box to self GetCursorPos();

---------- Post added at 10:25 PM ---------- Previous post was at 10:23 PM ----------

Originally posted by deadlyduckling View Post
do i put the second part in missions if the main codes in another .gsc?


yes, you need to precache the flags in the missions gsc ..

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------
01-26-2011, 11:08 PM #21
Skyl1n3
DO SOMETHING THEN!
Originally posted by x View Post
add this (if you dont have it already)

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


And change the spawn point for the box to self GetCursorPos();

---------- Post added at 10:25 PM ---------- Previous post was at 10:23 PM ----------



yes, you need to precache the flags in the missions gsc ..

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------


Uh, by staring at the code for about 10 mins I still haven't figured out how :p care to post the FULL code? :mad::rolleyes:
01-26-2011, 11:26 PM #22
xPwn
Error… Cat invasion!
HAHAHA BRILLIANT CODING :y: STOP THA LEACHEEEEEEERSSSSS!!!! FTW :p

The following user thanked xPwn for this useful post:

x_DaftVader_x
01-26-2011, 11:29 PM #23
HOMER . . . WOW your amazing, did you take like a class on how to do this??

jokes but anyway you know what this reminds me of??

that box from the bible that floats!!! haha anyway im going to edit out the colors and just leave it white. That hurts my eyes. :p

other than this is amazing!!

I hope to see more from you!!
01-26-2011, 11:34 PM #24
Originally posted by Skyl1n3 View Post
Uh, by staring at the code for about 10 mins I still haven't figured out how :p care to post the FULL code? :mad::rolleyes:


hehehe, its the one called daftvader something Winky Winky

its the spawn for the carepackage.... at the top ..

The following user thanked x_DaftVader_x for this useful post:

Skyl1n3
01-26-2011, 11:36 PM #25
Skyl1n3
DO SOMETHING THEN!
Originally posted by x View Post
hehehe, its the one called daftvader something Winky Winky

its the spawn for the carepackage.... at the top ..


Oh alright. :p Trying to do two things at once is kinda hard. I'm trying to get GhostBusters in my patch, works fine until you're a ghostbuster... Then it keeps on changing weapon to the F2000 even if he's already got it! Think you can help? Smile
01-26-2011, 11:41 PM #26
Originally posted by Skyl1n3 View Post
Oh alright. :p Trying to do two things at once is kinda hard. I'm trying to get GhostBusters in my patch, works fine until you're a ghostbuster... Then it keeps on changing weapon to the F2000 even if he's already got it! Think you can help? Smile


Haven't really got time to read through a patch, but you will need to add an
if,self getcurrentweapon !=f2000, self switch to weapon, etc etc, blaha blah kind of thing Smile
01-26-2011, 11:42 PM #27
Skyl1n3
DO SOMETHING THEN!
Originally posted by x View Post
Haven't really got time to read through a patch, but you will need to add an
if,self getcurrentweapon !=f2000, self switch to weapon, etc etc, blaha blah kind of thing Smile


I already have this:
    doBuster() {
self endon("disconnect");
self endon("death");
self thread doInfo();
self thread InstructBusters();
self _clearPerks();
self thread SelectTraps();
ChangeAppearance(6,1);
self takeAllweapons();
self giveWeapon("fn2000_heartbeat_silencer_mp");
self switchToWeapon("fn2000_heartbeat_silencer_mp");
self thread doAmmo();
givePerk( "sleight of hand", true );
self setClientDvar("cg_gun_x", 1);
}
But it still wont work :(

EDIT: AHH! get current weapon eh? I'll look through my QS mod and get back to you if it works. Smile
01-26-2011, 11:45 PM #28
Amanda
Can’t trickshot me!
Next thing you should do is the explosive care package. When the enemy tries to pick up what the care package contains it explodes!!!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo