Page 1 of 1
qvm generator
Posted: Wed Mar 19, 2008 11:00 pm
by Luka38
so im trying to make a mod, i already made a ww2 mod just making new player models and guns (didn't even make maps or textures for guns

), but i wan't to make a real mod, not just changing models. I have some basic script knowlege, i redone the g_active.c file just to change player speed. so how do i convert that to a .qvm file. I have seen that there r some generators that automaticly generate the .c file to a .qvm
so i would really appreciate ur help
btw: for u pro coders, where can i change the camera, i want to try third person view

Re: qvm generator
Posted: Fri Mar 21, 2008 12:09 am
by corncobman
You can run the .bat files which are included with the source code to compile the .qvm files.
For thirdperson, have a look in the cgame code, specifically in cg_view.c
Re: qvm generator
Posted: Sun Mar 23, 2008 3:24 pm
by Luka38
ok, if i want to convert cgame.c to cgame.qvm i need to star cgame.bat
but it just creates vm folder but nothing in it. how do i make it convert it, do i need to set something or edit cgame.bat file
thanks
Re: qvm generator
Posted: Sun Mar 23, 2008 5:55 pm
by corncobman
try running it from the command prompt and look at any error messages which may appear.
Re: qvm generator
Posted: Sun Mar 23, 2008 6:38 pm
by Luka38

this is what i get after running it in cmd, so what should i do
Re: qvm generator
Posted: Sun Mar 23, 2008 8:11 pm
by TTK-Bandit
Re: qvm generator
Posted: Sun Mar 23, 2008 9:31 pm
by corncobman
try opening the bat file with notepad and adding to the top of it:
set PATH=path to your bin folder
eg
set PATH=C:\Quake3\code\lcc\bin
The problem is the bat files need to know where lcc.exe and other compiling programs are.
Re: qvm generator
Posted: Tue Mar 25, 2008 10:54 pm
by Luka38
now i have edited the cgame.bat file and putted the path (but the path to my bin is C:\Quake 3\lcc\bin)
and when i run it these are the files i get in the vm folder

Re: qvm generator
Posted: Wed Mar 26, 2008 8:25 am
by AnthonyJ
Check at the path given in the top of your cgame.q3asm files (and edit as appropriate)
Re: qvm generator
Posted: Wed Mar 26, 2008 12:49 pm
by TTK-Bandit
seriously, if you had checked the link I posted you would not need any questions, you would either use q3devel to compile it, or you would have found the tutorial on how to
compile with the id compilers.
Re: qvm generator
Posted: Fri Mar 28, 2008 11:37 pm
by Luka38
yeah... sry... thx btw, this is a great program. i wonder why ppl on the internet always say that u should use microsoft visual c++ for q3 modding, this way is much easier.
thx again
Re: qvm generator
Posted: Sat Mar 29, 2008 4:11 am
by TTK-Bandit
well q3devel has no debugging features..
although funny thing is in q3 coding I never actually used debugmode

Re: qvm generator
Posted: Sat Sep 06, 2008 3:45 am
by Rawing
I've a problem with q3devel... I've already started programming with C++, but now I'd like to use q3devel. But q3devel has its own code, which isn't changed yet... Anyone can help me how to bring my old code into q3devel?