[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - chasecam like "Survival Horror Maker"?

chasecam like "Survival Horror Maker"?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Tue Jun 26, 2012 12:17 pm

well, i just compiled the Envenom QC with frikqcc (comes with the archive) and i have the same problems...
the player will not walk up stairs anymore, oh my god fuck this, really!

about fteqcc: i always had problems with this compiler and i dont like fteqcc, compiling the
"clean" qcv1.06 isnt possible with fteqcc unless you remove/change some stuff with the spwanblood function..
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby ceriux » Tue Jun 26, 2012 3:44 pm

its either obviously a bug in the code or its meant to do that..
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: chasecam like "Survival Horror Maker"?

Postby Spike » Tue Jun 26, 2012 4:12 pm

there's only 3 qccs worth considering using.
fteqcc (I'm biased yeah yeah), frikqcc (grr, qccx hacks), qfcc (if you can get the compiler to compile).

every other qcc I've seen has too many vanilla bugs.

fteqcc and frikqcc have quite a few features in common (which I stole). If you're paranoid about qcc bugs, avoiding the use of any fteqcc/qccx extensions can be a good plan, then you can blame the qcc a bit more easily. :P
Either way, both of those qccs have a load of warnings for when things go bad.
With frikqcc, the defaults are good, while fteqcc tries to spam you with pretty much everything it has - there's a -Wno-mundane argument to disable trivial warnings with only non-trivial fixes.

quite a few qcc warnings really ought to be errors, as they're basically fatal. however, refusing to compile a mod that works fine with another qcc due to mere luck is bad karma. :P
If it doesn't run properly, CHECK THE WARNINGS! :)

Regarding the 'clean qcv1.06 spawnblood' issue, what's the problem? got a link?


fteqcc is by no means perfect. :P My local version miscompiles everything resulting in players spawning at '0 0 1' whatever the spawn spot says. All sorts of weirdness there. :D Its generally okay if you avoid the weird undertested/untested features like mixing pointers+structs+arrays which I made the mistake of trying somewhat recently. Had to fix that before I could mess around with the mod, jogi still hates me for suggesting that he use those features too. :(
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Tue Jun 26, 2012 5:05 pm

i think there is something wrong with the players code, but i dont know what (lol)...
It may something small, like self.velocity (or gravity) or something else..

i am not at home atm but i really want to know how i can make the bastard walk up stairs (he doesnt walk up anything, it looks like he is walking against a wall)...

And no, i dont think the player is meant to do that, the envenom maps have stairs, but i cant use them with my fresh compiled source..
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby r00k » Tue Jun 26, 2012 6:06 pm

So you're saying your camera is chasing your own player? Is it possible that you changed the movetype?
If you just want a limited free flight chasecam why not mod the engine and keep it clientside?
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Tue Jun 26, 2012 6:27 pm

no, i dont change ANYTHING, i just downloaded this:



And compiled it and tested it in Darkplaces and you cant walk upstairs anymore, but you can walk
upstairs in the "original" codename envenom....

Maybe i should look for another third person cam...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby ceriux » Tue Jun 26, 2012 10:45 pm

why dont you just take (or learn from) envenoms code and recode it yourself so you dont have those issues?
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: chasecam like "Survival Horror Maker"?

Postby taniwha » Tue Jun 26, 2012 11:17 pm

Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Wed Jun 27, 2012 1:07 pm

User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby ceriux » Wed Jun 27, 2012 11:17 pm

im going to download the source and see if i have the same problem. (but what i meant is get an understanding of how a camera works and try and code it yourself and see if you get the same problems)

i just recompiled using the same source as you and i am able to go up and down stairs. (using frikqcc) i'm running darkplaces i got 1 warning when compiling (SetMovedir: Not all control paths return a vaule) found in subs.qc on line 32. but all seems to work properly. i'm not sure what your problem is. are you testing with a custom map? if maybe its the height of your steps that you cant make it up?
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Thu Jun 28, 2012 12:59 pm

Well, i decompiled now the progs.dat and replaced the client.qc and player.qc and compiled again and now it works...
Strange....

Yes, custommap:

Image
Image

Do you see the wood laying on the floor? the player got stuck even there...
But now it works, problem solved (the unconventional way)...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby r00k » Thu Jun 28, 2012 5:44 pm

You should diff those two files you replaced to learn why it happened.
Btw, why did u decompile the progs.dat when the source is included in that .rar you posted ;)
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: chasecam like "Survival Horror Maker"?

Postby drm_wayne » Thu Jun 28, 2012 7:27 pm

Because the progs.dats source is very different to the posted above...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: chasecam like "Survival Horror Maker"?

Postby RenegadeC » Sat Jul 21, 2012 4:02 am

Weird, I've never had issues ever with the player not being able to climb stairs in Envenom on any version I've ever compiled. The source was written from scratch with minimal QC errors, The Ascension of Vigil is essentially using the same type of stair climbing code as well and there hasn't been an issue. I'll look into it myself however sometime soon.

Edit: It's nice to see someone using something I've made ;) I'll provide support as much as I can.
User avatar
RenegadeC
 
Posts: 391
Joined: Fri Oct 15, 2004 10:19 pm
Location: The freezing hell; Canada

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest