Search found 103 matches

by zamirk
Tue Jan 17, 2017 3:47 am
Forum: Simulation Object Development Questions
Topic: Accessing Simulation Variables & Events
Replies: 6
Views: 4939

Re: Accessing Simulation Variables & Events

hi,

you can use GetProperty() method of SimObjects for e.g
simObjectOfAirPlane->GetProperty("Total Velocity", "knots", dParentVel, 0);

i think this will help you :)
by zamirk
Thu Jan 12, 2017 5:34 am
Forum: Simulation Object Development Questions
Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
Replies: 8
Views: 4062

Re: SimConnect_ReportWeaponDamaged() is not working? SimObject API

Hi Clifton, i analyse your message and P3d documentation, i found that by using your approach we can notify detonation of Missile in same Missile SimObject Code (Missile.dll) by using RegisterOnSimObjectRemoveCallback() for callback funstion registration and creating callback function which will not...
by zamirk
Thu Jan 12, 2017 4:06 am
Forum: Simulation Object Development Questions
Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
Replies: 8
Views: 4062

Re: SimConnect_ReportWeaponDamaged() is not working? SimObject API

Hi Clifton,

Thanks for your guidance, will be back if there is any issue.

Regards,
Zamirk
by zamirk
Wed Jan 11, 2017 7:59 am
Forum: Simulation Object Development Questions
Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
Replies: 8
Views: 4062

SimConnect_ReportWeaponDamaged() is not working? SimObject API

hi everyone, i am working on Missile SimObject API, and start with Missile Sample Code for SimObject API, So i have an issue with SimConnect "WeaponDetonated" event which is not call when weapon destroyed or collide with target objects. i found this sample code for reporting to simconnect ...
by zamirk
Tue Jan 10, 2017 8:45 am
Forum: Simulation Object Development Questions
Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
Replies: 3
Views: 2513

Re: P3D Hangs When Missile Speed is Zero--SimObjectAPI

i have another problem,that in SimObject API Missile Sample code, i am checking collision detection of missile with other objects (targets), i detect collision successfully but now i want to call WEAPON_DETONATED_EVENT in another simconnect application? how i can achieve this? i found this SimConnec...
by zamirk
Tue Jan 10, 2017 8:36 am
Forum: Simulation Object Development Questions
Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
Replies: 3
Views: 2513

Re: P3D Hangs When Missile Speed is Zero--SimObjectAPI

hi Mike, thanks, sorry i was busy so did not post reply, let me check that all references are release completely in my code. yes i know its sample code its not complete code but sample code should have complete documentation and proper workable code, because i found some mistakes in that sample code...
by zamirk
Wed Jan 04, 2017 6:24 am
Forum: Simulation Object Development Questions
Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
Replies: 3
Views: 2513

P3D Hangs When Missile Speed is Zero--SimObjectAPI

hi, I am working on SimObject Api, i am using Missile SimObject Sample and control its speed according to my requirements, my problem is that when missile speed reaches to zero Prepar3d hangs and not responding and its frame rate going to zero, i also using Destroy() function of Missile Object when ...
by zamirk
Wed Dec 28, 2016 5:48 am
Forum: SimConnect Interface Questions
Topic: [RESOLVED] AttackerId other than zero for UserAircraft
Replies: 4
Views: 2280

Re: AttackerId other than zero for UserAircraft

Hi Steve,

Thanks for your guidance.

Regards,
Zamirk
by zamirk
Fri Dec 23, 2016 4:08 am
Forum: SimConnect Interface Questions
Topic: [RESOLVED] AttackerId other than zero for UserAircraft
Replies: 4
Views: 2280

Re: AttackerId other than zero for UserAircraft

Thanks FSTramp,

Then how can we get the local user aircraft real Object ID.

Regards,
Zamirk
by zamirk
Thu Dec 22, 2016 8:51 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 4162

Re: SimObject Api, GetProperty and Sim Variables?

Thanks Clifton for you guidance.
by zamirk
Thu Dec 22, 2016 8:45 am
Forum: SimConnect Interface Questions
Topic: [RESOLVED] AttackerId other than zero for UserAircraft
Replies: 4
Views: 2280

[RESOLVED] AttackerId other than zero for UserAircraft

Hi, When I fire a missile, while handling WEAPON_FIRED event in SimProc, dwAttackerID in SIMCONNECT_RECV_EVENT_WEAPON gives value other than zero but in SimConnect.h SIMCONNECT_OBJECT_ID_USER have value of zero. I have coded as per SIMCONNECT_OBJECT_ID_USER. When I fire from any other AI Object crea...
by zamirk
Thu Dec 15, 2016 3:57 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 4162

Re: SimObject Api, GetProperty and Sim Variables?

hi WarpD, my problem was to get Simulation Variables in Missile Sample Code using GetProperty() function, when i was get any variable and print value of this variable in simple text file its shows garbage value so then i post this question here. issue was in writing format in text file i was writing...
by zamirk
Thu Dec 15, 2016 3:51 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 4162

Re: SimObject Api, GetProperty and Sim Variables?

Clifton, no there is no default effect on missile model because when i attach the missile model with my aircraft without using Missile.dll (of Missile Sample Code) then there is no default effect shows, but when i load Missile.dll for attached missile model then its shows some effect like Fired Weap...
by zamirk
Fri Dec 09, 2016 5:08 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 4162

Re: SimObject Api, GetProperty and Sim Variables?

hi Clifton,

Thanks, my problem has been resolved.
One thing more when i attach the Custom Missile ISimObject with my aircraft its show some default effects but in code there is no function call of VisulaEffectOn(), so kindly help me how i can Off this default Visual Effect on attachment?

Thanks..!!
by zamirk
Wed Dec 07, 2016 4:17 am
Forum: Simulation Object Development Questions
Topic: SimObject Api, GetProperty and Sim Variables?
Replies: 11
Views: 4162

Re: SimObject Api, GetProperty and Sim Variables?

hi, Thanks for guiding me i am using another SimObject as parent not SimpleAirplane ISimObject sample, can i get these Sim Variables without implementing SimConnect in Missile ISimObject Sample? Simulation Variable FCS TARGETED OBJECT ID Number NUMBER OF ENGINES Number GROUND VELOCITY Knots ATC ID S...

Go to advanced search