qvm generator

Locked
Luka38
Posts: 15
Joined: Mon Oct 29, 2007 4:43 pm

qvm generator

Post 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 :yawn: ), 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 :)
corncobman
Posts: 304
Joined: Fri Aug 08, 2003 7:00 am

Re: qvm generator

Post 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
-It is not the fall that kills you. It's the sudden stop at the end. (Douglas Adams)-

[url=http://www.violationentertainment.com/misc/ccm]-An eyeful a day is bloody fantastic!-[/url]
Luka38
Posts: 15
Joined: Mon Oct 29, 2007 4:43 pm

Re: qvm generator

Post 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
corncobman
Posts: 304
Joined: Fri Aug 08, 2003 7:00 am

Re: qvm generator

Post by corncobman »

try running it from the command prompt and look at any error messages which may appear.
-It is not the fall that kills you. It's the sudden stop at the end. (Douglas Adams)-

[url=http://www.violationentertainment.com/misc/ccm]-An eyeful a day is bloody fantastic!-[/url]
Luka38
Posts: 15
Joined: Mon Oct 29, 2007 4:43 pm

Re: qvm generator

Post by Luka38 »

Image
this is what i get after running it in cmd, so what should i do
TTK-Bandit
Posts: 190
Joined: Sat Sep 07, 2002 7:00 am

Re: qvm generator

Post by TTK-Bandit »

corncobman
Posts: 304
Joined: Fri Aug 08, 2003 7:00 am

Re: qvm generator

Post 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.
-It is not the fall that kills you. It's the sudden stop at the end. (Douglas Adams)-

[url=http://www.violationentertainment.com/misc/ccm]-An eyeful a day is bloody fantastic!-[/url]
Luka38
Posts: 15
Joined: Mon Oct 29, 2007 4:43 pm

Re: qvm generator

Post 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
Image
AnthonyJ
Posts: 130
Joined: Wed Nov 15, 2006 7:51 pm

Re: qvm generator

Post by AnthonyJ »

Check at the path given in the top of your cgame.q3asm files (and edit as appropriate)
TTK-Bandit
Posts: 190
Joined: Sat Sep 07, 2002 7:00 am

Re: qvm generator

Post 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.
Luka38
Posts: 15
Joined: Mon Oct 29, 2007 4:43 pm

Re: qvm generator

Post 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
TTK-Bandit
Posts: 190
Joined: Sat Sep 07, 2002 7:00 am

Re: qvm generator

Post by TTK-Bandit »

well q3devel has no debugging features..
although funny thing is in q3 coding I never actually used debugmode :paranoid:
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

Re: qvm generator

Post 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?
[color=#FF0000]/callvote kick all_enemies[/color]
Locked