# Dragonian

Member

11

## Community Reputation

0 Neutral

• Rank
Private First Class
1. ## Satchel (PipeBomb) config basics

Ofcourse I found the solution just after I posted this thread I just had to add this into the config.cpp after the definitions: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches { class PipeBomb2 { units[] = {}; weapons[] = {}; requiredVersion = 1.00; requiredAddons[] = {}; }; };

3. ## Flare Trap

Have you tried createVehicle Array insted of createVehicle? Also try to setpos the flare to the location after creating it.
4. ## Artillery ballistic trajectory calculations

Yes. The script would calculate the needed muzzle velocity to fire the shell to a predefined location with given angle. As I said I'm not a mathematician so all of these equations are ripped from someone else's work. This being said, I am not sure at all. Thanks for the script. I try to wrap my head around it and find some results for this.
5. ## Artillery ballistic trajectory calculations

I'm creating my own little piece of artillery script, but I'm having a problem combining the airfriction (drag) to the calculated muzzle velocity. I'm not a mathematician so all these predefined equations are a bit hard for me to understand instantly. This is where I'm at: - Muzzle velocity is said to be: _velocity = sqrt (4.9 * _distance / ((sin _angle) * (cos _angle))) - This is what gets me the airFriction of any shell: _airfriction = getNumber (configFile >> "CfgAmmo" >> _ammo >> "airFriction") - Arma drag model is said to be: _drag = _airfriction * _velocity^2 So with my logic I would then have the real muzzle velocity with this: _velocity + _drag but this actually substracts the overall muzzle velocity because airfriction is a negative value. Even when I substract the _airfriction from the _velocity the shells still fall short. Any corrections or general ideas?
6. ## Reporting when mines placed

Try one of these: SQF format: SQS format: Change the _position and _radius variables to your liking. These look for both the WEST and EAST mine. You can alter the array in the loop to just cover one of the mine types.
7. ## Random spwaning

Try one of these: SQF format SQS format: You can put as many players and markers as you want as long as there is at least one marker for each player (yes, you can put more markers than players to randomize it even more).
8. ## Artillery script

I'm creating my own little piece of artillery script, but I'm having a problem combining the airfriction (drag) to the calculated muzzle velocity. I'm not a mathematician so all these predefined equations are a bit hard for me to understand instantly. This is where I'm at: - Muzzle velocity is said to be: _velocity = sqrt (4.9 * _distance / ((sin _angle) * (cos _angle))) - This is what gets me the airFriction of any shell: _airfriction = getNumber (configFile >> "CfgAmmo" >> _ammo >> "airFriction") - Arma drag model is said to be: _drag = _airfriction * _velocity^2 So with my logic I would then have the real muzzle velocity with this: _velocity + _drag but this actually substracts the overall muzzle velocity for airfriction is a negative value. Even when I substract the _airfriction from the _velocity the shells still fall short. Any corrections or general ideas?
9. ## Freeze now and then what could it be??

Thank you for your suggestions. No, ArmA does not crash after the freezes. It just freezes for several seconds and then carries on normally and does this every few minutes or so. There is no other strange behaviours than the abovesaid but it keeps me from using aircraft, usually gets me killed in difficult situations and is also generally very annoying I now have 5gig of free disk space at my D-drive. That is 5gig excluding the pagefile. The pagefile size is 1,5g - 3g. This has no effect on the situation. Should there be more space? I mean how much can the game suck virtual memory? I used the search feature very actively but were unable to find any similar problems except in this one thread. Many have the freeze lead to crashing but here it's more like frequent standstills. But if you think I have missed a crucial thread somewhere please link it here.
10. ## Freeze now and then what could it be??

Cmon guys... somebody must have some suggestions