Search found 2918 matches

by Spike
Fri Oct 20, 2017 3:09 pm
Forum: Engine Programming
Topic: [FTE][HALF-SOLVED]Wierd camera inclination bug
Replies: 4
Views: 5820

Re: [FTE][HALF-SOLVED]Wierd camera inclination bug

cl_threadedphysics predates csqc and does not play nicely with it. in order to do so, it would need to invoke csqc on a different thread, but the qcvm is inherently unthreadable (self, temps, locals, etc). the default has always been 0 and it doesn't appear in any menus. the current intended behavio...
by Spike
Tue Oct 10, 2017 2:12 pm
Forum: CSQC Programming
Topic: transition - time in menu.dat
Replies: 3
Views: 5499

Re: transition - time in menu.dat

float animtime = (time - starttime) * FRAMESPERSECOND; float frame = floor(animtime); float alphavalue = animtime-frame; //sawtooth. will reset to 0 any time it would reach 1.0 drawpic(xy, imageforframe(frame), sz, rgb, 1.0, 0); //alpha should be 1-alphavalue if you're using additive alpha. drawpic(...
by Spike
Wed Oct 04, 2017 5:41 am
Forum: Engine Programming
Topic: UWP/DirectX Quake ports?
Replies: 8
Views: 8226

Re: UWP/DirectX Quake ports?

needs d3d11. I started porting fte a while back (primarily because I was curious about what MS consider legacy), but stopped when it came to winrt-only apis which I can't personally use on win7. if someone else wanted to resume the effort, they can find a number of stubs in sys_win.c - just create a...
by Spike
Tue Sep 26, 2017 4:14 pm
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

http://triptohell.info/moodles/win32/ft ... ef_x86.dll tweaks a few things. Hopefully you'll find it to be a little more reliable.

and gecko_create can accept two args, which avoids the need for a separate navigate call.
by Spike
Mon Sep 25, 2017 10:28 pm
Forum: Mapping
Topic: large maps help
Replies: 23
Views: 37021

Re: large maps help

I'm going to need more info... 1: does the 'void' move with the camera? does it suddenly appear? or is it at a fixed boundary regardless of the camera? 2: does the qbsp version that you're using still have 8192 hardcoded into BaseWindingForPlane, or has it already been fixed to deal with larger maps...
by Spike
Thu Sep 14, 2017 8:48 pm
Forum: Modeling
Topic: player model size?
Replies: 5
Views: 6427

Re: player model size?

quake's scale is just generally wrong - everything is larger on the x+y axis than the z axis, which makes getting things scaled properly quite awkward (hence why later games used a total height of 72 instead of 56). so yes, next to a grunt your player model will look like a stick figure. you can get...
by Spike
Thu Sep 14, 2017 6:21 am
Forum: Modeling
Topic: player model size?
Replies: 5
Views: 6427

Re: player model size?

should normally be +/ 16 in the x+y axes. z should descend 24 units below the origin and 32 above. really its just the -z one that needs to match exactly (so that your guy will stand on the ground properly), the others can have a decent amount of slop with no serious issues. QME should report these ...
by Spike
Sun Sep 10, 2017 10:41 am
Forum: CSQC Programming
Topic: FTE:tracebox + tracebox issue
Replies: 2
Views: 4921

Re: FTE:tracebox + tracebox issue

the engine has some collision stuff going on inside it. if you change .solid, mins, maxs, origin, (if solid_bsp: angles, modelindex), then you MUST call setorigin/setsize/setmodel after/for that change. Failure to do so can cause the engine to fail to notice those entities for collisions and possibl...
by Spike
Sat Sep 09, 2017 2:10 am
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

I don't intend to support file:/// at all. It violates the premise of sandboxing. fte://data/ should be used instead. yes libcef appears to be a little crashy still. I don't know what I can do about that, many of the crashes I've seen appear to come from outside of my code (they may still be my faul...
by Spike
Sat Sep 09, 2017 1:48 am
Forum: General Discussion
Topic: Darkplaces or FTEQW for a game?
Replies: 5
Views: 8896

Re: Darkplaces or FTEQW for a game?

r_converteffectinfo can convert dp particles to FTE ones. alternatively just set r_particledesc effectinfo. Be sure to use particleeffectnum as a precache to avoid networking race conditions. r_forceprogramify 1 will get fte's shader system to try to mimic DP. most of dpextensions.qc will work in FT...
by Spike
Thu Sep 07, 2017 1:25 am
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

gecko_keyevent's return value isn't useful. don't bother with it (apparently fte doesn't even set it. hurrah for undefined values). Whaat? So there's no way to click on a link posted on a browser shader applied to a mesh? And there's no way to retrieve informations from webpage too? For example: cl...
by Spike
Wed Sep 06, 2017 7:35 pm
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

normalised texture coords isn't the same as a normalised/unit vector. really it just means you want: //simplied IE_MOUSEABS inputCursorOrg = [scanx, chary]; //drawing void Gecko_Draw(vector gpos, vector gsize) { vector psize = (vector)getviewprop(VF_SCREENPSIZE); //query the current physical screen ...
by Spike
Mon Sep 04, 2017 12:35 am
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

gecko_navigate(GECKO_SHD,GECKO_URL); you're doing that every single frame... equivelent to hitting refresh every single frame... so yeah, you get white (default background colour) because its too busy re-requesting the page. call it just once, straight after gecko_create, or read the next paragraph....
by Spike
Sun Sep 03, 2017 3:54 pm
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

http://triptohell.info/moodles/win32/fteplug_cef_r5147_3.3112.1658.zip I updated my code to work with the latest version of libcef. It *should* work... it might also blow up. such is life. Extract to your quake dir. You can use the menu_downloads thing to enable the plugin (there should also be a pr...
by Spike
Sat Sep 02, 2017 2:38 pm
Forum: CSQC Programming
Topic: FTE + WEB browsing = libCEF or Berkelium
Replies: 29
Views: 21251

Re: FTE + WEB browsing = libCEF or Berkelium

ignore berkelium. its unmaintained, you don't want that security risk. (you may need to use the plug_load command to explicitly load it. if nothing else it should say if there were missing libraries or not). try http://triptohell.info/moodles/win32/debug/fteplug_cef_x86.dll I ought to try updating l...