Tried to give NULL entity (new weapon)

Grab your favourite IDE and tinker with the innards of game engines

Tried to give NULL entity (new weapon)

Postby Portalboat on Tue Jul 19, 2011 10:58 pm

I've done everything that it says in the 'Adding a new weapon' tutorial on the VDC, and yet it still says that the weapon is a null entity.

Is there something else that that tutorial doesn't metion, or is it a fault on my end? (typo or something)
Portalboat
Regular
Regular
 
Joined: Tue Aug 11, 2009 4:00 pm

Re: Tried to give NULL entity (new weapon)

Postby zombie@computer on Wed Jul 20, 2011 8:02 am

make sure you LINK_ENTITY_TO_CLASS( weapon_AK47, CWeaponAK47 );'d YOUR new weaponclass.
When you are up to your neck in shit, keep your head up high
zombie@computer
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Dec 31, 2004 5:58 pm
Location: Lent, Netherlands

Re: Tried to give NULL entity (new weapon)

Postby Portalboat on Wed Jul 20, 2011 12:57 pm

I did, so unless it's a typo it should be working.
Portalboat
Regular
Regular
 
Joined: Tue Aug 11, 2009 4:00 pm

Return to Programming

Who is online

Users browsing this forum: No registered users