// a new editor for an old language
QUAKEC STUDIO
A modern IDE for QuakeC, the scripting language behind id Software's original Quake. Edit, compile and launch your mod from one window.
compiling progs.dat
0%
Coming soon. Stay frosty.
QuakeC Studio — weapons.qc
1/*
2 Fires a slow, glowing bolt. Example only.
3*/
4void() W_FireEmber =
5{
6 local entity bolt;
7
8 self.currentammo = self.ammo_cells = self.ammo_cells - 1;
9 sound (self, CHAN_WEAPON, "weapons/lhit.wav", 1, ATTN_NORM);
10
11 bolt = spawn ();
12 bolt.owner = self;
13 bolt.movetype = MOVETYPE_FLYMISSILE;
14 bolt.solid = SOLID_BBOX;
15 bolt.classname = "ember";
16 bolt.effects = EF_DIMLIGHT;
17
18 makevectors (self.v_angle);
19 bolt.velocity = v_forward * 450;
20 bolt.touch = Ember_Touch;
21 bolt.nextthink = time + 5;
22 bolt.think = SUB_Remove;
23
24 setmodel (bolt, "progs/lavaball.mdl");
25 setorigin (bolt, self.origin + v_forward * 8 + '0 0 16');
26};
Planned features
-
Knows QuakeC
Syntax highlighting, go-to-definition and find-references for functions, fields and globals across your whole
progs.src. -
One-key builds
Compile with the QuakeC compiler you already use. Errors show up inline next to the line that caused them.
-
Launch & test
Start your favourite source port with your mod loaded and drop straight into any map.
-
Builtins at hand
Hover docs for builtins like
spawn,tracelineandmakevectors, plus the entity fields indefs.qc.