@name Zero G Field
@inputs 
@outputs PropCount
@persist Prop:array Last Cur
@trigger 
runOnTick(1)
Last=Cur
if(first()){Last=curtime()-0.015}
Cur=curtime()
Time=Cur-Last


findInSphere(entity():pos(),3000)
findIncludePlayerProps(owner())
findIncludeClass("vehicle")
Prop=findToArray()
Props=vec(0,0,600.9)
PropCount=Prop:count()

for(C=1,Prop:count()){
    E=Prop[C,entity]
    Gravity=Props
    if(E:type()=="prop_vehicle_airboat"){Gravity=vec(0,0,392.4725)}
    if(E:type()=="prop_vehicle_jeep"){ 
        if(E:model()=="models/vehicle.mdl"){
            Gravity=vec(0,0,935) #Jalopy
        }else{Gravity=vec(0,0,920)} #Jeep
    }
    E:applyOffsetForce(Gravity*Time*E:mass(),E:massCenter())
}
