Search found 83 matches

by Stealth Kill
Fri Jun 20, 2008 8:58 pm
Forum: QuakeC Programming
Topic: Don´t drop weapon when ammo 0
Replies: 2
Views: 1459

Don´t drop weapon when ammo 0

Hi,
where can i change it, that the player doesn´t lose his weapon if
self.currentammo is 0?

W_CheckNoAmmo doesn´t do anything.
by Stealth Kill
Wed Jun 18, 2008 1:16 pm
Forum: Engine Programming
Topic: Load value from qc?
Replies: 2
Views: 2011

IceDagger wrote:Hmm...

You could try creating a new cvar and registering it. You could then access it via quakec and just check its value in the engine.
Yes i had the idea too :)
by Stealth Kill
Tue Jun 17, 2008 10:49 pm
Forum: Engine Programming
Topic: Load value from qc?
Replies: 2
Views: 2011

Load value from qc?

How can i draw something when value changes in qc?
i tried this

int blabla;
void SCR_Drawblabla (void)

{



if (blabla == 2)
{
Draw_Fill (-60, 200, 200, 2, 110);
}
else if (blabla == 3)
{
Draw_Fill (60, 200,300, 2, 200);
}


and i added this to
SCR_UPdateScreen

SCR_Drawblabla ();


if blabla ...
by Stealth Kill
Mon Jun 09, 2008 3:23 pm
Forum: QuakeC Programming
Topic: Converting MD2 models to MDL
Replies: 4
Views: 2717

You can use Blender too but u need Preachs MDL exporter plugin.
by Stealth Kill
Mon Jun 09, 2008 12:14 pm
Forum: Engine Programming
Topic: Draw rectangle?
Replies: 2
Views: 1825

I found this in gl_draw.c

=============
Draw_Fill

Fills a box of pixels with a single color
=============
Draw_Fill (50, 50, 10, 2, 0)

It fills a box but i can make 4 lines with it to make a frame.

thanks :)
by Stealth Kill
Sun Jun 08, 2008 2:53 pm
Forum: Engine Programming
Topic: Draw rectangle?
Replies: 2
Views: 1825

Draw rectangle?

I need good ideas how to draw a rectangle.

I used this method

M_DrawTransPic (-20, 39, Draw_CachePic ("gfx/menu/A.lmp") );
M_DrawTransPic (-20, 39, Draw_CachePic ("gfx/menu/B.lmp") );
M_DrawTransPic (-20, 79, Draw_CachePic ("gfx/menu/A.lmp") );
M_DrawTransPic (113, 39, Draw_CachePic ("gfx/menu/B ...
by Stealth Kill
Fri May 30, 2008 9:59 pm
Forum: QuakeC Programming
Topic: Coloured Text?
Replies: 3
Views: 1781

is it possible to make in a standard gl quake engine blue and red text without modifing the conchars?
by Stealth Kill
Wed Apr 16, 2008 8:02 pm
Forum: Engine Programming
Topic: Transparent brush
Replies: 16
Views: 6897

If the engine supports transparent water, is it possible to make transparent walls?
by Stealth Kill
Wed Apr 16, 2008 7:50 pm
Forum: QuakeC Programming
Topic: Bomb doesn´t explode
Replies: 6
Views: 2583

This is my new code

void() func_bomb_target =
{

self.movetype = MOVETYPE_PUSH;
self.solid = SOLID_BSP;
setsize (self, self.mins , self.maxs);
setorigin (self, self.origin);
setmodel (self, self.model);
self.classname = "func_bomb_target";
return;

if (other.classname != "bomb")
BombThink ...
by Stealth Kill
Fri Mar 14, 2008 5:10 pm
Forum: Engine Programming
Topic: Print Net name over head
Replies: 1
Views: 1709

Print Net name over head

Are there any quake engines that print the net name over the player models head?
by Stealth Kill
Wed Mar 05, 2008 7:39 pm
Forum: CSQC Programming
Topic: [Tutorial] CSQC Progress Bar
Replies: 30
Views: 15585

Can I use this with QC?

i don´t know what CSQC is :oops:
by Stealth Kill
Sat Feb 16, 2008 4:23 am
Forum: QuakeC Programming
Topic: Bomb doesn´t explode
Replies: 6
Views: 2583

Bomb doesn´t explode

Hi,

I have a problem.
My "bomb" should explode after 30seconds if it touches the "func_bomb_target" brush but it doesnt explode.



Here is my code


Modified Grenate code
/*
================
W_FireC4
================
*/
void() W_FireC4 =
{
local entity bomb, mpuff;

self.currentammo = self ...
by Stealth Kill
Sun Feb 10, 2008 4:50 am
Forum: General Discussion
Topic: CSPortable
Replies: 3
Views: 1617

CSPortable

Hey,

Here is a video of my Counter Strike mod for
PlayStation Portable.

http://youtube.com/watch?v=FWqAzbPCPYE

i can´t use better textures and Big CS maps aren´t working because PSP has 333mhz and 32mb ram.


It´s a mod for a GL QUAKE engine for PSP.
by Stealth Kill
Thu Feb 07, 2008 9:34 pm
Forum: QuakeC Programming
Topic: Void() NextLevel
Replies: 8
Views: 3984

Thanks for the fast answer :D :D
by Stealth Kill
Wed Feb 06, 2008 5:44 pm
Forum: QuakeC Programming
Topic: Void() NextLevel
Replies: 8
Views: 3984

Void() NextLevel

Hi,

I need some help my maps arent changing when aim_aztec ends
it changes to aim_usp but when aim_usp ends it changes again to aim_aztec.


void() NextLevel =
{
local entity o;

if (mapname == "aim_aztec")
{
if (!cvar("registered"))
{
mapname = "aim_usp";
}
else if (!(serverflags & 1 ...