News | Forum | People | FAQ | Links | Search | Register | Log in
Coding Help
This is a counterpart to the "Mapping Help" thread. If you need help with QuakeC coding, or questions about how to do some engine modification, this is the place for you! We've got a few coders here on the forum and hopefully someone knows the answer.
First | Previous | Next | Last
Ranger 
These are some fairly sophisticated questions depending on your expereince with QuakeC and programming in general.

I certainly can't show you how to do these in a forum post but others probably can. But the good news is all or most of these are available as tutorials on this hideously ugly but infinitely helpful website. 
 
Does anyone know any of those old mods where you can play as a monster selected from a menu, and it includes the scr qc in the download?

Or how to decompile their progs.dat?

I think if I take a look how they did it, would help! 
How Can I Run A Command On Player Spawn? 
for example,i want to run "impulse 50" whenever i go to a new map. how can i do this? im using FTEQCC version 6202 and the ironwail 0.8.0. i've tried to use stuffcmd() in PutClientInServer() but it doesnt seem to have any real use since it cant run any command! do you guys know if it is even possible? 
Workarounds 
Guessing it's just sending the command before the client is ready to receive it. But what you've got going on is quite a complicated game of telephone. The server is sending a command to the client, which causes the client to send an impulse back to the server. Why don't we cut out the middleman by simulating the impulse without all the back and forth?

self.impulse = 9;
ImpulseCommands();
 
Compiling Alkaline W/ FTEQCC 
Has anyone tried to compile Alkaline? I'm new to quake coding, but I've had success with copper compiling but sadly not Alkaline, the weird thing too is that it doesn't spit out any errors?? it just refuses to make a progs.dat file. Here are the screenshots

PS C:\Users\Lex> & "C:\Quake\FTEQCC\fteqcc64.exe" -src "C:/ak/src" -o progs.dat -Tfte

Successful compile:
https://i.imgur.com/MsUMjZM.png

All Alkaline .QC files plus devkit stuff
https://i.imgur.com/PhRVJEr.png

No output?? shouldn't there be a progs.dat like it said? I've even moved it to C:/ak for testing.
https://i.imgur.com/WvdStGt.png

Does anyone know? what the heckers... 
Speculation 
Is there any chance it's generating it at
C:\Users\Lex\progs.dat? 
 
I guess it doesn't matter now, I found the GUI somewhere and that "fixed" it 🤔 sadly not at C:\Users\Lex\progs.dat Thanks though! 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2025 John Fitzgibbons. All posts are copyright their respective authors.