art distance

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

Post Reply
/*Demoman*/
Posts: 117
Joined: Fri Mar 19, 2004 2:20 pm

art distance

Post by /*Demoman*/ »

hey etpro team I was wonding if you would up the distance of the artillery.. its still based off of the RTCW code and because et maps are bigger... the artillery never reaches where you are aiming.. it'll end up firing short

best example of this is the helms deep map and shooting from the tower

http://www.nd80usa.net/slicks/2004-07-2 ... eep_a3.jpg

in g_weapon.c weapon_artillery

change

Code: Select all

//VectorMA (muzzlePoint, 8192, forward, end); //derek adjusted for distance on big maps like hd
	VectorMA (muzzlePoint, 16000, forward, end);
this allows players to shoot from one side of the map until the end of the other side
User avatar
Kamel
Posts: 243
Joined: Sun Sep 28, 2003 10:17 pm
Location: Florida

Post by Kamel »

+zoom;+attack;-zoom
"Common sense isn't very common."
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

Kamel wrote:+zoom;+attack;-zoom
huh?
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
/*Demoman*/
Posts: 117
Joined: Fri Mar 19, 2004 2:20 pm

Post by /*Demoman*/ »

what does that have to do with the distance :roll:
User avatar
Kamel
Posts: 243
Joined: Sun Sep 28, 2003 10:17 pm
Location: Florida

Post by Kamel »

sry... sleep deprivation does bad things to me
"Common sense isn't very common."
+>V<+CoFFeeeee
Posts: 26
Joined: Sun Jun 20, 2004 10:26 am

Post by +>V<+CoFFeeeee »

:twisted:

anyway, back on topic

maybe it has something to do with the fog
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

+>V<+CoFFeeeee wrote::twisted:

anyway, back on topic

maybe it has something to do with the fog
No, it is very simple, as demoman pointed out. The arty trace is 8192 long. If you try to arty farther than that, it won't work. That isn't an issue in any stock et maps, but is in some customs. Increasing the trace length shouldn't be a big deal, since you don't call arty that often (compared to, say an SMG firing). FWIW, sniper rifles alreayd get a 16384 trace.
send lawyers, guns and money
Post Reply