☆ベルトアクション作成 Beats of rageスレッド☆ (654レス)
☆ベルトアクション作成 Beats of rageスレッド☆ http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
20: 名前は開発中のものです。 [sage] 2021/02/13(土) 02:09:06.65 ID:IDjzs9Ej maxAttacks 30 maxFollows 30 maxAttackTypes 30 maxFreeSpecials 30 上は Models.txt の一例です、 キャラクターなどの Entity.txt 内の記述に間違いが無いはずなのにエラーが発生する場合は、 Models.txt や Levels.txt 内の設定をチェックしてみても良いかも。 Follow や FreeSpecial はとても便利でついつい多用してしまいますが、 標準の設定では 12になっています。 それらを解除するのが上の max~設定、 メモリーや処理スピードの関係で初期値が低くされているのだと想像します、 昨今のPCであれば上げても特に問題は無いと思います。 http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/20
22: 名前は開発中のものです。 [sage] 2021/02/21(日) 22:41:48.70 ID:ke3KkwTC 便利なスクリプト、敵との距離によって技の変化とか anim runattack loop 0 @script void self = getlocalvar("self"); void target = findtarget(self); int x1 = getentityproperty(target, "x"); int x2 = getentityproperty(self, "x"); int z1 = getentityproperty(target, "z"); int z2 = getentityproperty(self, "z"); if(frame == 0){ if(z1-z2<20 && z1-z2>-20 && x1-x2>-80 && x1-x2<80){ changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL4")); }else if(z1-z2<20 && z1-z2>-20 && x1-x2>-160 && x1-x2<160){ changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL")); } } @end_script ダッシュ(→x2)中に攻撃した場合、敵との距離を測ってFREESPECIAL4と FREESPECIALを距離によって発動するというもの。 毎度おなじ動作ばかりだと飽きやすくなるので、アクセントにどうぞ。 http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/22
341: 名前は開発中のものです。 [sage] 2022/04/28(木) 01:47:31.28 ID:k34JWO6S anim rise @script if(frame==2) { void self = getlocalvar("self"); int MHP = getentityproperty(self, "maxhealth"); if(getentityvar(self,"PNC")==NULL()&&getentityproperty(self, "health")<(MHP/5)) { setentityvar(self,"PNC","On"); setentityvar(self,"PCT",openborvariant("elapsed_time")+1500); spawnAni("FightEF4", 0, 0, 0, "ANI_Follow48"); spawnbind("piyo4", 0, 100, 1); } int incDM = getentityvar(self,9); if(incDM!=NULL()) { if(incDM>20 && getentityproperty(self, "health")<MHP/4) { executeanimation(self,openborconstant("ANI_Follow8")); } if(incDM>20) { executeanimation(self,openborconstant("ANI_Follow9")); } setentityvar(self,9,incDM-=2); } } @end_script これで、攻撃を受けて倒れた時、Healthが20%以下ならピンチモードになり。 蓄積ダメージがあったらピヨリに。 この辺は、Anim Painなどにも記述しておきます。 http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/341
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.033s