maybe knightmare if u want to add cell shading to kmquake2 just copy the code from quake2max
and also you could change your pak file support in kmquake2 cause atm only the sound and console background are changed with a custom pak file unless there is way to change that already that i havent found. example the frag score and weapon ammo counts when ingame.
Post by knightmare on Mar 17, 2018 18:56:40 GMT -5
Not currently. You'll have to do curves the old school way until I eventually get Q3 BSP support of some type added. More likely it'll be the JA format, as Q3's BSP format lacks support for switchable lights and lightstyles. Unfortunately, KMQ2 is presently taking a back seat to another, related project I've been working on.
However, I'll probably have an expanded Q2 BSP format ready before I have Q3 BSP support.
Last Edit: Mar 17, 2018 19:02:01 GMT -5 by knightmare
I have been trying to get a sniper crosshair from action q2 mod to work with kmquake2, works fine with q2pro. I am using the crosshair file from the action mod and renamed it to ch11.pcx then converted it to ch11.tga and put it in the kmquake2.pk3 in the pics folder but no luck just comes up with a flashing square box in game.
this is in the config i use -- alias +sniper "fov 31; sensitivity 8; crosshair 11; echo [scope on]" alias -sniper "fov 120; sensitivity 14; crosshair 6; echo [scope off]"
Post by knightmare on Apr 24, 2018 14:04:27 GMT -5
Have you tried connecting to a dedicated Action Q2 server? KMQ2 doesn't load stock Q2 mods (without them being ported to KMQ2), so if the sniper crosshair is enabled by the mod, it won't show up in KMQ2 unless it's connected to a stock-compatible Q2 server running the mod.
Post by knightmare on Apr 26, 2018 18:34:36 GMT -5
Oh, that uses a direct replacement for the crosshair image instead of being coded as part of the statusbar layout the way the Lazarus mod does. That's a pretty dirty hack and won't work exactly the same in KMQ2 as it does in other engines, as I changed how the crosshair is drawn to support high resolution crosshairs that are scaled down.
The best you can do is play with the crosshair_scale cvar in your aliases. The max value is currently clamped to 5, so add crosshair_scale 5;
in your +sniper alais, and crosshair_scale 1;
(or whatever scale you normally use) in your -sniper alias. The next release of KMQ2 will have this limit increased to 15.
Last Edit: Apr 26, 2018 21:13:00 GMT -5 by knightmare
Post by knightmare on Aug 18, 2018 18:50:11 GMT -5
Macanah, do you have the source code of the rocket arena version running on your server?
After hours of debugging, I figured out that the menu doesn't show because it's not being sent to the KMQuake2 client, while it is being sent to other clients (Q2Max, v3.24).
The menu is coded as part of the HUD layout (when it should be in a general layout via svc_layout), and raw dumps of that in KMQuake2 compared to other engines show that what the server sends to a KMQ2 client is different.
The only conclusion I can draw from this is that KMQuake2 is deliberitely blocked by rocket arena from receiving the correct status layout, and thus is denied the join game menu.
KMQuake2 statusbar layout dump: xv 32 yv 8 picn inventory xv 202 yv 12 string2 "Menu" xv 0 yv 24 17 xv 140 yt 40 stat_string 18 endif if 23 xr -34 yt 32 num 2 21 xr -34 yt 62 num 2 22 xr -64 yt 40 stat_strin g 24 xr -64 yt 70 stat_string 25 endif yb -32 xv 50 pic 0 yb -24 xv 0 hnum if 2 xv 100 anum xv 150 pic 2 endif if 4 xv 2 00 rnum xv 250 pic 4 endif if 6 xv 296 pic 6 endif yb -50 i f 7 xv 0 pic 7 xv 26 yb -42 stat_string 8 yb -50 endif if 9 xv 246 num 2 10 xv 296 pic 9 endif if 11 xv 148 pic 11 e ndif xr -50 yt 2 num 3 14 if 20 xv 0 yb -58 stat_string 20 endif