Talk:Scripted AI Objects: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (your code is looking really good - a few more comments)
No edit summary
Line 215: Line 215:


BTW: good job so far ! We can move the code to the main article for collaboratively editing it there...--[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 21:11, 29 October 2014 (UTC)
BTW: good job so far ! We can move the code to the main article for collaboratively editing it there...--[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 21:11, 29 October 2014 (UTC)
----
Few things, just to be sure, and to remember :
* a) The missiles object have to be loaded/created only once the fire order have been triggered.
* b) The missile have 3 or 4 states : 1) Ignition (very high acceleration + special 3D light), 2) "Cruise"/fuse mode, with propulsion, 3) last part of the flight, no more fuel, using kinetic energy nad 4) explosion part. The flight behavior is different for each of the state, we must not forget that in the future ai fdm. (The biggest change is for thurst vectoring missiles)
The 4 state have been scripted both in fox2 & missile. They also use 3 differents 3D object each time. (Ignition don't have special model)
The explosion part could be separeted from the missile object itself and be generic, as the smoke part.
* c) We will have trajectory calculation. We must understand that time is a frame time. At high speed, and low fps, large distance could be traveled, and this must not affect missile/object behavior.
* d) Just a request for the future : I saw lot of calculation in flightgear, and we will have a lot here. Could we, please for once, directly code/calculate in SI units...
* e) What do you think about unguided/unpropelled munition. Actually this use the submodels system. Couldn't we add them here ? This would greatly simplify weapon system.
* f) In the fdm part we have to not forget : "Parachute" bomb, but also missiles that launch itself "sub bomb" like fragmentation or Apache anty runway missile. I'm not syaing we have to code that, but perhaps code in a way we could include that after.
* g) Anyways the code you wrotten here is very clear, and my remarks earlier concerns futur developppement.
—[[User:5H1N0B1|5H1N0B1]] ([[User_talk:5H1N0B1|Talk]] | [[Special:Contributions/5H1N0B1|contribs]]) 16:26, 30 October 2014 (UTC)
[[User:5H1N0B1|Every day, from everything and everybody, there is a truth to learn]] ([[User talk:5H1N0B1|talk]]) 15:29, 30 October 2014 (UTC)
95

edits

Navigation menu