|
【WarEditor】War3的WorldEditor研究所
[复制链接]
|
|
发表于 31-3-2006 02:32 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 31-3-2006 02:37 PM
|
显示全部楼层
原帖由 deagle-lim 于 31-3-2006 02:32 PM 发表
谢谢你上面的分享
我。。
再一次的。。。
又失败了。。。。。 
同一个问题
deprotect后jass code会出现error
只要打倒其中一间rax
全部的creeps将变成mega creeps
我不会fix 
...
那么就是deprotect的coding被破坏了,为何你不重写一个呢?
因为deprotect软件的设计有些trigger function并不能被完整的restore。
jass code有时会被它破坏了,如果你想要修复被破坏的jass code等于重新罢了。
重新写那些trigger function会比去查看那里出错然后修复来的容易。
你很会jass code的吗?我没写过jass code,有些sample skill用jass code写的我不会看,你会吗? |
|
|
|
|
|
|
|
发表于 31-3-2006 08:49 PM
|
显示全部楼层
原帖由 wing_s 于 31-3-2006 02:37 PM 发表
那么就是deprotect的coding被破坏了,为何你不重写一个呢?
因为deprotect软件的设计有些trigger function并不能被完整的restore。
jass code有时会被它破坏了,如果你想要修复被破坏的jass code等于重新罢 ...
问题是我不懂如何从头开始做过新的dota
实在太多东西了
有没有其他deprotect的程式啊?
如果deprotect这个程式不能完全的restore会全部的trigger
那么AI版的那些地图是如何deprotect的啊?
我完全不懂JASS code的
只是要修改一些基本的字而已~
**很不甘心叻~
我已经将地形改到和6.x的一抹一样了
修改一些基本item和改一些hero给它balance点
地图的preview和loading screen也换了
尽然败在Jass code的trigger
[ 本帖最后由 deagle-lim 于 31-3-2006 08:55 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 31-3-2006 10:09 PM
|
显示全部楼层
原帖由 deagle-lim 于 31-3-2006 08:49 PM 发表
问题是我不懂如何从头开始做过新的dota
实在太多东西了
有没有其他deprotect的程式啊?
如果deprotect这个程式不能完全的restore会全部的trigger
那么AI版的那些地图是如何deprotect的啊?
...
那些ai版根本不用去deprotect那些map的
直接把ai file汇入map内就可以了嘛。 |
|
|
|
|
|
|
|
发表于 1-4-2006 01:49 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 1-4-2006 07:11 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 1-4-2006 12:28 PM
|
显示全部楼层
接招吧!
扁你一顿后再继续讨论主题。。 |
|
|
|
|
|
|
|
发表于 1-4-2006 02:34 PM
|
显示全部楼层
我刚刚下载地图来玩,
发现...
除了地图美以外就没了... |
|
|
|
|
|
|
|
发表于 2-4-2006 08:43 AM
|
显示全部楼层
TD最新进展...=.=
完成了3个TOWER....
两个可以UPGRADE的..... |
|
|
|
|
|
|
|
发表于 2-4-2006 07:54 PM
|
显示全部楼层
目前完成两个LEVEL 3 TOWER和一个LEVEL 1 TOWER.....
CREEPS有2 LEVEL了...
可是...
又有问题来了.....
有谁知道要怎样SET LIFE....
我的TD不会输的..=.=
CREEPS到100只都不输..=.=
没有LIFE |
|
|
|
|
|
|
|
发表于 2-4-2006 08:35 PM
|
显示全部楼层
原帖由 kjying 于 2-4-2006 07:54 PM 发表
目前完成两个LEVEL 3 TOWER和一个LEVEL 1 TOWER.....
CREEPS有2 LEVEL了...
可是...
又有问题来了.....
有谁知道要怎样SET LIFE....
我的TD不会输的..=.=
CREEPS到100只都不输..=.=
没有LIFE
这需要用Region,在终点画一个大概的范围,然后就取名,就Destination..
在Trigger Set“多少Units踏到那个范围,就放一百,然后做一个Box,记录着现在所剩的Life,Set一百个Unit踏到那个范围就Destroy掉玩家的所有Unit。。” |
|
|
|
|
|
|
|
发表于 3-4-2006 12:55 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 3-4-2006 06:56 AM
|
显示全部楼层
原帖由 MoNeyHearts 于 2-4-2006 08:35 PM 发表
这需要用Region,在终点画一个大概的范围,然后就取名,就Destination..
在Trigger Set“多少Units踏到那个范围,就放一百,然后做一个Box,记录着现在所剩的Life,Set一百个Unit踏到那个范围就Destroy掉玩家的 ...
我试下放PLAYER 12的POWER CIRCLE在那边...
然后在看下TRIGGER..=.=
你可以讲是那里的吗? |
|
|
|
|
|
|
|
发表于 3-4-2006 02:02 PM
|
显示全部楼层
原帖由 kjying 于 3-4-2006 06:56 AM 发表
我试下放PLAYER 12的POWER CIRCLE在那边...
然后在看下TRIGGER..=.=
你可以讲是那里的吗?
不是Circle,是Region..
放置在Tool-->Region |
|
|
|
|
|
|
|
发表于 3-4-2006 04:13 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 3-4-2006 08:16 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 6-4-2006 11:29 AM
|
显示全部楼层
Repick Trigger
Now I want to add a repick trigger to the map. It will work similar to the other hero triggers, but it will work backwards. When any player types -repick, I want to unhide the dummy unit, and make my Pick_Taken variable for that hero 0, so it is available again. I've noticed if you don't make the hero available again, you start running out of heroes. We will use IF statements to determine what hero that player has. After unhiding the dummy unit, we will remove his hero from the game and creating a new wisp for the player to use.
* Pick a hero unit owned by that player.
* Unhide that type of unit.
* Change our variable for that type of unit.
* Remove the hero from the game.
* Create a new wisp for that player.
If you want, you can make the hero available again, by unhiding the unit and setting Pick_Taken[] to 0.
大大们,最后一句我看不懂。
我已经set了picktaken[]to0。
但是unhiding方面却这么都弄不到。。。
能教我这么弄吗??
 |
|
|
|
|
|
|
|
发表于 6-4-2006 11:41 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 6-4-2006 12:21 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 6-4-2006 12:49 PM
|
显示全部楼层
Creating Heroes with Triggers
The last thing we need to do is add a trigger to create the heroes. If you are more advanced in trigger code, you can store your hero types and regions inside an array. This example will keep it rather simple. We will have one trigger for every available hero. It is a little more work, but once you finish the first trigger, you can copy it and alter it for the next hero.
When the wisp steps inside a circle, we will first check to see if that hero is taken. If not, we will create the hero, mark that hero as taken, and remove the wisp from the game. For visual purposes, we will hide that hero on the map so that players know it is unavailable.
My trigger will create the hero in the center of the map. If you want to create them somewhere else, you could make a new region somewhere in your map. Typically, players and teams have different starting places, and you will either one or two regions to place the heroes. Lastly, if you wanted to add a -repick system later, all you would have to do is unhide that type of hero on the map, and set our variable back to zero for that hero.
* Create a trigger for every hero available in your map.
* Hide the hero on the map.
* Create a hero for the owner of the wisp.
* Remove the wisp or chooser unit from the game.
My variable corresponds with my regions. Hero one is region one, and hero two is region two.
这是repick之前的东西。。。
http://world-editor-tutorials.thehelper.net/herochoose.php
谁能解释呢??
 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|