Jump to content

Home

WPs


XSeth2kX

Recommended Posts

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\code\game\bg_weapons.c(289) : error C2059: syntax error : 'constant'

 

The code i get the error with is below

 

 

 

 

{	// WP_FLAMETHROWER
//		"Flame Thrower",	//	char	classname[32];		// Spawning name
	AMMO_FLAMETHROWER    	//	int		ammoIndex;			// Index to proper ammo slot
	0,						//	int		ammoLow;			// Count when ammo is low
	0,						//	int		energyPerShot;		// Amount of energy used per shot
	800,					//	int		fireTime;			// Amount of time between firings
	8192,					//	int		range;				// Range of weapon
	1,						//	int		altEnergyPerShot;	// Amount of energy used for alt-fire
	400,					//	int		altFireTime;		// Amount of time between alt-firings
	8192,					//	int		altRange;			// Range of alt-fire
	0,						//	int		chargeSubTime;		// ms interval for subtracting ammo during charge
	0,						//	int		altChargeSubTime;	// above for secondary
	0,						//	int		chargeSub;			// amount to subtract during charge on each interval
	0,						//int		altChargeSub;		// above for secondary
	0,						//	int		maxCharge;			// stop subtracting once charged for this many ms
	0						//	int		altMaxCharge;		// above for secondary
}
};



Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...