Page 1 of 1

Strange bug with units creation

Posted: 23 Dec 2005, 10:09
by Faucheur
Hi
I created a vehicle based on the core raider tank (same piece and the piece had the same name) but when the tank attack it doesnt use it turret but its base :evil: :cry:
I use scriptor :|
QueryPrimary(piecenum)
{
piecenum=flare;
}
Sorry for my bad english :oops:

Posted: 23 Dec 2005, 10:15
by Gnomre
Your QueryPrimary/QueryWeaponX function is borked. Check to make sure the piece you use in that function corresponds exactly to the piece name in the 3do. The piece you use should be the flare object, or any other piece at the end of the barrel.

Posted: 24 Dec 2005, 16:17
by Faucheur
Thank :-)

Posted: 27 Dec 2005, 08:43
by Faucheur
I have a new bug
I want to create a weapon who do big damage for the Krog but its doesnt hurt a lot the Krog

Code: Select all

	rendertype=0;
	lineofsight=1;
	turret=1;

	range=1100;//600;
	reloadtime=40;//20;//30;
	energypershot=1000;//1500
	weaponvelocity=1000;
	areaofeffect=8;
	

	soundstart=annigun1;
	soundhit=xplolrg1;

	firestarter=90;
	beamweapon=1;
	color=144;	/* PURPLE */
	color2=217;

	
	explosiongaf=fx;
	explosionart=explode5;

	waterexplosiongaf=fx;
	waterexplosionart=h2oboom1;

	lavaexplosiongaf=fx;
	lavaexplosionart=lavasplashsm;
	guidance=1;
	[DAMAGE]
		{
		default=1;//1;
		CORKROG=70000;
		}
	}

:cry:

Posted: 27 Dec 2005, 16:09
by zwzsg
For Spring you need to have an armor.txt with [CORKROG]{CORKROG=42;}
And 70000 would be too much for TA, hopefully spring can handle it, but 32000 should be enough.

Posted: 27 Dec 2005, 19:06
by Faucheur
Merci :-)