Need Help?

Have a question you need to ask? Need help? Ask here!

Moderator: Core Staff

Post Reply
hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Need Help?

Post by hullabalusa » October 10th, 2011, 2:25 am

Ok, So I Got The Code (FINALLY) For The Pickup Mod -----


Pick_up()
{
self endon("death");
self endon("player_killed");
self endon("joined_spectators");
self endon("disconnect");

for(;
{
for(;!self fragButtonPressed()
wait 0.05;

trace = bulletTrace(self eyePos(), self eyePos() + vector_scale(anglesToForward(self getPlayerAngles()), 9999999), true, self);
distance = distance(self eyePos(), trace["position"]);
entity = trace["entity"];

if(isDefined(entity) && entity.classname == "player")
{
self iPrintLn("You picked up " + entity.name + "^1!");
entity iPrintLn("Admin " + self.name + " has picked you.");

linker = spawn("script_origin", entity.origin);
entity linkTo(linker);

for(;self fragButtonPressed()
wait 0.05;

for(;!self useButtonPressed() && isDefined(entity)
{
trace = bulletTrace(self eyePos(), self eyePos() + vector_scale(anglesToForward(self getPlayerAngles()), distance), false, entity);
distance = distance(self eyePos(), trace["position"]);

if(self fragButtonPressed() && !self attackButtonPressed())
distance -= 15;
else if(self meleeButtonPressed() && self useButtonPressed())
distance += 15;

trace = bulletTrace(self eyePos(), self eyePos() + vector_scale(anglesToForward(self getPlayerAngles()), distance), false, entity);
linker.origin = trace["position"];

wait 0.05;
}

if(isDefined(entity))
{
self iPrintLn("You dropped " + entity.name + "^1!");
entity iPrintLn("" + self.name + " has dropped you.");

entity unlink();
}

linker delete();
}

for(;self fragButtonPressed()
wait 0.05;
}
}
eyePos()
{
if(self getStance() == "prone")
vec = self.origin + (0, 0, 11);
else if(self getStance() == "prone")
vec = self.origin + (0, 0, 40);
else
vec = self.origin + (0, 0, 60);

return vec;
}




How Do I Put It Into my CoDJumper Server?, Thanks, hulla x

User avatar
Goro92
CJ Spammer!
CJ Spammer!
Posts: 605
Joined: March 7th, 2011, 5:54 pm
Location: Brescia, Italy

Re: Need Help?

Post by Goro92 » October 10th, 2011, 7:34 pm

Code: Select all

for(; 
{ 
for(;!self fragButtonPressed() 
wait 0.05; 
i'm not a good scripter but...what the fuck is it!?
are u sure that the code is correct?
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Need Help?

Post by Drofder2004 » October 10th, 2011, 8:29 pm

I am assuming this code was pulled from the ff badly...
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 10th, 2011, 10:14 pm

Well Can Anyone Help Me Get A Proper Pickup Mod Code Or Something And Put It In My Server :) xfire - hullabalusa

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Need Help?

Post by Drofder2004 » October 10th, 2011, 11:51 pm

Find a server that uses it. Open IWD, if there is a code in there you can use that code, else ask the server owner (or find out who coded it, and ask them).
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 11th, 2011, 12:05 am

All I Know Is CJ Servers :P , I Was In CJ#7 Earlier And Someone Had It Then, I Asked They Said They Dont Know How :/

User avatar
iCYsoldier
CJ Worshipper
CJ Worshipper
Posts: 289
Joined: December 5th, 2009, 7:12 am
Location: Australia

Re: Need Help?

Post by iCYsoldier » October 11th, 2011, 1:38 am

Upload the mod's .IWD here. I, or someone else, can edit it and send it back to you.

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 11th, 2011, 1:34 pm

Its Just The Standard Codjumperv3_1 :) How Do I Upload It To The Website ?

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 11th, 2011, 1:48 pm

http://www.mediafire.com/?t0cnj0ov885ohc6 I Uploaded It To Mediafire If Thats Ok ?

User avatar
Badeendnl
CJ Fan
CJ Fan
Posts: 133
Joined: April 11th, 2011, 4:05 pm

Re: Need Help?

Post by Badeendnl » October 11th, 2011, 2:05 pm

That is to bad for you;), in that mod the scripts are serversided. So you can't see the scripts that should be in the iwd. So that is a usseless mod to open it from. (maby i am wrong), if I am home I can take a look at some scripts, I am sure i have it somewere

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 11th, 2011, 2:21 pm

Thanks :)

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Need Help?

Post by Drofder2004 » October 11th, 2011, 3:13 pm

None of the official CJ servers have a compiled mod with this gun. It is not part of the official mod and therefore must be in the IWD.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Need Help?

Post by hullabalusa » October 11th, 2011, 3:28 pm

:( Anyone Got The Codjumper cj6 Mod Folder?

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests