Vanilla备份:小正太与某自重不能君[关卡制作问答]

作者 admin, 2011 三月 11, 21:12:04

« 上一篇主题 - 下一篇主题 »

江户川小狼

#360
引用回复  小清新君


    喷火有修改那个火的OCB呢,我都试过,flame这个火不行,没反应;flame_Emitter2不行 ...
80laocheshou 发表于 2011-4-27 11:59


    falme123我都用过,可行,而且出来的火和你图狠像

dead_dance

#361
MAX,用了你的编辑器,做好之后进入游戏就崩溃,看了下生成的错误提示,貌似是script.dat版本太旧,我拷了一个新版本,就可以进入游戏,但是劳拉瞬移依旧无效。问题是不是出在script文件上?

max

#362
回复 362# dead_dance

你没有用我的工具包里的ng center重新编译脚本?而且,工具包里的ng center应该跟工具包里的ngle对应的,也就是要设置好正确的目录。在说关于"旧"的问题。每次编译脚本,ng scripter都会用ngle/script目录下的script.txt重新编译的,所以只要你重新编译了,就是新的script.dat,当然,如果你没有修改script.txt里面的内容,编译多少次,script.dat都一样的。附上我测试时的脚本;**************************************
;
; Tomb Raider IV Script File
; Release Version 1.00
;
;**************************************

;--------------------------------------
; Platform Definitions
;--------------------------------------

[PSXExtensions]
Level= .PSX
Cut= .CUT
FMV= .FMV

[PCExtensions]
Level= .TR4
Cut= .TR4
FMV= .BIK

;--------------------------------------
; Language Filenames
;--------------------------------------

[Language]
File= 0,ENGLISH.TXT

;--------------------------------------
; Options
;--------------------------------------

[Options]
LoadSave= ENABLED
Title= ENABLED
PlayAnyLevel= ENABLED
InputTimeout= 18000 ; frames * seconds = 60x30
FlyCheat= ENABLED
Security= $55
DemoDisc= DISABLED

;--------------------------------------
; Title
;--------------------------------------

[Title]

LoadCamera= 84246,-533,78233,81622,-1514,78208,40 ;src x,y,z target x,y,z, room
Level= DATATITLE,104

;--------------------------------------
; Levels
;--------------------------------------

[Level]
Name= Tut1
Horizon= ENABLED
Layer1= 160,160,192,7
LoadCamera= 0,0,0,0,0,0,255
Level= DATAtut1,107


dead_dance

#363
怎么用NG CENTER编译?自从NG CENTER能用之后还没摸索过....

江户川小狼

#364
引用怎么用NG CENTER编译?自从NG CENTER能用之后还没摸索过....
dead_dance 发表于 2011-4-27 13:25

http://trle.gmly.info/index.php?doc-view-200
看下这个就会了

dead_dance

#365
终于搞明白了,原来在设置瞬移点之后,在进入游戏测试之前,必须先编译Script文件才可以。现在劳拉终于能瞬间移动了~~设计的谜题可以继续了

小清新君

#366
引用你真真真真的好幽默啊啊啊啊啊~~Q~Q
所以我狠喜欢向你请教问题0.0 哪个COPY的问题解决了,我也不明 ...
江户川小狼 发表于 2011-4-26 17:58
不要这样直白伦家会羞涩的,然后就会把要回答的内容全都忘光光了——就比如你问的分别开门的问题XDDD

引用喷火有修改那个火的OCB呢,我都试过,flame这个火不行,没反应;flame_Emitter2不行 ...
80laocheshou 发表于 2011-4-27 11:59
一片黑还只有声音!!!强烈锤地求此和谐的触发器设置方法!!!

引用终于搞明白了,原来在设置瞬移点之后,在进入游戏测试之前,必须先编译Script文件才可以。现在劳拉终于能瞬 ...
dead_dance 发表于 2011-4-27 17:48
ORRRRZ

江户川小狼

#367
引用不要这样直白伦家会羞涩的,然后就会把要回答的内容全都忘光光了——就比如你问的分别开门的问题XDDD


一 ...
小清新君 发表于 2011-4-27 22:11


    {:4_115:}啊,别啊,咱问的都是临门一脚的问题啊0.0

80laocheshou

#368
回复 361# 江户川小狼


    这好像不是用火来修改的,使用代码编译,然后设定,是这样的!

dead_dance

#369
想使一扇已经被开关打开的门,因劳拉走上某个点而关闭,这该如何实现?

江户川小狼

#370
引用想使一扇已经被开关打开的门,因劳拉走上某个点而关闭,这该如何实现?
dead_dance 发表于 2011-4-28 13:05


    点门,再在你说的某个点设触发器

dead_dance

#371
引用点门,再在你说的某个点设触发器
江户川小狼 发表于 2011-4-28 14:20

莫有用.....

江户川小狼

#372
引用莫有用.....
dead_dance 发表于 2011-4-28 17:32


    如果不是太远的话,用限时门吧

80laocheshou

#373
[i=s] 本帖最后由 80laocheshou 于 2011-4-28 17:47 编辑 [/i]

这样的:我按照教程里的步骤复制代码,AddEffect= 1,ADD_MIST,FADD_ROTATE_180+FADD_CONTINUE_EMIT,JOINT_SINGLE_MESH,
0,0,0,0,0,12,1,MIST_COL_BLUE,6
可是编译的时候失败,有错误0,0,0,0,0,12,1,MIST_COL_BLUE,6
这一条!
原文:Note:
The effect can only be applied to items placed in a movable slot, this is because at the present time static objects cannot be selected in the various trigger windows.
The mist ball will appear to originate from the centre of the movable objects mesh or to be more specific the meshes point of origin.
The size of the ball is determined by the parameter with the value of 12 in script of this example, the value of 12 is the default value.
All script parameters must be assigned a value.
In order for the mist ball to work the object it surrounds must be triggered as in this case of a pickup puzzle_item 5. This trigger should be placed before Lara gets to the mist ball room making sure she can't miss it.


This action trigger activated before Lara reached the mist ball room was then used to produce the actual mist ball, along with this entry in the level section of the script.

AddEffect= 1,ADD_MIST,FADD_ROTATE_180+FADD_CONTINUE_EMIT,JOINT_SINGLE_MESH,
0,0,0,0,0,12,1,MIST_COL_BLUE,6


Known causes of a level crash at run time:

The final parameter after the MIST_COL_XXX parameter being assigned a value of zero.
A value of IGNORE entered in place of a FADD parameter.
In order to have the pickup rotating this action trigger was used, once again the trigger was placed before Lara reached the room.



The Parameter of 12 can be altered to produce different size mist balls. In The Museum, parameters of 24 and 36 were used.

This effect applied to pushables will remove the pushable properties from the object because you can't trigger a pushable object. So this effect cannot be used on pushables.

This effect works on the Guide so it may well work on other animating objects such as enemies.

Different colours can be achieved by changing MIST_COL_BLUE to MIST_COL_GREEN or MIST_COL_RED for example. See the MIST_COL constants for more information.

我按照这个步骤来的,报错!

江户川小狼

#374
引用这样的:我按照教程里的步骤复制代码,AddEffect= 1,ADD_MIST,FADD_ROTATE_180+FADD_CONTINUE_EMIT,JOINT_S ...
80laocheshou 发表于 2011-4-28 17:45


 你英文怎么好0.0