Venom gun in ET


([ToC]Death) #1

What do I need to put the Venom in ET (Code of course, I have the C++ compiler right here and the whole Venom stuff in src\game\g_weapons.c (is that the right file) but is there anything extra to add to make it work or any other files i need to edit besides src\game\g_weapons.c?). I might also put the Tesla gun in to, but let’s stick to the Venom for now.


(Ragnar_40k) #2

You need to get a permission from Activision to add stuff from RtCW to another game (like bani did for ETPro).


([ToC]Death) #3

i emailed support@activision.com and support@idsoftware.com and i didnt get responses from both:(.


(Mark.C) #4

activision are very good at replying to e-mails. So good that i asked them if i could convert a map from RTCW to ET, well that was well over 2 years ago now, and i still haven’t had a response. And in the meantime, the map has been converted by someone else.


([ToC]Death) #5

well, can i send someone the files that i have edited and fix (if ther broken) them or modify them to make the venom work?


(Jaquboss) #6

note that you must also change these : bg_misc.c bg_pmove.c bg_public.h g_combat.c cg_weapons.c cg_events.c cg_newdraw.c and more…
BTW: RTCW tesla gun attack is done client-side only, and that can be recommended only for SP…


([ToC]Death) #7

do i just go into the rtcw source code, take the venom stuff and put it in the same files, except in the ET source code? and also, how do i compile the whole ET_SDK folder into a qagame_mp_x86.dll (or what file?). i hav Dev-C++ compiler.


(fretn) #8

it might be better to learn how to program first and then jump into the big ET source code this might save you lots of headaches

(no offense)


([ToC]Death) #9

well, i know alot of things about pc’s i can make websites, make servers, etc etc… i understand the programming but i am just asking… WILL IT WORK IF I TAKE THE VENOM STUFF FROM RTCW SOURCE CODE AND PUT IT IN ET SOURCE CODE


(Jaquboss) #10

it will…
EDIT: But you must take whole tree, and convert something to ET compatibile …
And maybe add some stuff, but that isnt anything hard…


([ToC]Death) #11

ok, thanks :smiley: duz it matter where i paste the stuff that i get from RtCW source into ET source? for example, i take the venom stuff from rtcw source’s cg_weapons.c and can i put it anywhere i want et source’s cg_weapons.c or do i hav to put it in a certain spot


(Loffy) #12

Why don’t you just try some different stuff, and get back with the results? Maybe it works perfect!
//L.


(SCDS_reyalP) #13

If you understood, you wouldn’t be asking that question.

Copy/paste will almost certainly not work by itself. There will most likely be problems you have to resolve, which will require actuallly understanding the code in question. You will also have copy all of the assets required for the venom (which will violate your RTCW EULA, but I guess we have already established that you don’t care about that…)


([ToC]Death) #14

why problems when im just adding sumthing, not modifying anything (like the mp40 or the k43 etc). what is my RTCW EULA and by assets, do you mean how the venom shoots, reloads etc or what?


(SCDS_reyalP) #15

EULA = end user license agreement
Assets = animation/skin/models/sounds. The bits that aren’t code.

The problem (aside from copyright issues) with copying the code is that the RTCW and ET codebases aren’t the same. So you have to find every bit of the venom code, and figure out how to make it fit into the ET code. As Jaquboss suggests, this isn’t terribly hard as far as coding tasks go, but it does require actual thought and understanding.


([ToC]Death) #16

ok, so i contact activision and ask about this and they say “go ahead, you can use the venom and our code in ET”. for the assets, that is all done, i did that first. i will copy the code and then modify it to fit into et correctly. one question first: can i put the code anywhere in a file or duz it have to go in a certain place in the file?


(Nail) #17

I’m afraid you don’t understand enough about coding yet


([ToC]Death) #18

ok, i guess im not yet:( do any of you know a website that has a good walkthrough on C++?


(EB) #19

u’ll need more than a webby buddy.

http://www.siliconbeachtraining.co.uk/resources/programming_resources.htm


(void_slayer) #20

Hold this project off for a few years, in which time you can get a fair knowledge of C++, then start 'r up again. This kind of thing is harder than most people would like for it to be.