|
本帖最后由 xiaofeifei 于 2024-1-14 22:13 编辑
请各位大佬们给个思路!!!
通过论坛搜索找到了方案,可以用超武刷箱子,但是刷箱子出来的内容只有2中情况,一种是钱,另外一种是随机单位。如何将随机单位这种情况指定内容类型 比如:升级,火力,防御,该如何实现?
这是 晨困挽星 的思路 ,基本上解决了投放箱子的问题,我想要投放出来的箱子指定内容该如何操作呢?
帖子原地址:https://bbs.ra2diy.com/forum.php?mod=viewthread&tid=22947
[Blindbox_SW];SuperWeaponTypes
UIName=Name:Blindbox
Name=Blindbox
IsPowered=false
RechargeTime=1
Type=UnitDelivery
SW.AlwaysGranted=true;无需建筑
SW.AllowAI=no
SW.Range=1.5
Range=1.5
Deliver.Types=Blindbox_M,Blindbox,Blindbox,Blindbox,Blindbox,Blindbox,Blindbox,Blindbox,Blindbox_M,Blindbox
Deliver.Owner=civilian
Cursor=Paradrop
SidebarPCX=Blindboxicon.pcx
SW.FireIntoShroud=no
[Blindbox];随机盲盒;BuildingTypes
Image=CABARR02
Strength=0
CrateBeneath=yes
;CrateBeneathIsMoney=yes
[Blindbox_M];钱箱盲盒;BuildingTypes
Image=CABARR02
Strength=0
CrateBeneath=yes
CrateBeneathIsMoney=yes;钱箱
或者有其他更简单的方式也可以。
|
|