找回密码
 点一下
查看: 2821|回复: 40

做了一个角色以及一些技能,操作起来挺有手感的

[复制链接]
发表于 2008-7-28 11:30:56 | 显示全部楼层 |阅读模式
自定义攻击模式

混沌噩梦的效果好看
原谅我不截图,因为大部分都是些很实际的技能,原型是Sonic暗影.





Sonic.w3x (94 KB, 下载次数: 37)
请原谅我加了密,毕竟是6天的心血,还有一些创意.



只是一个英雄,攻击A,
                       移动技Q(隐藏移动技,暗影不停的跑会缓慢的增加移动速度,停下来时会减少),
                       特殊技F(暂停隐藏移动技10秒),
                       技能1:伪·暗影C: 夏特的身体会模糊不清,忽隐忽现,
                       技能2:混沌噩梦:游戏中看效果
                       技能3:混沌力量:移动速度附加攻击力,等级越高攻击力越高(被动)
                       大技:真·暗影E:CD短,耗魔一般,突然出现在前方一定距离,并且留下暗影
发表于 2008-7-28 11:42:29 | 显示全部楼层
我不素闲人,GA也很少有闲人滴~~
回复

使用道具 举报

 楼主| 发表于 2008-7-28 11:43:41 | 显示全部楼层
浏览5次,下载0

自己觉得还做得挺有手感的说
回复

使用道具 举报

发表于 2008-7-28 11:59:20 | 显示全部楼层
好罢,我下来看看。
以后LZ还是别把演示放这里鸟
回复

使用道具 举报

发表于 2008-7-28 12:00:59 | 显示全部楼层
额额额,加密的,我没看到,我没看到
回复

使用道具 举报

 楼主| 发表于 2008-7-28 12:01:40 | 显示全部楼层
我觉得吧,只有水区有高手

牺牲了10%的买身份证涂改液的进度,看在这份上请高手们下载下来看一下吧
回复

使用道具 举报

 楼主| 发表于 2008-7-28 15:06:17 | 显示全部楼层
浏览50下载4,6回复其中一半是我自己的回复...............
这是我绝对没有想到的

难道全是路过么?
回复

使用道具 举报

发表于 2008-7-28 17:16:04 | 显示全部楼层
既然如此我也路过了~~~~

那些路过的人,其实是不想说你~~做点东西吧还要加密,怕别人知道干脆就藏着别拿出来呀
回复

使用道具 举报

发表于 2008-7-28 17:18:12 | 显示全部楼层
炫耀就一点意义也木有咯
回复

使用道具 举报

 楼主| 发表于 2008-7-28 17:35:05 | 显示全部楼层
里面的半T半J,函数蹩脚,触发没有什么研究价值又不是拿来给新手看的,高手又都会做,我怕地型被偷用了

这个地图拿出来纯粹是为了找合作伙伴
这个帖子原名是:找闲人和我一起做地图
回复

使用道具 举报

发表于 2008-7-28 17:47:45 | 显示全部楼层
我是闲人,我是GA最闲的人(也有可能是熊猫- -)但我不做图,因为我很闲
回复

使用道具 举报

发表于 2008-7-28 17:49:43 | 显示全部楼层
LZ很喜欢在水区发严肃的帖子……汗一个……支持拿来主义……不鼓励加密…………………………
当然加密地形另论
回复

使用道具 举报

 楼主| 发表于 2008-7-28 17:57:29 | 显示全部楼层
LS说话很好听

function Huth_3_0 takes nothing returns boolean
    return Huth_3_1() and Huth_3_2()
endfunction

function Huth_3_3 takes nothing returns nothing
    local unit u =udg_heroic[udg_h_1]
    local unit e =GetEnumUnit()
    call UnitDamageTarget( u, e, I2R(GetUnitAbilityLevel(u, 'Ara2')*5), false, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_SONIC, WEAPON_TYPE_ROCK_HEAVY_BASH )
    call throw(e,bj_RADTODEG * Atan2(GetUnitY(e) - GetUnitY(u), GetUnitX(e) - GetUnitX(u)),36,6)
    set u=null
    set e=null
endfunction
function Huth_3_A takes nothing returns nothing
     local timer t=GetExpiredTimer()
     local unit u=udg_heroic[udg_h_1]
     local integer n=GetStoredInteger(udg_GC,I2S(H2I(t)),"n")
     local integer ck_n=GetStoredInteger(udg_GC,I2S(H2I(t)),"ck_n")
     local unit e1=I2U(GetStoredInteger(udg_GC,I2S(H2I(t)),"e1"))
     local unit e2=I2U(GetStoredInteger(udg_GC,I2S(H2I(t)),"e2"))
     local unit e3=I2U(GetStoredInteger(udg_GC,I2S(H2I(t)),"e3"))
     local real x
     local real y
    call ForGroupBJ( GetUnitsInRangeOfLocMatching(400.00, GetUnitLoc(u), Condition(function Huth_3_0 )), function Huth_3_3 )
if n==20 then
            call SetUnitAnimationByIndex( u, 21 )
         else
        endif
if ck_n==1 then
            set ck_n=ck_n+1
            call StoreInteger(udg_GC,I2S(H2I(t)), "ck_n",ck_n)
            set x=GetUnitX(e1) + (50) * Cos(GetUnitFacing(e1)+180 * bj_DEGTORAD)
            set y=GetUnitY(e1) + (50) * Sin(GetUnitFacing(e1)+180 * bj_DEGTORAD)
        else
            set ck_n=ck_n-1
            call StoreInteger(udg_GC,I2S(H2I(t)), "ck_n",ck_n)
            set x=GetUnitX(e1) + (50) * Cos(GetUnitFacing(e1) * bj_DEGTORAD)
            set y=GetUnitY(e1) + (50) * Sin(GetUnitFacing(e1) * bj_DEGTORAD)
        endif
    call DisplayTextToPlayer( Player(0), 0, 0, I2S(ck_n) )
if n>1 then
            set n=n-1
            call StoreInteger(udg_GC,I2S(H2I(t)), "n",n)
            call SetUnitX(e1,x)
            call SetUnitY(e1,y)
         else
            call FlushStoredMission(udg_GC,I2S(H2I(t)))
            call IssueImmediateOrder( u, "stop" )
            call DestroyTimer(t)
            call RemoveUnit(e1)
            call RemoveUnit(e2)
            call RemoveUnit(e3)
            call PauseUnit( u, false )
            call SetUnitInvulnerable( u, false )
          endif
    set t=null
    set u=null
    set e1=null
    set e2=null
    set e3=null
endfunction
function Huth_3 takes nothing returns nothing
    local timer t=GetExpiredTimer()
    local unit u=udg_heroic[udg_h_1]
    local unit e1=CreateUnit(Player(udg_h_1-1),'n001',GetUnitX(u),GetUnitY(u),0)
    local unit e2=CreateUnit(Player(udg_h_1-1),'n002',GetUnitX(u),GetUnitY(u),0)
    local unit e3=CreateUnit(Player(udg_h_1-1),'n001',GetUnitX(u),GetUnitY(u),0)
    local real x=GetUnitX(e1) + (25) * Cos(GetUnitFacing(e1) * bj_DEGTORAD)
    local real y=GetUnitY(e1) + (25) * Sin(GetUnitFacing(e1) * bj_DEGTORAD)
    call SetUnitVertexColor(e1, 255, 255, 255, 100)
    call SetUnitX(e1,x)
    call SetUnitY(e1,y)
    call StoreInteger(udg_GC,I2S(H2I(t)), "n", 36)
    call StoreInteger(udg_GC,I2S(H2I(t)), "ck_n", 1)
    call StoreInteger(udg_GC,I2S(H2I(t)), "e1", H2I(e1))
    call StoreInteger(udg_GC,I2S(H2I(t)), "e2", H2I(e2))
    call StoreInteger(udg_GC,I2S(H2I(t)), "e3", H2I(e3))
    call TimerStart(t,0.05,true,function Huth_3_A)
    set t=null
    set u=null
    set e1=null
    set e2=null
    set e3=null
endfunction
function Trig_Huth_3_Actions takes nothing returns nothing
    local timer t=CreateTimer()
    call PauseUnit( udg_heroic[udg_h_1], true )
    call SetUnitInvulnerable( udg_heroic[udg_h_1], true )
    call SetUnitAnimationByIndex( udg_heroic[udg_h_1], 20 )
    call TimerStart(t,0.7,false,function Huth_3)
endfunction

//===========================================================================
function InitTrig_Huth_3 takes nothing returns nothing
    set gg_trg_Huth_3 = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_Huth_3, EVENT_PLAYER_UNIT_SPELL_CAST  )
    call TriggerAddCondition( gg_trg_Huth_3, Condition( function Trig_Huth_3_Conditions ) )
    call TriggerAddAction( gg_trg_Huth_3, function Trig_Huth_3_Actions )
endfunction

这是混沌噩梦的T,写得很蹩脚吧,很混乱,这的确是学JASS几天就能写的程度,我没什么好炫耀的
但是这个在T都倒懂不懂的新手面前更混乱,而且也不是值得学习的榜样,我有必要拿出来误导新手么?
回复

使用道具 举报

发表于 2008-7-28 17:59:15 | 显示全部楼层
难道要加密的就这东西?
未命名.jpg
回复

使用道具 举报

 楼主| 发表于 2008-7-28 18:01:34 | 显示全部楼层
,能解密的一般都不稀罕,但是我不想让人随便拿去了
回复

使用道具 举报

发表于 2008-7-28 18:01:51 | 显示全部楼层
引用第13楼迷途滴羊羔于2008-07-28 17:59发表的  :
难道要加密的就这东西?

被羊大人毫不留情面的揭穿~!
回复

使用道具 举报

发表于 2008-7-28 18:03:31 | 显示全部楼层
被楼上毫不留情地指出…………果然很严肃……………………支持最终掌握权力的人!!!!(虽然这样很邪恶)
回复

使用道具 举报

 楼主| 发表于 2008-7-28 18:05:40 | 显示全部楼层
好歹也用了我3天的时间决定游戏模式以及森林的隐藏地形,再加上工序
我觉得这个不算差吧
回复

使用道具 举报

发表于 2008-7-28 18:06:59 | 显示全部楼层
好吧~保护地形值得鼓励……为了其他目的而加密是不鼓励的……………………
回复

使用道具 举报

发表于 2008-7-28 18:09:01 | 显示全部楼层
但关键是,地形往往是米有加密的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-10-1 03:24 , Processed in 0.373621 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表