Search found 12 matches

by Daya
Thu Aug 08, 2013 4:19 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

Bumping this thread (hoping I'm not getting warnings for this...) because I decided to continue doing my singleplayer mod (Also this thread should be moved to another location, like "Programming Help"). Anyway, I'm still looking for a way to make my charge weapon a thing : For reminder, it...
by Daya
Sun Jun 23, 2013 10:01 am
Forum: General Discussion
Topic: Introduction Thread
Replies: 124
Views: 53160

Re: Introduction Thread

I should've went there in the first place. So, hi everyone, I love Quake that much and I'm modding it (feel free to go to my thread in the General Programming section (my thread should not be there, it has to be moved someplace else). I'm happy to see you're helping me, I was expecting something &qu...
by Daya
Tue Jun 18, 2013 5:33 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

If the player releases the firebutton during the charge, the laser will be shot given the charge's value during release. If possible, I'd like for the charge to hold when it reaches its maximum value (something a bit below the original lightning bolt's maximum range). If not, the laser must be fired...
by Daya
Tue Jun 18, 2013 4:51 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

Just as a little reminder, I don't want it to be a continuous laser, but a one-shot laser like the railgun. And I use the lightning bolt as a placeholder until I do a flat model to materialize the laser (since I don't think darkplaces includes a transparent flat laser model).
by Daya
Tue Jun 18, 2013 3:46 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

I tried R00k's code, and I got a blocked swinging axe animation with a looping axe swinging sound when I hold the button, meaning the axe attack is constantly looped at 0.1 seconds of framerate even though i'm not pressing the button right now. The distance variable is still working when I'm holding...
by Daya
Tue Jun 18, 2013 9:00 am
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

I put your code just before the axe code, it compiled nicely (I think), I started quake, tried to go to the start map, but I got this instead:

http://image.noelshack.com/fichiers/201 ... rerror.png

Man, this laser axe stuff is more complicated than it should.
by Daya
Mon Jun 17, 2013 7:57 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

So I checked the Hand Grenade tutorial found in the site. Going into this while knowing this won't go well, I attempted anyway. I put ".float axecharge;" at line 221 in defs.qc I included this inside the W_FireAxe function (The lightning bolt is used as a placeholder as I said earlier) : *...
by Daya
Mon Jun 17, 2013 1:45 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

player_shot1(); W_FireQ4Nailgun(); self.attack_finished = time + 0.4; That did it, thanks! (I had to reduce it to 0.2 for both this part and the W_FireQ4Nailgun part so the firerate could really be 0.4 [which is wierd but whatever.]) Anyway here's something I wanted to ask since some times now: wha...
by Daya
Sat Jun 15, 2013 5:51 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

launch_spike (self.origin + '0 0 16', dir + v_right* 0.06 * (random() - 0.5) + v_up* 0.06 * (random() - 0.5)); launch_spike (self.origin + '0 0 16', dir + v_right* 0.06 * (random() - 0.5) + v_up* 0.06 * (random() - 0.5)); Thanks! This is exactly what I'm looking for! Tried fragmachine's code for th...
by Daya
Fri Jun 14, 2013 9:28 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

Thanks to this link, I understood a bit more about the spread: http://www.moddb.com/games/quake/tutorials/random-spray-rifle-part-1 And after some trial & errors, I finally got what I wanted, but the spread only occurs on the top-right corner and bottom-left corner, and I still can't figure out ...
by Daya
Fri Jun 14, 2013 9:32 am
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Re: Some questions for my singleplayer mod...

I duplicated the code, and effectively, it now shoots two nails per shot, but I still can't reduce the firerate even with the self.attack_finished command, and by manipulating the '0 0 16' portion I got some wierd stuff: for example, if I put '5 5 16', the change occurs only at which direction I go,...
by Daya
Thu Jun 13, 2013 5:05 pm
Forum: Programming Tutorials
Topic: Some questions for my singleplayer mod...
Replies: 27
Views: 14295

Some questions for my singleplayer mod...

EDIT: I just realized I put this thread on the wrong section. Can someone move it to where it belong? Hello everyone, I felt in love with Quake last year, it has become my favourite FPS, And I'd like to mod it. Now, please remember that I'm kind of a noob at programming, so except a lot of questions...