本帖最后由 KillerQ 于 2026-4-30 18:25 编辑
各位大佬好,我刚开始学习制作mod,在尤里复仇里已经添加了一个中国的国家,想制作一个中国自己的主基地模型放到游戏里,已经用3d max制作的模型,材质灯光相机还有展开的动画都制作好了,渲染输出了序列,通过image shaper制作了shp文件,我在网上看了很多教程也有通过ai帮助设置ini配置文件,把shp文件配置好了,现在用中国有中国基地车(调用的苏军基地车模型),展开是中国制造厂,但是中国的制造厂始终无法显示图像一直是空的一个单位,目前只制作了两个shp文件一个是中国制造厂完成的图像,一个是展开动画序列图像,其他的比如破损等还没有制作,输出图像为png带有alpha透明通道图像,渲染图和shp我发网盘链接:
链接: https://pan.baidu.com/s/1vPS8VcUbyXODCCjTGGv4BQ?pwd=1111 提取码: 1111
--来自百度网盘超级会员v9的分享,下面我把我添加的代码也打上,新人第一次发帖有什么不对的地方还请各位指正,请大佬们帮我指点一下什么原因,万分感谢 [China]
UIName=Name:China
Name=China
Suffix=Soviet
Prefix=B
Color=DarkRed
Multiplay=yes
Side=Nod
SmartAI=yes
BuildRadar=CHINARAD
StartingUnits=CHMCV,E2
;VeteranInfantry=YURI
;CostUnitsMult=.85
File.Flag=china.pcx
File.ObserverBackground=obs_china.pcx
File.ObserverFlag=china.pcx
File.LoadScreen=ls800china.shp
File.LoadScreenPAL=mplsc.pal
LoadScreenText.Name=Name:China
LoadScreenText.SpecialName=Name:China
LoadScreenText.Brief=LoadBrief:China
LoadScreenText.Color=DarkRed
MenuText.Status=STT layerSideChina
SuperWeapons=ChineseParaDrop
LoadingTheme=MyChinaMusic
ListIndex=14
[CHMCV]
UIName=Name:CHMCV
Name=China Construction Vehicle
Image=SMCV
Prerequisite=NAWEAP,NADEPT
Strength=1000
Category=Support
Armor=heavy
DeploysInto=ZACNST
TechLevel=10
Sight=6
Speed=4
Owner=China
CrateGoodie=yes
Cost=3000
Soylent=3000
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=MCVSovietSelect
VoiceMove=MCVSovietMove
VoiceAttack=MCVSovietMove
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=MCVMoveStart
CrushSound=TankCrush
DeploySound=PlaceBuilding
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15
Size=6
Trainable=no
Bunkerable=no; Units default to yes, others default to no
OmniCrushResistant=yes; so Crusher can crush Crushable, OmniCrusher trumps Crushable=no, and then OmniCrushResistant trumps OmniCrusher
[ZACNST]
UIName=Name:ZACNST
Name=China Construction Yard
ConstructionYard=yes
Strength=1000
Armor=concrete
TechLevel=-1
Adjacent=2
Factory=BuildingType
UndeploysInto=CHMCV
Sight=8
Owner=China
Cost=3000
Points=80
Power=0
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;DestroyAnim=NACNSTD
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1470,1060,1078
AIBuildThis=yes
TogglePower=no
ProtectWithWall=yes
EligibileForAllyBuilding=yes ;gs This allows a building of this type to count as a sucess in building placement, but only if that option is turned on
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
[ZACNSTMK]
Normalized=yes
UseNormalLight=yes
Rate=300
LoopCount=1
Layer=ground
[ZACNST]
Remapable=yes
Foundation=4x4
Height=6
Image=ZACNST
Buildup=ZACNSTMK
DemandLoadBuildup=true
FreeBuildup=true
OccupyHeight=4
CanHideThings=true
CanBeHidden=False
XDrawOffset=100
YDrawOffset=50
Normalized=yes
UseNormalLight=yes
|