Search found 170 matches

by DusterdooSmock
Thu Aug 26, 2010 11:24 pm
Forum: QuakeC Programming
Topic: Reload Help
Replies: 16
Views: 5128

I'm using the FTEQCC GUI v3343.

But, i have a question about my code; will the part in "weapons.qc" play the whole animation, or do i have to add something to it?
by DusterdooSmock
Thu Aug 26, 2010 9:52 pm
Forum: QuakeC Programming
Topic: Reload Help
Replies: 16
Views: 5128

I think that i defined $shotrel1, but if i didn't what do i have to do to define it?

This is what i have so far:

-- Top of "player.qc"

//
// Reload
//
$frame shotrel1 shotrel2 shotrel3 shotrel4 shotrel5 shotrel6 shotrel7 shotrel8 shotrel9 shotrel10 shotrel11 shotrel12 shotrel13 shotrel14 ...
by DusterdooSmock
Wed Aug 25, 2010 10:21 pm
Forum: QuakeC Programming
Topic: Reload Help
Replies: 16
Views: 5128

I looked at that tutorial, and i'm pretty sure that i didn't do this right:

void() player_sreload1 =
{
self.frame = $shotrel1;
self.think = player_sreload2;
self.nextthink = time + 4;
reload ();
};

Because, when i try to compile i get this error:

"weapons.qc:56: error: Unknown frame macro ...
by DusterdooSmock
Wed Aug 25, 2010 2:43 am
Forum: QuakeC Programming
Topic: Reload Help
Replies: 16
Views: 5128

Ok, i did some looking around in "player.qc" and i came up with this:

// At the top of "player.qc"
$frame shotrel1 shotrel2 shotrel3 shotrel4 shotrel5 shotrel6


// A little bit after that
void() player_sreload1 = [$shotrel1, player_sreload2 ] {self.weaponframe=1;};
void() player_sreload2 ...
by DusterdooSmock
Mon Aug 23, 2010 11:39 pm
Forum: QuakeC Programming
Topic: Reload Help
Replies: 16
Views: 5128

Reload Help

I'm using this tutorial to add reloading to the shotgun in quake.

http://www.moddb.com/games/solitude/tutorials/adding-reloading-to-quake

I've already replaced the model, and it's fully textured and animated, but i need help to call the animation and play a sound when the gun reloads.


Please ...