OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: i.Q on 15 Oct 2005, 13:25:38
-
As its not that easy to describe the problem, here a few small videos (< 300kb), to see what its about.
problem:
ITOW (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/itow.avi)
the rocket doesnt get launched the pointed area (by the cursor), but has a negative / to the ground aiming degree.
We do have this problem with most rockets, just these three work and we cant figure out the reason for it. ???
works:
AT 5 (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/at_5b.avi)
ATGM AT 10 (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/atgm_at_10.avi)
9M113 (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/9m113.avi)
these are the three working ones !
(a few values edited out like names and sounds...)
can one see / know the reason that those three do work and the rest not ?
WEAPON
###
class WGL_BMD3AT5BLauncher: WGL_ATGMLauncher
{
ammo="WGL_AT5B";
count=6;
reloadTime=20;
canLock=0;
};
###
class WGL_StaticAT5: WGL_StaticBase
{
scopeWeapon = 2;
scopeMagazine = 0;
magazines[]={WGL_StaticAT5Mag};
};
###
class WGL_StaticAT5Mag: WGL_StaticBase
{
scopeWeapon = 0;
scopeMagazine = 2;
magazineType = 0;
ammo = WGL_AT5B;
count = 1;
};
###
AMMO
###
class WGL_ATGM: AT3
{
indirectHitRange=2.5;
simulation="shotmissile";
simulationStep=0.01;
irLock=1;
manualControl=1;
maxControlRange=3000;
cost=20000;
inittime=0.05;
initspeed=250;
thrusttime=4;
};
###
class WGL_AT5: WGL_ATGM
{
minRange=100; minRangeProbab=0.100000;
midRange=2000; midRangeProbab=0.950000;
maxRange=4900; maxRangeProbab=0.500000;
model="TOW";
thrust=208;
maxspeed=215;
maneuvrability=10.0;
};
###
class WGL_AT5B: WGL_AT5
{
hit=525; indirectHit=240;
};
###
class WGL_AT5B: WGL_AT5
{
hit=525; indirectHit=240;
};
---
ITOW's ammo config
class WGL_BGM71A: WGL_ATGM
{
hit=400; indirectHit=480;
model="\wgl_veh\tow\wgl_towproxy2.p3d";
thrust=295;
maxspeed=320;
maneuvrability=30;
cost=20000;
};
class WGL_BGM71E: WGL_BGM71A
{
hit=570; indirecthit=800;
};
excel based overview (http://intrain.compositiv.com/download/wgl/5.0/screens/compares/guided_missiles.xls)
it could be the config value: model, as except for one exception the three working one do have the BIS TOW model:
model="TOW";
for all values the same:
simulationStep=0.01;
thanks for your suggestions !
-
I assume your custom missile models have correct geometry LOD...?
Lack of one will cause trouble, but not seen it do that though... :(
Have you tried to config test tanks to use some of those working missiles to see whether they work with the tank or not?
If you haven't, try doing that, it may lead you closer to the problem...
If the otherwise working missiles won't work with the ITOW and the tank launching it then it's the tank model (or maybe config) that is somehow fubar...
-
Its probably your models:
- Make sure the missile models have proper named selections
- Make sure the missile models have proper gemoetry LODs and mass
- Make sure the vehicle models' muzzle start/end positions are facing the right direction, and also that the gunner view is in the right spot
If you can't confirm the problem, try this to identify the source of the problem:
- Try using BIS models with your config settings
- Try using the weapons from different vehicles
The first thing I would suggest checking if you confirmed that the models are the problem is to check the mass of the missile. If its too heavy you might need to either decrease the mass or increase its thrust. Thrust will effect the missile's trajectory.
-
ok it seems to be about the unit firing the rockets !
t55 works fine with any type of rocket (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/t55_rockets.avi)
whereas
with t80 they just drop like shit (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/t80_rockets.avi) ;)
could it be that there is relation to the aiming point / why is the aimpoint fixed to some and 'dynamic' / 'moving' on others ?
t80_fixed (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/t80_fixed.avi)
t55_dyn (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/t55_dyn.avi)
itow_fixed (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/itow_fixed.avi)
at5_dyn (http://intrain.compositiv.com/download/wgl/5.0/videos/bugs/at5_dyn.avi)
:crazy:
thanks for your help so for HateR_Kint and Kyle Sarnik ! :)
-
In that case, it probably has something to do with the memory LOD selections for the vehicle models, make sure they have proper muzzle start and end selections for rockets/missiles.