Hello ,
How to change speed falling airdrop
soory bad english
Hello ,
How to change speed falling airdrop
soory bad english
warz_server.sln
time AirDrop
const float RESPAWN_TIME_AIRDROP = 4.0f * 60.0f * 60.0f; // 4 hours
if not mistake me this is the speed
obj->ExpireFirstTime= r3dGetTime() + 5.0f;
No good line :/
- - - Updated - - -
Ok i find thank
Close.
was also looking for it, but it seems that is the physical own, try to increase the weight of the airdrop!
I'm having an issue with the airdrops hanging in the air,is this the same thing as op posted?can someone show me where to fix if it is not..
Using Codex source?
Careful changing this, as it will have an effect on the fall of the plane too.
To slow and the container will take forever to drop.
To fast and the plane will fly down into the ground potentially before the container drop or even after still looks stupid.
Last edited by GetRektBambi; 03-12-15 at 11:00 PM.
I am the same team that italo .
Our need is that the inves -dropping container from falling bombs.
so we need only change the container speed.
Can anyone help ?
we are still correcting the formation of planes
Last edited by ADM-U307; 04-12-15 at 12:31 AM.
This is what needs changing, however both the plane and container are linked, they are the same object..if (m_IsOnTerrain == false && m_Item.itemID == 'ARDR') {
AirDropPos.y-=0.05f;
SetPosition(AirDropPos);
--- Edit try this **
find this
replace with thisif (m_IsOnTerrain == false && m_Item.itemID == 'ARDR') {
AirDropPos.y-=0.05f;
SetPosition(AirDropPos);
PKT_S2C_DropItemYPosition_s n;
n.YPos = AirDropPos.y;
n.spawnID = toP2pNetId(GetNetworkID());
gServerLogic.p2pBroadcastToAll(&n, sizeof(n), true);
Please note: The planes decent will use the container .y position once the container is spawned. so be warned.. to fast and still the plane will fall through the ground. But this will atleast allow the plane to fly almost straight before the container is spawned in.if (m_IsOnTerrain == false && m_Item.itemID == 'ARDR') {
if(m_FirstTime == 1)
AirDropPos.y-=0.05f; //speed of decent of plane..
else
AirDropPos.y-=1.0f; //speed of decent of container..
SetPosition(AirDropPos);
PKT_S2C_DropItemYPosition_s n;
n.YPos = AirDropPos.y;
n.spawnID = toP2pNetId(GetNetworkID());
gServerLogic.p2pBroadcastToAll(&n, sizeof(n), true);
Last edited by GetRektBambi; 04-12-15 at 12:27 AM.
Thank 'll test
- - - Updated - - -
did not work.
when you release the container the plane falls to the ground quickly with the container.
^ I did mention this problem above. Let me think on this today and ill get back to you.Please note: The planes decent will use the container .y position once the container is spawned. so be warned.. to fast and still the plane will fall through the ground. But this will atleast allow the plane to fly almost straight before the container is spawned in.
searching for
AirDropSpawn.y = GetPosition().y+300.0f;
replace
AirDropSpawn.y = GetPosition().y+75.0f;
This part ( 300.0f )
Sorry:: I'm not good at languages
searching for
Last edited by DisPlayMMO; 18-02-18 at 06:53 AM.