Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New QuakeC virtual machine

#1
So I've decided to write a new QC virtual machine for the Daemon port of Xonotic. DarkPlaces is written in C which is way too old and rewriting it would be slower than starting fresh. I've used the code that is already in the Daemon port but it had quite a few bugs and few very strange and non-portable design decisions. In the result I've rewritten about 90% of it.

Here's the git repo: https://gitlab.com/ftz/qcvm

The code is fully documented and designed to be read by a lot of people.

Now the only thing that is left to port Xonotic to Daemon is to implement all builtin functions. This library has 45 such functions already implemented.
Reply

#2
Am I the only one who doesn't want to deal with vector snapping in Quake 3 (based) engines?
Reply

#3
(06-21-2017, 07:09 PM)Antares* Wrote: Am I the only one who doesn't want to deal with vector snapping in Quake 3 (based) engines?

What is it?
Reply

#4
https://www.q3df.org/forum/viewtopic.php?p=3516#p3516
Or the terminology was velocity snapping.

I don't have first hand experience with it; it was something brought up while playing Race CTS with someone. The way it was presented, was that if the map was rotated to align with 45 degrees, players would be (slightly) slower than if it wasn't- and slightly slower is the a big difference in a mode fighting over fractions of a second.
It'll be largely imperceivable if someone decided to port a map, but then rotate a bit to troll people.
Reply

#5
It can easily be removed.
Reply

#6
That's actually really cool! Thanks for speeding the Daemon port along with this!
Reply

#7
(06-21-2017, 01:32 PM)Lyberta Wrote: Now the only thing that is left to port Xonotic to Daemon is to implement all builtin functions. This library has 45 such functions already implemented.

For us non-experts: 45 out of how many approximately to get Xonotic / QC pogs code compiled with gmqcc running on this?
Reply

#8
Server-side QC: 300.
Client-side QC: 345.
Menu QC: 212.
Reply

#9
Uh, ok... that significantly dampens my enthusiasm for this and explains why the original Xonotic to Daemon porting plan was never getting anywhere. Still great work and lets see where this goes.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Moving away from QuakeC Lyberta 6 915 04-07-2017, 03:35 AM
Last Post: Mario
Brick A script engine written in QuakeC Melanosuchus 9 5,312 10-14-2014, 02:01 AM
Last Post: Melanosuchus
  QuakeC: if chains? WannabeUser 2 1,676 03-13-2014, 07:28 AM
Last Post: WannabeUser
  QuakeC: Variadic macros? WannabeUser 2 1,469 03-10-2014, 05:16 PM
Last Post: WannabeUser
  Learning QuakeC? phim 13 10,513 12-24-2013, 03:07 AM
Last Post: aa
  Lightning Gun / Machine Gun thread _Subzero_ 56 31,942 08-14-2012, 06:49 AM
Last Post: Lee_Stricklin
  A question of getting started with Quakec timetopat 5 4,183 07-02-2012, 07:55 AM
Last Post: timetopat

Forum Jump:


Users browsing this thread:
1 Guest(s)

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