guoshining5 发表于 2013-1-13 19:58

CS里脚本的SetModelPath路径设置不会弄

我在http://bbs.3dmgame.com/forum.php?mod=viewthread&tid=3230009这个帖子里看见的脚本第六个收起武器变剑柄,然后我模仿着改了一下,然后就出个错误提示说路径没发现,请教下各位高手这个应该怎么设置呢
NIF路径:E:\Oblivion\Data\Meshes\mycastle\weapon\PlasmaBlades\JEDILightsaberINDIGO1h.nif和JEDILightsaberINDIGO1hHILT.nif

下边是我照着改的脚本
scn a1SwitchWeaponModel
short flag

Begin Gamemode                                                            
if ( player.GetEquipped 0000JediSaber1H ) && ( player.isWeaponout == 1 ) && (flag==0)
   SetModelPath "mycastle\weapon\PlasmaBlades\JEDILightsaberINDIGO1h.nif" 0000JediSaber1H
    player.unequipitemNS 0000JediSaber1H   
player.equipitemNS 0000JediSaber1H
   set flag to 1

elseif( player.GetEquipped 0000JediSaber1H ) && ( player.isWeaponout == 0 ) &&(flag==1)
   SetModelPath "mycastle\weapon\PlasmaBlades\JEDILightsaberINDIGO1hHILT.nif" 0000JediSaber1H
   player.unequipitemNS 0000JediSaber1H   
   player.equipitemNS 0000JediSaber1H
    set flag to 0
endif
end

bluesky404 发表于 2013-1-13 20:03

本帖最后由 bluesky404 于 2013-1-13 20:30 编辑

这个是obse添加的,所以使用obse启动cs吧
推荐安装cse,具体见这里面的安装介绍:http://tesfans.org/oblivion-tools/

guoshining5 发表于 2013-1-13 20:28

bluesky404 发表于 2013-1-13 20:03 static/image/common/back.gif
这个是obse添加的,所以使用obse启动skse吧
推荐安装cse,具体见这里面的安装介绍:http://tesfans.org/obl ...

CSE里添加脚本能用了,为什么CS就不行呢?还有skse是什么?

bluesky404 发表于 2013-1-13 20:30

啊....

是“使用obse启动CS”,我脑残了

bluesky404 发表于 2013-1-13 20:31

cse就是用obse启动cs,而且增加了很多功能

因为是用obse启动cs,所以能够编译那个脚本

PS:那个脚本用到了obse增加的函数,所以你必须有obse才能编译
页: [1]
查看完整版本: CS里脚本的SetModelPath路径设置不会弄