Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Messiah

Not scoring kills

Recommended Posts

i've made a new weapons (hush hush) based off a donated model and config etc from suchey ad earl...

now all i've done is alter the config to change tag names and then the texturs... the problem that's occuring is that in MP we kill a tank, yet it doesnt register a kill... i'm not sure what it could be but i dont have much knowledge when itcomes to MP and how it all works.

thanks

smile_o.gif

Share this post


Link to post
Share on other sites
Guest The Cobra

I think that the scoring-script must define both when you shooting with the standard weapon and the rpg (muzzles)

Not sure though, MP-scripting is always hard...

smile_o.gif

Share this post


Link to post
Share on other sites

not a scoring script... im just saying that the kill menu in MP doesnt record any kills made by the missile.

Share this post


Link to post
Share on other sites
Guest The Cobra

Ahh, sorry, misunderstood you.

Then it's probably something in the config... Or?

Share this post


Link to post
Share on other sites

thats what i thought... but basically i've taken suchey and earls weapon (with permission) and changed classnames and textures... nothing else... theirs works, mine doesnt sad_o.gif

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ukf_JavelinAmmo : AA

{

model="\ukf_ukweps\jav\ukf_javR.p3d";

hit=1000;

indirectHit=500;

indirectHitRange=10;

ThrustTime=5000;

thrust=50;

initTime=0.6;

maneuvrability=4.4;

canLock=LockYes;

airLock=true;

irLock=true;

laserLock=true;

soundHit[]={"\ukf_ukweps\jav\jav_ground.wss",db25,1};

SoundHitArmor1[]={"\ukf_ukweps\jav\jav_arm1.wss",db30,1};

SoundHitArmor2[]={"\ukf_ukweps\jav\jav_arm2.wss",db30,1};

SoundHitArmor3[]={"\ukf_ukweps\jav\jav_arm3.wss",db30,1};

hitArmor[]={soundHitArmor1,0.33, soundHitArmor2,0.33, soundHitArmor3,0.33};

soundFly[]={"\ukf_ukweps\jav\javelin_fly.ogg",db18,1};

};

for the ammo (its in a much larger config, hence missing the rest of it.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ukf_JavelinLauncher : AALauncher

{

model="\ukf_ukweps\jav\ukf_javelinE";

modelOptics="\ukf_ukweps\jav\optic_jav";

picture="\ukf_ukweps\icons\javicon.paa";

sound[]={"\ukf_ukweps\jav\javelin_fire.wss",db17,1};

reloadMagazineSound[]={"\ukf_ukweps\jav\jav_reload.wss",0.010316,1};

displayName = "Javelin Launcher";

shortNameMagazine = "Javelin";

magazines[]={"ukf_JavelinMag"};

initSpeed=6;

uipicture="\ukf_ukweps\jav\javelinlogo.paa";

canDrop = true;

opticsZoomMin=0.04;

opticsZoomMax=0.12;

distanceZoomMin=400;

distanceZoomMax=80;

aiRateOfFire=10000000000; // The AI cannot aim with the javelin so better make them not use it at all.

aiRateOfFireDistance=0;

maxLeadSpeed=99999999;

count = 1;

};

class ukf_JavelinMag: ukf_JavelinLauncher

{

modelSpecial="\ukf_ukweps\jav\ukf_javelin";

modelMagazine="\ukf_ukweps\jav\ukf_javG";

picture="\ukf_ukweps\icons\javmicon.paa";

ammo = "ukf_JavelinAmmo";

displayName="Javelin Launcher";

displayNameMagazine="Javelin Missile";

magazineType = 6 * 256;

canDrop = true;

};

for the weapon...

also, for their one they had the following after the javelin:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ukf_JavelinLauncherM2A2: AT3Launcher

{

//this addMagazine "SUCHjavelinM2A2Mag";this addWeapon "SUCHjavelinlauncherm2a2";

weaponType = WeaponHardMounted;

magazines[]={"ukf_Javelinm2a2Mag"};

magazineType = WeaponNoSlot;

ammo = "SUCHJavelinAmmo";

sound[]={"\ukf_ukweps\jav\javelin_fire.wss",db17,1};

reloadMagazineSound[]={"\ukf_ukweps\jav\jav_reload.wss",0.010316,1};

count=1

reloadTime=0.140000;

displayName="Javelin Launcher";

displayNameMagazine="Javelin";

shortNameMagazine="Javelin";

cost=20000

opticsZoomMin=0.04;

opticsZoomMax=0.12;

distanceZoomMin=400;

distanceZoomMax=80;

autoReload = true;

};

class ukf_JavelinM2A2Mag: ukf_JavelinLauncherM2A2

{

picture="\ukf_ukweps\jav\gear2.paa";

};

obviously i've copied that too, but was very unsure as to what its point was confused_o.gif

Share this post


Link to post
Share on other sites

What i dont understand:

The "SUCHjavelinlauncherm2a2" has no model,it was just a jav missile who came out the tube of a Bradley.

But U define a model in your config,is it possible that U mix up 2 configs?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×