when i try to compile reloading code i found in the tutorials section of this site i get this:
,
weapons.qc:931: error: Unknown value "w_pistol".
any help
or proper tutorials for vanilla quake?
Help Needed With Reloading Code
Re: Help Needed With Reloading Code
Ask a more verbose and distinct question, link to the tutorial in question. Mention what compiler you used. Double check you did not do ANY other changes to the code. Make sure you use the same base code as the tutorial.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Re: Help Needed With Reloading Code
Hello thommoboy,
Spirit is right. You should be more specific.
Anyway, I want to try to help, so I assume you are talking about Arkage´s tutorial:
http://www.inside3d.com/showtutorial.php?id=249
Be careful with this tutorial, there are some issues in it.
First of all, there are many passages, where he has a typo in the "code": ['code'] blah ['/code']
So be sure to not forget these lines.
Secondly, the issue you described, because there is a mistake in his code.
He wrote, that you should call this function: W_Pistol ();
But it doesnt exist !
So please exchange this call with this one: W_FireShotgun ();
Then it should work (if there are no other issues in his tutorial)...
Best wishes,
Seven
Spirit is right. You should be more specific.
Anyway, I want to try to help, so I assume you are talking about Arkage´s tutorial:
http://www.inside3d.com/showtutorial.php?id=249
Be careful with this tutorial, there are some issues in it.
First of all, there are many passages, where he has a typo in the "code": ['code'] blah ['/code']
So be sure to not forget these lines.
Secondly, the issue you described, because there is a mistake in his code.
He wrote, that you should call this function: W_Pistol ();
But it doesnt exist !
So please exchange this call with this one: W_FireShotgun ();
Then it should work (if there are no other issues in his tutorial)...
Best wishes,
Seven
Re: Help Needed With Reloading Code
hey seven can you write a complete nOOb guide for me to add reloading code it would be much appreciated
-
- Posts: 170
- Joined: Thu Aug 19, 2010 9:58 pm
Re: Help Needed With Reloading Code
You're gonna have to start from the beginning.. You can't just jump in and copy and paste stuff from a tutorial or other people's work..thommoboy wrote:hey seven can you write a complete nOOb guide for me to add reloading code it would be much appreciated
You need to get yourself a copy of ID's stock QC base and just mess around with it for a while, change little things here and there and see what the outcomes are.
Try experimenting by changing values here and there, and testing out Quake's different built-in functions.