Help Needed With Reloading Code
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
Help Needed With Reloading Code
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?
,
weapons.qc:931: error: Unknown value "w_pistol".
any help
or proper tutorials for vanilla quake?
- thommoboy
- Posts: 95
- Joined: Mon Nov 21, 2011 6:35 am
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
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
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
- Seven
- Posts: 301
- Joined: Sat Oct 06, 2007 8:49 pm
- Location: Germany
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
- thommoboy
- Posts: 95
- Joined: Mon Nov 21, 2011 6:35 am
Re: Help Needed With Reloading Code
thommoboy wrote:hey seven can you write a complete nOOb guide for me to add reloading code it would be much appreciated
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..
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.
- DusterdooSmock
- Posts: 170
- Joined: Thu Aug 19, 2010 9:58 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest