红警尤里爱好者吧 关注:622贴子:8,005
  • 8回复贴,共1

【20170524】NPExt173的间谍飞机SPYP逃出技师CTECH

只看楼主收藏回复

由于在NPExt中有了对于[AircraftTypes]的Crewed=yes支持,所以PDPLANE运输机、SPYP间谍飞机之类的单位就可以在被摧毁的时候空投个兵出来。
但是在我没有对Rules做任何修改时,发现SPYP间谍飞机被击落后,有一定几率逃出E2动员兵,但有更小的几率逃出技师CTECH。。。
后来发现在[General]里有如下条目:
...
SovietCrew=E2
Technician=CTECH
...
所以动员兵和技师来源于这里。
但是为何SPYP被击毁会有几率逃出CTECH呢?
后来我对Rules做了如下修改:
[Genaral]
CrewEscape=100%;50%
Technician=Ghost;CTECH
[SpyPlaneSpecial]
RechargeTime=.016;4
为了测试所以调得比较奇怪;
接着我录了5分钟的屏,数了一下:
我用GGI击落383架SPYP,53次有乘员逃出,其中有7次是Ghost。。。。
wwwwwwwwwwwwwwwwwhy???????
另外,看上去CrewEscape值是无效的?(也就是有被写死在程序里的一个值来控制SPYP的逃生概率?PDPLANE我没做测试)
求探讨。。。
NPExt173


1楼2017-05-24 15:18回复
    补图:


    2楼2017-05-24 15:18
    回复
      http://www.modenc.renegadeprojects.com/Technician
      Defines an InfantryType that is used as crew for the unplayable sides. These sides are the ones not named "GDI" or "Nod" in TS, and the first two or three defined sides in RA2 and YR respectively.
      Technicians also have a 15% probability to spawn as survivors instead of ordinary crew from units and buildings if the unit or building is armed, i.e. it has a weapon or it is occupied. This does not apply in case the game already determined an Engineer should be spawned.
      If at least one crewed building can spawn a technician on destruction or when selling, Technician has to be set to a valid InfantryType, otherwise the game will crash in both cases.
      看来是解决了一半的问题(疑惑),至于只有13.8%的几率逃出,这个等我继续找原因和做实验。


      4楼2017-05-25 09:33
      收起回复