hey i've been having a lot of trouble with while loops in qc. for some reason everytime i make a while loop and run it crashes in game? here's some of my code that crashes when i call the function in game.
/*
=====================================
=============Sprint Function ...
Search found 112 matches
- Sat Jan 14, 2012 10:57 pm
- Forum: QuakeC Programming
- Topic: while loop trouble ?
- Replies: 5
- Views: 2136
- Sat Jan 14, 2012 10:34 pm
- Forum: QuakeC Programming
- Topic: Dead space like tps zooming action
- Replies: 24
- Views: 5955
Re: Dead space like tps zooming action
In the console type:
fov 90 (enter ... look at what is onscreen)
fov 60 (enter ... look at what is onscreen)
fov 30 (enter ... look at what is onscreen)
fov 10 (enter ... look at what is onscreen)
Then type fov 90 in console to restore to what is probably normal.
You can mess with the zoom on a ...
fov 90 (enter ... look at what is onscreen)
fov 60 (enter ... look at what is onscreen)
fov 30 (enter ... look at what is onscreen)
fov 10 (enter ... look at what is onscreen)
Then type fov 90 in console to restore to what is probably normal.
You can mess with the zoom on a ...
- Tue Jan 10, 2012 12:57 am
- Forum: QuakeC Programming
- Topic: Adding an impulse to quake when player spawns
- Replies: 4
- Views: 1535
Re: Adding an impulse to quake when player spawns
you would type the function corresponding to that impulse there for example here's my impulse code
you would take the reload(); and type it in client connect i believe if im not mistaken
Code: Select all
if(self.impulse == 14)
reload();- Sun Jan 08, 2012 7:37 pm
- Forum: Modeling
- Topic: Modeller Wanter (Is this allowed?)
- Replies: 62
- Views: 47164
Re: Modeller Wanter (Is this allowed?)
ye your going to add on to the games that died on moddb in the psp scene which makes it look even worse cause there hasn't even been a "LEGIT" release of RagePSP and its already died
- Sun Jan 08, 2012 6:59 am
- Forum: Modeling
- Topic: Modeller Wanter (Is this allowed?)
- Replies: 62
- Views: 47164
Re: Modeller Wanter (Is this allowed?)
how many projects gave you started?
- Sat Jan 07, 2012 4:43 am
- Forum: QuakeC Programming
- Topic: sprites
- Replies: 2
- Views: 1285
sprites
Hey i was wondeirng how sprites work. most the guys i talked to said they never used sprites but i was told that muzzle flashes,smoke coming from guns are sprites. so i was wondeirng how you would code sprites in and are sprites like naimations where you have image sequence like image one is the ...
- Thu Jan 05, 2012 6:35 am
- Forum: Engine Programming
- Topic: psp engine stuff
- Replies: 17
- Views: 4527
Re: psp engine stuff
well im doing it for the pc and thats where i test it. when it works there then i port it to the psp thats why i was trying to find the function but couldnt.
- Mon Jan 02, 2012 3:29 am
- Forum: Engine Programming
- Topic: psp engine stuff
- Replies: 17
- Views: 4527
Re: psp engine stuff
yes i know its there but i need to use the function in qc and it wont work
- Thu Dec 29, 2011 10:47 pm
- Forum: QuakeC Programming
- Topic: weapon slots
- Replies: 2
- Views: 1380
Re: weapon slots
umn the am = 0; is suppose to be there . what i did was copy the original weapon cycle and paste it but dleete all the other weapons and add in mine. and i added axe and stuff and still got the same error. also i cant replace the old cyclewepaon with mine is cuz i have to make 2 of them one for ...
- Wed Dec 28, 2011 12:47 am
- Forum: Engine Programming
- Topic: psp engine stuff
- Replies: 17
- Views: 4527
Re: psp engine stuff
sv_maxspeed on server side, cl_forwardspeed and such on the client side.
[The rest of the stuff in your post is QuakeC stuff. Any question like "If I'm in the game and I want X to happen when Y happens" is QuakeC and doesn't have anything to do with the engine.]
start off with the psp controls ...
[The rest of the stuff in your post is QuakeC stuff. Any question like "If I'm in the game and I want X to happen when Y happens" is QuakeC and doesn't have anything to do with the engine.]
start off with the psp controls ...
- Wed Dec 28, 2011 12:42 am
- Forum: QuakeC Programming
- Topic: weapon slots
- Replies: 2
- Views: 1380
weapon slots
hey sniperz227, im having problem with some of my code. what i codded was weapon slots (primary and secondary weapons). i made a seperate weapon slot called weapon_slots.qc that looks like this :
/*
====================
Primary Weapon Cycle
====================
*/
void () NewWeaponCycle =
{
local ...
/*
====================
Primary Weapon Cycle
====================
*/
void () NewWeaponCycle =
{
local ...
- Fri Dec 23, 2011 2:07 am
- Forum: QuakeC Programming
- Topic: Trace Lines
- Replies: 1
- Views: 1142
Trace Lines
Hey I was wondering if someone could explain Tracelines to me.... im realizing for my mod i will have to use tracelines for some of my functions and it would be nice to know how they work and stuff so i know how to code them(ex. traceline to see if a bullet hit the player).
Thanks sniperz227
Thanks sniperz227
- Sun Dec 18, 2011 10:11 pm
- Forum: Engine Programming
- Topic: psp engine stuff
- Replies: 17
- Views: 4527
Re: psp engine stuff
ahh ok smart jukkiJukki wrote:we jus used impulses and time in qc to see if you have pressed the impulse twice
- Sun Dec 18, 2011 10:11 pm
- Forum: QuakeC Programming
- Topic: Iron Sights/scope
- Replies: 10
- Views: 2631
Re: Iron Sights/scope
omg thanks i got it and im reading the code and theres a lot of stuff i could use just trying to understand it is the difficult part
- Sun Dec 18, 2011 6:11 pm
- Forum: QuakeC Programming
- Topic: Iron Sights/scope
- Replies: 10
- Views: 2631
Re: Iron Sights/scope
ye im using firefox and ill just use ie instead to dl it thanks 