press ~ for console

// a new editor for an old language

QUAKEC STUDIO

A modern IDE for QuakeC, the scripting language behind id Software's original Quake. Write code, press Play and watch it change in the running game, with a compiler, an agent and a map editor built in.

compiling progs.dat 0%

Coming soon. Stay frosty.

QuakeC Studio - ember_mod

ProjectSymbols

  • progs.src
  • defs.qc
  • subs.qc
  • combat.qc
  • weapons.qc
  • client.qc
  • player.qc
  • maps
  • start.map
  • scenarios
  • ember_bounce.scn
  • AGENTS.md

Entities58

  • worldspawn
  • player #1
  • ember #212
  • info_player_start
  • light ×24
  • func_door ×2
  • trigger_once ×3

weapons.qc client.qc

 1void() W_FireEmber =
 2{
 3    local entity bolt;
 4
 5    sound (self, CHAN_WEAPON, "weapons/lhit.wav", 1, ATTN_NORM);
 6    bolt = spawn ();
 7    bolt.owner = self;
 8    bolt.movetype = MOVETYPE_FLYMISSILE;
      bolt.movetype = MOVETYPE_BOUNCE;
      bolt.cnt = 1;  // bounces left
 9    bolt.classname = "ember";
10    bolt.effects = EF_DIMLIGHT;
11
12    makevectors (self.v_angle);
13    bolt.velocity = v_forward * 450;
14    bolt.touch = Ember_Touch;
15    setorigin (bolt, self.origin + '0 0 16');
16};

Gamepaused at 12.8s

ember #212

Propertiesember #212

classname
"ember"
origin
'412 -96 88'
velocity
'450 0 0'
movetype
MOVETYPE_FLYMISSILE
effects
EF_DIMLIGHT
nextthink
17.80
touch
Ember_Touch
owner
player #1

Ask about this entity

Agentcheckpoint 3

Make the ember bounce off one wall before it explodes.

  • symbol.references Ember_Touch, 3 refs
  • edit.apply weapons.qc +6 -1
  • compile 0 errors, 0.21s
  • scenario.run ember_bounce 1/1

1 hunk to reviewAcceptReject

@ember #212 Ask, or type / for commands

Problems 0ConsoleDebugger

]save weapons.qc
progs.dat compiled in 0.21s: 0 errors, 0 warnings
hot reload: 2 functions replaced, 58 entities kept, map kept
ember #212 touched world at '412 -96 88' (bounces left: 0)

Planned features