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
 
do any of you guys have access to the "team fortress" or "future vs fantasy" source codes? 
 
TF: http://upload.foppa.dk/files/tf_29src.zip
You should check out Custom TF too, cool stuff added there, like building your character. You could be a thief (invisibility). You could have a special knife and when you stabbed like 5 people you could summon a Shambler who was following and fighting for you! :D ...and other shit that people were adding over the years to their mods. 
 
Here you can read about some features: http://wiki.quakeworld.nu/Original_CustomTF_Version_File
You can find sources on SourceForge etc. 
 
thanks man, much appreciated. 
 
and

http://quakeone.com/forums/quake-help/multiplayer/2798-latest-fvf-2.html

tells me everything I need to know about fvf 
BUMP. 
For people with coding issues. 
Was there already a long discussion at some point in the history of this board for why the Coding Help thread *shouldn't* be a permanent thread? Because it seems like it should be. 
Especially If It Avoids Half-arsed Toss Like This: 
QC Help [EDIT]
Posted by ijazz2 [125.17.68.26] on 2017/02/12 17:17:33
I am making a mod,but it wont compile.
I have spent one year making this plus correcting bugs,and on top of that school.So please,could someone help me? Fix fusion2.zip.

Quaketastic.com ,file in the QC Mistakes dir.

If anyone wants to use this then please put something like
modname/authorname_qc_date in DD/MM/YYYY .ZIP OR .7Z

THANK YOU,

-ijazz



Alos +1 vote for Quake Engines sticky, and Other PC Games thread sticky. Jury's out on CZG's Anus sticky but you can guess where my vote lies. 
FTEQCC Unwarranted Warnings. 
So I tried to clean up my qc a little bit and moved all the precaches in the worldspawn into its own function:
void worldspawn() =
{
(...)
precacheSounds();
precacheModels();
(...)
};


But now FTEQCC spams me with these warnings, even though it obviously works and these sounds are being precached:

player_movement.qc:80: warning F210: Sound "misc/water1.wav" was used but not precached
note: suppressed 12 more warnings about precaches.
Compile finished: ../progs.dat (id format)
Done. 22 warnings


Any way to get it to recognize that the precaches actually take place or disable this warning? I've already removed all other warnings from the source, so it'd be nice to have an actual clean compile for once.

This is in FTEQCC: Feb 11 2017 
 
precache_sound() vs sound() calls go based upon string immediates that are passed in. if you're not using an immediate then fteqcc can't read/check it for you.
I guess you're looping through an array to precache your sounds (thus no immediates, so fteqcc can't see them), so either use the same lookup in your sound calls as in your precache_sound calls, or just '#pragma warning disable F210' to disable those warnings. 
Not Doing Anything That Fancy I'm Afraid. 
I just literally pulled all the precache calls from worldspawn out into a new method:

void precacheSounds() =
{
precacheSound ("misc/menu1.wav");
precacheSound ("misc/menu2.wav");
precacheSound ("misc/menu3.wav");
precacheSound ("misc/torchon2.wav");
precacheSound ("misc/spark.wav");
//and then ~200 more lines of the same...


I'll probably just disable the warning for now. It's easy enough to notice when you've forgotten to precache something. 
And By The Way 
Is there a list of all the pragmas and other interesting settings supported by fteqcc?

I've noticed you can actually do a whole lot of macro fuckery with it, which might turn out to be either really good or really bad... 
What Are You Working On? 
Hmmm... 
Fteqcc Info ... 
Other Fteqcc Info: 
This Is All Very Useful Info! 
Thanks! 
Useful Info Turns Out To Be Eldritch And A Gateway To Evil 
This is madness. I should not be doing this.
http://pastebin.ca/3767491 
Ugh 
Maths help please.

Given that:

1) I know the normal vector of a brush face.
2) I know the texture offset, scale and rotation on that brush face.
3) Quake's standard texture projection is being used (no fancy ETP stuff here, no sir)

How do I then calculate the width and height (in quake units) of a texture pixel as it appears projected on that brush face?

Why do I need to know this? Oh god, please don't ask :( 
Never Mind 
Hacked it in by raycasting from rotated and scaled texture coordinates along the direction of the projection axis onto the face plane and then measuring the distance between the points where the rays hit the plane.

If anyone's wondering, I was tested some retarded idea in Unity. Conclusion: idea was in fact retarded. 
Quake Mod With Deleted Enemies 
Dear Quake 1 community:
I'm looking for a SP mod for Quake 1 restoring the vomiting-tarbabies-Vomitus, the nailgun-ogre and the teleport-Vore/Wizard. I know you have very similar things in the community, but so far have been unable to identify them.
May you help?
Thank you! 
 
I made a mod a while back which restored the ogre nail thing. The grenades are better, waaaay, better.

I'm not saying give up, I'm saying you'll probably be disappointed in that functionality. 
Non-Euclidean Geometry? 
Do there exist mods that add worldportals? If not, how could they be implemented? My understanding of binary space partitioning suggests that this should be possible without wierd, hacky solutions like complicated dynamic camera/teleport setups. 
Generic Question 
Can you guys think of anything that's saved in a standard savegame that is specific to a player's preference?
The only thing I can think of is the player netname, which might not be something you care about in a singleplayer game.
Thinking about how feasible it is to include a savegame file with a map, for reasons 
@charles The Cat 
I may not understand you correctly but...

Xonotic(Dark Places engine) has portals, and a member of Quake One, Nahuel I think, modified the QuakeC(progs.dat) for it to work in regular Quake(again DP only).

I have mapped with it and teleports are not used at all.

HTH's 
1 post not shown on this page because it was spam
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.