Forum

Realistic Gatling Gun

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Re: Realistic Gatling Gun

Postby Cobalt » Sat Sep 24, 2011 2:10 am

I agree, doing it yourself without any help is the long way , most the time, but some things depending on your undertaking are left with no other choice but to use trial and error. I try to first use the common sense approach, but when you decompile others progs.dat I have learned that the outputted code is not always going to be a 100% reflection of what was packed in there.

For example, and Frika helped me undertand this better recently when I could not figure it out, is that Frikdec , plus I imagine other ones,
sometimes are unable to calculate accurately a void or a float in some cases, and thats where asking for the help got me out of the mess - no other way sometimes except asking for the help. So always remember if you take apart someone elses code, this can happen, and probably does happen more than most realize.



frag.machine wrote:
dr_mabuse wrote:Decompiling gives me a mess, isnt there a easier way? :(


The easy way is to ask someone how to do. Soon or later you may even get your answer, and actually there's nothing wrong with that, but you won't learn much from that in the end.

The hard way is trial and error. It's boring, time spending and sometimes frustrating, but eventually you'll manage to put things together in a way that works. And you will have learned how and why. And when you start to code your next cool weapon or monster or mod, you'll feel more confident and will manage to create it with a bit less difficulty.
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Realistic Gatling Gun

Postby dr_mabuse » Sat Sep 24, 2011 7:25 pm

Cobalt wrote:So always remember if you take apart someone elses code, this can happen, and probably does happen more than most realize.


Thats the reason i switched my game from Kuroks base to "vanilla" Quake ;D

Kuroks Sourcecode it different from Quakes, and most tutorials wont work with Kurok, unless you change something.
And kuroks reloading code is a bad mess xD
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm

Re: Realistic Gatling Gun

Postby dr_mabuse » Sun Sep 25, 2011 5:23 pm

btw: Is there a good tutorial for creating new weapon pickups?
i only find "add new weapon" tuts, but nothing about adding new pickups.
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm

Re: Realistic Gatling Gun

Postby ceriux » Mon Sep 26, 2011 8:06 pm

why not just go through and read how the others are done?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Realistic Gatling Gun

Postby Nahuel » Mon Sep 26, 2011 8:30 pm

dr_mabuse wrote:btw: Is there a good tutorial for creating new weapon pickups?
i only find "add new weapon" tuts, but nothing about adding new pickups.

It´s very easy, just add a new item in "defs.qc" and "items.qc". you just need copy and rename :)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest