すぐ消える
nwn -> hcr, cep, prc, hak, etc.
スポンサーサイト
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
--/--/-- --:--:--| スポンサー広告| trackback(-) comment(-)
LetoScriptメモ

NWN Builders呪文の消し方をみて、そういえばとメモを奥底から探し出してみた。
これが役に立つヒトっているんだろうか?

かなり古い情報でいろいろ間違ってると思う。
で、下のメモをunicornでやりたいヒトのために、一応phoenixとunicornの違いを簡単に。(というかそんな奇特なヒトには説明が必要だとは思わないけど…。)

phoenix
<gff:add 'FirstName' {type='string' value='hoge' setifexists=True}>
unicorn
add /FirstName, Value => qq{hoge}, Type => gffLocString, SetIfExists => TRUE;
phoenix
<gff:set 'Str' {type='byte' value=(<gff:get 'Str'>+1)}>
unicorn
/Str = /Str+1;

と書けば書くほど役に立つとは思えないので終了。

種族 @racialtypes.2da
<gff:set 'Race' 0>

性別 @gender.2da
<gff:set 'Gender' 0>

顔の絵 @portrats.2da
<gff:set 'Portriat' 'dw_f_01_'>

能力値
<gff:set 'Str' 10>
<gff:set 'Str' <gff:get 'Str'>+1>
<gff:set 'Dex' 10>
<gff:set 'Dex' <gff:get 'Dex'>+1>
<gff:set 'Con' 10>
<gff:set 'Con' <gff:get 'Con'>+1>
<gff:set 'Int' 10>
<gff:set 'Int' <gff:get 'Int'>+1>
<gff:set 'Wis' 10>
<gff:set 'Wis' <gff:get 'Wis'>+1>
<gff:set 'Cha' 10>
<gff:set 'Cha' <gff:get 'Cha'>+1>

スキル @skills.2da
<gff:add 'SkillList/[1]/Rank' {value=1 set='byte' setifexists=True}>
<gff:add 'LvlStatList/[0]/SkillList/[1]/Rank' {value=1 set='byte' setifexists=True}>
<gff:add 'SkillList/[1]/Rank' {value=<gff:get 'SkillList/[1]/Rank'>+1 type='byte' setifexists=True}>
<gff:add 'LvlStatList/[0]/SkillList/[1]/Rank' {value=<gff:get 'LvlStatList/[0]/SkillList/[1]/Rank'>+1 type='byte' setifexists=True}>

<gff:set 'SkillPoints' 1>
<gff:set 'LvlStatList/[0]/SkillPoints' 1>
<gff:set 'SkillPoints' (<gff:get 'SkillPoints'>+1)>
<gff:set 'LvlStatList/[0]/SkillPoints' (<gff:get 'LvlStatList/[0]/SkillPoints'>+1)>

HP
<gff:set 'HitPoints' (<HitPoints>+1)>
<gff:set 'LvlStatList/[0]/LvlStatHitDie' (<LvlStatList/[0]/LvlStatHitDie>+1)>
<gff:set 'MaxHitPoints' (<MaxHitPoints>+1)>
<gff:set 'CurrentHitPoints' (<CurrentHitPoints>+1)>
<gff:set 'PregameCurrent' (<PregameCurrent>+1)>

AC
<gff:set 'NaturalAC' 1>
<gff:set 'NaturalAC' <gff:get 'NaturalA'>+1>

セーブ
<gff:set 'fortbonus' 1>
<gff:set 'fortbonus' (<gff:get 'fortbonus'>+1)>
<gff:set 'reflexbonus' 1>
<gff:set 'reflexbonus' (<gff:get 'reflexbonus'>+1)>
<gff:set 'willbonus' 1>
<gff:set 'willbonus' (<gff:get 'willbonus'>+1)>

特技 @feat.2da
<gff:add 'FeatList/[_]/Feat' 1>
<gff:add 'LvlStatList/[0]/FeatList/[_]/Feat' 1>

<gff:replace {name='Feat' value=0 DeleteParent=true}>

特殊能力 @spells.2da
<gff:add 'SpecAbilityList' {type='list'}>
<gff:add 'SpecAbilityList/Spell' {type='word' value=1}>
<gff:add 'SpecAbilityList/[_]/SpellFlags' {type='byte' value=1}>
<gff:add 'SpecAbilityList/[_]/SpellCasterLevel' {type='byte' value=3}>

系統 @spellschools.2da
<gff:add 'ClassList/[1]/School' {type='byte' value='0' setifexists=True}>
<gff:delete 'ClassList/[1]/School'>
<gff:get 'ClassList/[1]/School'>

呪文の準備 @spells.2da, metamagic.2da
<gff:add 'ClassList/[1]/MemorizedList1/[1]/Spell' {type='word' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList1/[1]/SpellFlags' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList1/[1]/Ready' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList1/[1]/SpellMetaMagic' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList2/[1]/Spell' {type='word' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList2/[1]/SpellFlags' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList2/[1]/Ready' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/MemorizedList2/[1]/SpellMetaMagic' {type='byte' value='0' setifexists=True}>
削除
<gff:delete 'ClassList/[1]/MemorizedList3/[1]/Spell'>
<gff:delete 'ClassList/[1]/MemorizedList3/[1]/SpellFlags'>
<gff:delete 'ClassList/[1]/MemorizedList3/[1]/Ready'>
<gff:delete 'ClassList/[1]/MemorizedList3/[1]/SpellMetaMagic'>
取得
<gff:get 'ClassList/[1]/MemorizedList3/[1]/Spell'>

呪文の記憶 @spells.2da, metamagic.2da
<gff:add 'ClassList/[1]/KnownList3/[_]/Spell' {type='word' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/KnownList3/[_]/SpellFlags' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/KnownList3/[_]/Ready' {type='byte' value='0' setifexists=True}>
<gff:add 'ClassList/[1]/KnownList3/[_]/SpellMetaMagic' {type='byte' value='0' setifexists=True}>
削除
<gff:replace {name='ClassList/[1]/KnownList4' value='0' DeleteParent}>
取得
<gff:get 'ClassList/[1]/KnownList1/[1]/Spell'>
検索
<for:list <gff:find {name='ClassList/[1]/KnownList1/*/Spell'}>><if:<~>==111>True</if></for>

領域 @domains.2da
<gff:add 'ClassList/[1]/Domain1' {type='byte' value='1' setifexists=True}>
<gff:delete 'ClassList/[1]/Domain1'>;

名前変更
<gff:set 'FirstName' 'hoge'>
<gff:set 'LastName' 'hoge'>

解説文
<gff:set 'Description' 'hoge'>

尻尾 @tailmodel.2da
<gff:add 'Tail' {value=1 type='byte' setifexists=True}>

翼 @wingmodel.2da
<gff:add 'Wings' {value=1 type='byte' setifexists=True}>

皮膚の色 左上から0
<gff:set 'Color_Skin' 0>

髪の色 左上から0
<gff:set 'Color_Hair' 0>

刺青の色 左上から0
<gff:set 'Color_Tattoo1' 0>
<gff:set 'Color_Tattoo2' 0>

移動速度 @creaturespeed.2da
<gff:set 'MovementRate' 0>

声 @soundset.2da
<gff:set 'SoundSetFile' 0>

スクリプト
<gff:set 'ScriptOnBlocked' 'hoge'>
<gff:set 'ScriptEndRound' 'hoge'>
<gff:set 'ScriptDialogue' 'hoge'>
<gff:set 'ScriptDamaged' 'hoge'>
<gff:set 'ScriptDeath' 'hoge'>
<gff:set 'ScriptDisurbed' 'hoge'>
<gff:set 'ScriptHeartbeat' 'hoge'>
<gff:set 'ScriptOnNotice' 'hoge'>
<gff:set 'ScriptAttacked' 'hoge'>
<gff:set 'ScriptSpawn' 'hoge'>
<gff:set 'ScriptSpellAt' 'hoge'>
<gff:set 'ScriptUserDefined' 'hoge'>

スポンサーサイト
comment
comments
post
url:
comment:
pass:
himitu: 管理者にだけ表示を許可する
 
trackback
trackback url
trackback
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。