Question About High Trajectory

Question About High Trajectory

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
fc14159
Posts: 153
Joined: 06 Jul 2007, 17:27

Question About High Trajectory

Post by fc14159 »

Hi everyone, I'm making a mod and I have a question. Because my mod is supposed to be realistic, the shells shot from cannon go pretty fast. The problem is that when I turn the cannon to high trajectory, it takes the shells half a minute to fall back down. Is there a way to make the shells fall down faster?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Nope...

All I can suggest is script the unit to use a different weapon with lower velocity when firing in HT.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

But be careful though because having different terrain heights can mean you need different velocities.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Same with my grenadier...

I changed his weapon to a rocket launcher-ish thing that fired at 45 degrees...

Try this weapon out and tell me if you like it, you may need a custom object of some sort to make it look like a shell.

Code: Select all

[MORTAR1]
{
Name=Infantry Mortar;
WeaponType=MissileLauncher
cratermult=0;
craterboost=0;
Model=;
lineofsight=1;
turret=1;
RenderType=1;
SoundHit=IMPACT6;
SoundStart=SHOT04;
areaofeffect=150;
Impulsefactor=.5;
StartVelocity=400;
WeaponAcceleration=10;
WeaponVelocity=500;
Range=1500;
ReloadTime=5;
edgeeffectiveness=.3;
Smoketrail=0;
trajectoryheight=.5;
Accuracy=1500;

[Damage]
{
default=150;
}
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

there will be when KDR's patch goes in; you'll need to set weapons gravity to something higher. currently, impossible.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Hmm. I'll bet this could be done with LUA.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Nope, Lua cannot change a projectile's in-flight behaviour AFAIK.

Also, isn't it realistic to have shots travel for a minute? Shooting stuff that's 30km away would have quite some travel time.
User avatar
fc14159
Posts: 153
Joined: 06 Jul 2007, 17:27

Post by fc14159 »

Well, I've decided to leave the high trajectory as it is, but thanks for telling me it can't be changed...
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: Question About High Trajectory

Post by 1v0ry_k1ng »

fc14159 wrote:mod is supposed to be realistic
fc14159 wrote:takes the shells half a minute to fall back down.
but that is pretty realisitic?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Map based gravity issues?
Post Reply

Return to “Game Development”