Author Topic: I don't understand how to make a mod! Please help!  (Read 12912 times)

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
I don't understand how to make a mod! Please help!
« on: April 01, 2009, 11:15:07 pm »
Ok... So I don't really have the knowledge of C that I really need to make myself a mod, but I'm just not happy enough with the mods that are out there and I would like to make my own. I am having a hard time finding good tutorials out there on the net for C. I also do not understand Mingw and Mysys.

I found a mod pack (Tremulous mod pack for Win32) and have made my own custom Qvm with everything that I would like in my mod. But every time I start Tremded, it just says something about g_parsespawnvars. I do not know what to do about this. I have gotten a bunch of different versions of tremded but they all say the same thing. I thought I heard someone saying that you had to compile ALL of tremulous to make it work. Is this true? Also, I know that there is a good tutorial by Rijusin on how to compile tremulous... but it's just to hard for me to understand. After so many steps, I'll run into something that is not working.

Thank you in advance to anyone who replies.
« Last Edit: April 01, 2009, 11:33:09 pm by CrazyTM »

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: I don't understand how to make a mod! Please help!
« Reply #1 on: April 01, 2009, 11:18:18 pm »
Ok... So I don't really have the knowledge of C that I really need to make myself a mod, but I'm just not happy enough with the mods that are out there and I would like to make my own. I am having a hard time finding good tutorials out there on the net for C. I also do not understand Mingw and Mysys.

I found a mod pack (Tremulous mod pack for Win32) and have made my own custom Qvm with everything that I would like in my mod. But every time I start Tremded, it just says something about g_parsespawnvars. I do not know what to do about this. I have gotten a bunch of different versions of tremded but they all say the same thing. I thought I heard someone saying that you had to compile ALL of tremulous to make it work. Is this true? Also, I know that there is a good tutorial by Rijusin on how to compile tremulous... but it's just to hard for me to understand. After so many steps, I'll run into something that is not working.

I would also be happy with just being able to modify the mods that are currently out there.

Thank you in advance to anyone who replies.

OK, so what you do is...

What I really want to do is make my mod something a bit like server X, but a bit more extreme.

nevermind



Actually I didn't really understand your speech, but...
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #2 on: April 01, 2009, 11:24:38 pm »
The g_parsespawnvars is caused by the QVM and tremded being incompatible with one another. You will need a backport patch or a different tremded to solve this. Check out this link (especially the comments at the bottom).

Also, the mod pack is highly outdated. You'll need to get some source code via Subversion, which you can download from this site.

MinGW/Msys/Cygwin: These provide a Unix/Linux-like environment. Tremulous needs this for compilation as it was originally a Linux game (I think...?).

If you do not understand any of the above terms, look them up over at Wikipedia. They are vital to understand in the world of programming/modding and open-source software.

As for actually writing your mod, I refuse to help you. Most of us here consider X to be the lowest of the low (as evidenced by mooseberry's post above ;)).
« Last Edit: April 01, 2009, 11:26:53 pm by Syntac »

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #3 on: April 01, 2009, 11:27:47 pm »
The g_parsespawnvars is caused by the QVM and tremded being incompatible with one another. You will need a backport patch or a different tremded to solve this. Check out this link (especially the comments at the bottom).

Also, the mod pack is highly outdated. You'll need to get some source code via Subversion, which you can download from this site.

MinGW/Msys/Cygwin: These provide a Unix/Linux-like environment. Tremulous needs this for compilation as it was originally a Linux game (I think...?).

If you do not understand any of the above terms, look them up over at Wikipedia. They are vital to understand in the world of open-source software.

As for actually writing your mod, I refuse to help you. Most of us here consider X to be the lowest of the low.

Thank you for replying... I can understand why you don't like server X, but I just think it's fun. I do not really need help writing my mod, compiling is my biggest problem.
« Last Edit: April 02, 2009, 09:31:47 pm by CrazyTM »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #4 on: April 01, 2009, 11:33:11 pm »
Have you any Linux experience? Would it be possible to install Linux on your computer? Windows is a pain in the ass when it comes to this sort of thing.

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #5 on: April 01, 2009, 11:35:05 pm »
.
« Last Edit: April 02, 2009, 09:30:39 pm by CrazyTM »

lol

  • Posts: 61
  • Turrets: +2/-4
Re: I don't understand how to make a mod! Please help!
« Reply #6 on: April 01, 2009, 11:59:31 pm »
As for actually writing your mod, I refuse to help you. Most of us here consider X to be the lowest of the low (as evidenced by mooseberry's post above ;)).

Although i dont like a few of their servers, whats wrong with the human vs human one or the pbot server

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: I don't understand how to make a mod! Please help!
« Reply #7 on: April 02, 2009, 06:37:01 am »
I don't see any mentioning of X in the OPs original post. Why are you jumping his head on assumptions?

Archangel

  • Guest
Re: I don't understand how to make a mod! Please help!
« Reply #8 on: April 02, 2009, 06:50:28 am »
he edited it.

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: I don't understand how to make a mod! Please help!
« Reply #9 on: April 02, 2009, 05:29:54 pm »
I can understand why you don't like server X, but I just think it's fun.
What exactly is that fun? Please explain.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: I don't understand how to make a mod! Please help!
« Reply #10 on: April 02, 2009, 07:53:23 pm »
Stop beating people with sticks as soon as they make any reference to X. Try to be useful and actually help the guy out, instead of wasting everyone's time by turning this topic into yet another flamewar.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #11 on: April 02, 2009, 09:19:20 pm »
Wow. I didn't know that there are so many X haters out there! If I want to make a server like X then what does it matter to you? But anyway. If you're not going to help me, and you just want to talk about how much server X sucks. Then please don't post here. It just clutters everything up!

Ok, so I have downloaded Linux (hours and hours of waiting) and installed it. Of course, trying to get the wireless to work is a huge pain and I still haven't got that working. But what do I do now? I've tried to compile it using the "make" command, but there's always an error.
« Last Edit: April 02, 2009, 09:28:31 pm by CrazyTM »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #12 on: April 02, 2009, 09:46:16 pm »
But what do I do now? I've tried to compile it using the "make" command, but there's always an error.
If you want us to help you, you'll need to be more specific...
Which Linux distribution? What are the errors? What Tremulous code revision are you trying to compile?

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #13 on: April 02, 2009, 09:56:58 pm »
But what do I do now? I've tried to compile it using the "make" command, but there's always an error.
If you want us to help you, you'll need to be more specific...
Which Linux distribution? What are the errors? What Tremulous code revision are you trying to compile?

Ok, so I am using Ubuntu 8.10 and, after executing the "make" command it does this.

make -C src/tools/lcc install
make[1]: Entering directory `/home/michael/Desktop/tremulous-1.1.0-src/src/tools/lcc'
install -s -m 0755 build-linux-x86_64/q3lcc ../
install -s -m 0755 build-linux-x86_64/q3cpp ../
install -s -m 0755 build-linux-x86_64/q3rcc ../
make[1]: Leaving directory `/home/michael/Desktop/tremulous-1.1.0-src/src/tools/lcc'
make -C src/tools/asm install
make[1]: Entering directory `/home/michael/Desktop/tremulous-1.1.0-src/src/tools/asm'
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
cc1: warnings being treated as errors
cmdlib.c: In function ‘_printf’:
cmdlib.c:189: error: format not a string literal and no format arguments
cmdlib.c: In function ‘ExpandPath’:
cmdlib.c:316: error: the address of ‘qdir’ will always evaluate as ‘true’
cmdlib.c: In function ‘ExpandGamePath’:
cmdlib.c:329: error: the address of ‘qdir’ will always evaluate as ‘true’
cmdlib.c: In function ‘Q_getwd’:
cmdlib.c:403: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[1]: *** [q3asm] Error 1
make[1]: Leaving directory `/home/michael/Desktop/tremulous-1.1.0-src/src/tools/asm'
make: *** [tools] Error 2

If this is NOT how to compile it please tell me. Are you supposed to be in the main directory of the source or what?
« Last Edit: April 02, 2009, 10:01:26 pm by CrazyTM »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #14 on: April 03, 2009, 12:52:56 am »
What did you run? Just "make" or something else?
Also, you failed to answer a very important question: What code revision are you using??

And yes, you do need to be in the main source directory (the one with Makefile, COPYING, etc.).
« Last Edit: April 03, 2009, 12:54:49 am by Syntac »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: I don't understand how to make a mod! Please help!
« Reply #15 on: April 03, 2009, 02:25:10 am »
He did say, you're just not looking hard enough.

1.1 is old and doesn't compile quite right with new compilers.
Make a new directory, and type "svn co svn://svn.icculus.org/tremulous/trunk src" and then try again.
(You may need to apt-get install subversion)

If you want what you compile to work with 1.1 then you'll need a backport (patches.mercenariesguild.net, different patches cover different bits, "patch -p0 < file.patch" to apply them, in the same dir as you type make.)
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #16 on: April 03, 2009, 06:22:46 pm »
.
« Last Edit: April 03, 2009, 08:38:25 pm by CrazyTM »

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #17 on: April 03, 2009, 08:38:00 pm »
Ok, I'm back (of course). Modding is quite frustrating. Alright, so I've done everything and then, in the folder with the source and stuff (I used the svn david said to use) I did the "make" command. It seems ok until the bottom when I get this error...

src/SDL12/include/SDL_config_minimal.h:38: error: conflicting types for ‘size_t’
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/include/stddef.h:214: error: previous declaration of ‘size_t’ was here
make[2]: *** [build/release-linux-x86_64/client/cl_curl.o] Error 1
make[2]: Leaving directory `/home/michael/Desktop/maybe/tremsrc'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/michael/Desktop/maybe/tremsrc'
make: *** [release] Error 2

What does this mean?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: I don't understand how to make a mod! Please help!
« Reply #18 on: April 03, 2009, 08:42:09 pm »
32/64bit mixup?

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #19 on: April 03, 2009, 09:47:52 pm »
You need to install libsdl1.2 and libsdl1.2-dev (the latter might install the former automatically, not sure). Also, next time when you get errors, post the entire output of make. Sometimes they occur at the top and wreak havoc later on.

Keep trying, I went through all this too when I switched. There are a whole bunch of packages you'll need to install as you go along.

To get packages, go to System > Administration > Synaptic Package Manager and just search for what you want. It's also possible to use a command-line tool called apt-get, but I don't recommend this for people who are just starting with Ubuntu.
« Last Edit: April 03, 2009, 10:06:50 pm by Syntac »

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #20 on: April 04, 2009, 03:26:42 pm »
Thank you very much. I know there are a lot of packages and I'm new to linux.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: I don't understand how to make a mod! Please help!
« Reply #21 on: April 04, 2009, 05:28:05 pm »
So, did it work? If not, keep posting the errors.

CrazyTM

  • Posts: 11
  • Turrets: +0/-0
Re: I don't understand how to make a mod! Please help!
« Reply #22 on: April 08, 2009, 12:38:19 am »
Yep, it worked  ;D. Thank you for helping me everyone!