Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A question of getting started with Quakec

#1
Hello all,
I have worked with Java,C++,C#, and Python in the past and have always wanted to learn about modding a game. It seemed best not to reinvent the wheel and games like Xonotic and Quake seemed like the best bet.

I have read the inside3d tutorial on Quakec and had some questions on getting started. I am able to follow the tutorial on the ioquake3 wiki where you modify c code and have rockets move at different speeds and such but so far Quakec is a mystery to get working for me.

Most guides recommend doing ./quake -game mymod where mymod is the folder with the qc code and prog.dat file. So here comes some basic questions.

All the linux releases of the code have a dedicated server and client .sh script. I have tried the above command with the server and tried connecting to it and the above command with the client and to no avail.
Do i also need to append which map is desired also? Does the above command go for the server or client or both?

Does the mymod directory need more to it than a qc folder and prog.dat? Some guides I have read said yes and some no. Some guides didnt even say.

Thanks for reading these two basic questions. I want to start learning about quakec and how to modify the game but so far my base(setting up everything) seems a bit rocky.

Thanks

edit: What I have done was make a folder called my mod. Made a folder inside of it called qc and put all the .qc files in there. I followed inside3d's first quakec tutorial where you modify the shotgun and modified how many shotgun shots are fired. I saved the file, compiled it, had warnings and no errors. The folder is located in the same directory of the quake and quake dedicated server.
Reply

#2
Sorry for being bit off topic bur could you link those tutirials plz? :-)
Reply

#3
Here is the list of all of their tutorials
http://www.inside3d.com/tutorials.php?sort=diff
Here is the one I was trying to follow
http://www.inside3d.com/showtutorial.php?id=153
Reply

#4
Thanks :-)
Reply

#5
The quakec files themselves aren't needed, they are just source files after all. I think just progs.dat is enough, and it's not terribly important that it be in its own gamemod directory. Still, you can give it a try in Xonotic by putting progs.dat in ~/.xonotic/mymod/ and starting Xonotic with ./xonotic-linux-sdl.sh -game mymod (or glx of course). The rest of the assets should load just fine from the usual data directory. If they don't, try -game data -game mymod.

If that doesn't work, you can always put progs.dat in ~/.xonotic/data/ and start Xonotic as usual. That's how I always did it. Just don't forget to move that progs.dat away once you're done with your modding!

EDIT: Also, here's a more modern QC syntax introduction: http://dev.xonotic.org/projects/xonotic/..._to_QuakeC
If you want to learn how it's used, it's always good to have a look at the xonotic source code!
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#6
Thanks for the reply. In further inspection I agree that those tutorials look a bit old(The ones i posted). Thanks for the information on how you would set up the mod.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Chat color question Molnija 0 468 11-14-2018, 02:26 AM
Last Post: Molnija
  Quick question ... devnexen 5 1,573 04-15-2018, 05:24 PM
Last Post: Kim Jong-Ben
  New QuakeC virtual machine Lyberta 8 2,398 07-14-2017, 04:01 PM
Last Post: poVoq
  Moving away from QuakeC Lyberta 6 1,929 04-07-2017, 03:35 AM
Last Post: Mario
Brick A script engine written in QuakeC Melanosuchus 9 6,782 10-14-2014, 02:01 AM
Last Post: Melanosuchus
  QuakeC: if chains? WannabeUser 2 2,220 03-13-2014, 07:28 AM
Last Post: WannabeUser
  QuakeC: Variadic macros? WannabeUser 2 1,903 03-10-2014, 05:16 PM
Last Post: WannabeUser
  Learning QuakeC? phim 13 12,326 12-24-2013, 03:07 AM
Last Post: aa
  Question and Rant on the LG and MG changes. GegoXAREN 5 3,179 11-26-2012, 04:16 PM
Last Post: hutty
  Nexuiz 2.3 maps question? kidx 61 33,891 10-24-2012, 02:46 PM
Last Post: hutty

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-