Strange bug with units creation

Strange bug with units creation

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Faucheur
Posts: 9
Joined: 24 Nov 2005, 10:48

Strange bug with units creation

Post 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:
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post 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.
Faucheur
Posts: 9
Joined: 24 Nov 2005, 10:48

Post by Faucheur »

Thank :-)
Faucheur
Posts: 9
Joined: 24 Nov 2005, 10:48

Post 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:
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post 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.
Faucheur
Posts: 9
Joined: 24 Nov 2005, 10:48

Post by Faucheur »

Merci :-)
Post Reply

Return to “Help & Bugs”