Search found 49 matches

by Rikku2000
Tue Mar 03, 2015 11:05 am
Forum: CSQC Programming
Topic: Q? extern float from progs.dat
Replies: 6
Views: 13538

Re: Q? extern float from progs.dat

You Guys are so nice thank you so much for helping me. :)

So here the result: It works :)
Image
by Rikku2000
Tue Mar 03, 2015 9:32 am
Forum: CSQC Programming
Topic: Q? extern float from progs.dat
Replies: 6
Views: 13538

Re: Q? extern float from progs.dat

Yes but the float is not an Quake Default float...

its an new float for Flashlight time.

thats the code for my hud now:
void drawHud () {
local float health, armor, ammo, weapon;
local float i;

hud_pos_x = 8; // Health
hud_pos_y = screen_size_y - 45;
hud_size_x = 236 / 2;
hud_size_y = 50 ...
by Rikku2000
Mon Mar 02, 2015 9:37 pm
Forum: CSQC Programming
Topic: Q? extern float from progs.dat
Replies: 6
Views: 13538

Q? extern float from progs.dat

Hello guys i am asking you guys is it posible to get an extern float from the progs.dat

Coz in my progs.dat i add the Flashlight and give them an 10sec interval then turn it off

i build with csqc an new Hud so i Need a extern Float from the Progs.dat

here an Image of my new Hud for my Mod.

http ...
by Rikku2000
Wed Jun 27, 2012 5:45 am
Forum: Programming Tutorials
Topic: Water turb for func_water
Replies: 2
Views: 4056

Water turb for func_water

Hey guys may someone need this in his engine i copy the water from quake_life "Half-life" to my engine so on HL maps
for "func_water": here the QuakeC code: float EASEUNDERCURRENT = 16;

void () liquid_movetopos2;
void () liquid_movetopos1;

void () CheckFuncWaterDeath = {
local entity ent;
local ...
by Rikku2000
Sat Jun 23, 2012 3:58 pm
Forum: General Programming
Topic: Remove skin color?
Replies: 3
Views: 3703

Re: Remove skin color?

Thanks but i curently got it it was in "R_TranslatePlayerSkin"

i just comment out this code: /* top = cl.scores[playernum].colors & 0xf0;
bottom = (cl.scores[playernum].colors &15)<<4;

for (i=0 ; i<16 ; i++) {
if (top < 128) // the artists made some backwards ranges. sigh.
translate[TOP_RANGE ...
by Rikku2000
Sat Jun 23, 2012 2:38 pm
Forum: General Programming
Topic: Remove skin color?
Replies: 3
Views: 3703

Remove skin color?

How can i remove the skin color from player model cuz i just need the color on scoreboard player models have skin textures but ingame the color is drawn to model how to deleat it?
by Rikku2000
Thu Jun 14, 2012 6:49 am
Forum: QuakeC Programming
Topic: How to remove weapons for Observer
Replies: 1
Views: 2094

How to remove weapons for Observer

Hello, how i can remove weapons for Observer.

if i am switch to Observer i still have the axe so how i can remove for Observer.

Thanks
by Rikku2000
Mon May 28, 2012 6:04 pm
Forum: Programming Tutorials
Topic: FMod for Quake1 CD Playback(MP3)
Replies: 6
Views: 6423

FMod for Quake1 CD Playback(MP3)

Today i add FMod to my Engine i use the follow code with the current FMod libs works for linux and Windows
/*
Copyright (C) 1996-1997 Id Software, Inc.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free ...
by Rikku2000
Tue May 08, 2012 6:45 pm
Forum: Programming Tutorials
Topic: Fast loading maps...
Replies: 0
Views: 4040

Fast loading maps...

I checkout some on my game i am not sure but on my quake it works.

i command out the follow code: void SCR_BeginLoadingPlaque (void)
{
S_StopAllSounds (true);

/* if (cls.state != ca_connected)
return;
if (cls.signon != SIGNONS)
return; */ i am not sure if it have any result may some can try ...
by Rikku2000
Tue May 01, 2012 5:48 pm
Forum: General Programming
Topic: FrameDraw help...
Replies: 0
Views: 3248

FrameDraw help...

Hey guys i will add an frameDraw to my quake here my code bit:
void Draw_FramePic (int n, int x, int y, int w, int h, int posx, int posy) {
float coordx = (float)posx, coordy = (float)posy;

glBindTexture (GL_TEXTURE_2D, texture[n]);
glBegin (GL_QUADS);
glTexCoord2f (coordx, coordy ...
by Rikku2000
Fri Jan 27, 2012 7:44 am
Forum: OpenGL Programming
Topic: SDLQuake's gl_draw.c
Replies: 6
Views: 16220

Re: SDLQuake's gl_draw.c

There is no cflags for -DGLQUAKE and use for LDFlags: -lopengl32 -lglu32
by Rikku2000
Thu Jan 26, 2012 5:43 pm
Forum: Programming Tutorials
Topic: Missing Model Support (Uber crappy)
Replies: 10
Views: 6544

Re: Missing Model Support (Uber crappy)

Thats remamber me on the Hl2 error model thats show if there was a missing model. its a good idea :)
by Rikku2000
Tue Jan 24, 2012 10:24 am
Forum: Programming Tutorials
Topic: Simple Cusom Maplist
Replies: 7
Views: 5193

Re: Simple Cusom Maplist

I thing MSVC dont handle the crosscompiler. cygwin or mingw can use the same libs and aso the include fieles mingw i a bit faster then cygwin but i perfer it its easy to handle and i use it for wii, gamecube etc too
by Rikku2000
Sun Jan 22, 2012 9:06 pm
Forum: OpenGL Programming
Topic: OpenGL for SDLQuake
Replies: 0
Views: 13539

OpenGL for SDLQuake

here i edit the vid_sdl.c and vid.h on sdlquake to use it with GL.

Code here for vid_sdl.c: /*
Copyright (C) 1996-1997 Id Software, Inc.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software ...
by Rikku2000
Sat Jan 21, 2012 7:27 pm
Forum: Programming Tutorials
Topic: Simple Cusom Maplist
Replies: 7
Views: 5193

Re: Simple Cusom Maplist

I things its kind of my compiler hehe becouse i use cygwin and edit the sys/dirent a bit hehe here my sys/dirent.h: /* Posix dirent.h for WIN32.

Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2010 Red Hat, Inc.

This software is a copyrighted work licensed under the terms of the
Cygwin license ...