sickle
Global Moderator
Titanious Minion
   
Karma: +31/-49
Posts: 903
tabula rasa
|
 |
« Reply #25 on: August 27, 2010, 10:37:45 PM » |
|
1) Learn JASS
2) Learn vJASS
|
|
|
|
|
Logged
|
|
|
|
hells_maker
Worker
Karma: +0/-4
Posts: 15
Boom Shaka Laka!
|
 |
« Reply #26 on: August 27, 2010, 10:47:43 PM » |
|
not everything has to be done in jass. i do have jass in the map i use it for alot the triggers so...
|
|
|
|
|
Logged
|
That's how i do it!
|
|
|
hells_maker
Worker
Karma: +0/-4
Posts: 15
Boom Shaka Laka!
|
 |
« Reply #27 on: August 27, 2010, 10:54:06 PM » |
|
tweaked the map slightly http://epicwar.com/maps/146781/ here is the newer version. 
|
|
|
|
|
Logged
|
That's how i do it!
|
|
|
Aflacduck
Beta Tester
Titan of the Abyss
Karma: +29/-28
Posts: 1059
|
 |
« Reply #28 on: August 27, 2010, 10:54:15 PM » |
|
Can you people please tell me what exactly you didnt like about the map. 1: im going to take the techno glitch out. 2: im going to give techno a hunter. 3: im going to make sylvanas's stun archer cost more food. 4: im going to put a little more detail in to the map. and no aflac is not me. so please tell me what else you want fixed!  What little you know, my child. You are an extension of myself, an extension which I am using to manipulate the world outside of my personal reach. I am your ultimate creator, I am your master, and you exist to serve me and fulfill my wishes, whether you want to or not. Our cause is a benevolent one, as a dark shadow descends upon this world, and it is your destiny to combat it. Now, rest up, my child. Your future is ahead of you, and I assure you that it will not be an easy one; for the peril that awaits you will change this world, forever.
|
|
|
|
|
Logged
|
|
|
|
sickle
Global Moderator
Titanious Minion
   
Karma: +31/-49
Posts: 903
tabula rasa
|
 |
« Reply #29 on: August 27, 2010, 10:54:58 PM » |
|
I mean, write me a snippet right now that quickly indexes units. It doesn't have to be perfect, just basic unit indexing.
|
|
|
|
|
Logged
|
|
|
|
|
carnerox
Guest
|
 |
« Reply #30 on: August 27, 2010, 11:01:47 PM » |
|
The jass he means is the jass from Darox version
|
|
|
|
|
Logged
|
|
|
|
sickle
Global Moderator
Titanious Minion
   
Karma: +31/-49
Posts: 903
tabula rasa
|
 |
« Reply #31 on: August 27, 2010, 11:06:11 PM » |
|
probably lolol.
|
|
|
|
|
Logged
|
|
|
|
|
carnerox
Guest
|
 |
« Reply #32 on: August 27, 2010, 11:07:17 PM » |
|
 Edit* and there is no way in hell even by testing that his version is made in Jass nor Vjass. And using Jass/Vjass is 100% better than using GUI. So everything should be done in that.
|
|
|
|
« Last Edit: August 27, 2010, 11:09:18 PM by carnerox »
|
Logged
|
|
|
|
AoW_Hun7312
Spearloc
 
Karma: +9/-16
Posts: 205
Warcraft III Map Maker
|
 |
« Reply #33 on: August 28, 2010, 01:04:41 AM » |
|
Worse than the Starcraft 2 Island Defense.
|
|
|
|
« Last Edit: August 28, 2010, 01:13:38 AM by AoW_Hun7312 »
|
Logged
|
|
|
|
|
carnerox
Guest
|
 |
« Reply #34 on: August 28, 2010, 01:43:05 AM » |
|
Worse than the Starcraft 2 Island Defense.
Qft
|
|
|
|
|
Logged
|
|
|
|
kyleep
Global Moderator
Titanious Minion
   
Karma: +43/-17
Posts: 723
|
 |
« Reply #35 on: August 28, 2010, 01:57:50 AM » |
|
Have you guys tried starcraft II island d?
|
|
|
|
|
Logged
|
|
|
|
|
Jumby
|
 |
« Reply #36 on: August 28, 2010, 09:56:42 AM » |
|
Have you guys tried starcraft II island d?
sadly....yes.
|
|
|
|
|
Logged
|
|
|
|
|
MuDDy_PaNDa
|
 |
« Reply #37 on: August 28, 2010, 11:12:43 AM » |
|
Have you guys tried starcraft II island d?
sadly....yes. and it sucked
|
|
|
|
|
Logged
|
 The MuDDy_PaNDa is a new animal. He has been created by the breeding of a panda and a makrura together. Their breeding had created a strange animal covered in mud.
|
|
|
Zen1400
Beta Tester
Titan of the Abyss
Karma: +56/-58
Posts: 2255
|
 |
« Reply #38 on: August 28, 2010, 11:23:28 AM » |
|
Just because something in JASS doesn't mean its better. That said JASS allows for a lot more and if you understand it much faster than GUI.
|
|
|
|
|
Logged
|
|
|
|
sickle
Global Moderator
Titanious Minion
   
Karma: +31/-49
Posts: 903
tabula rasa
|
 |
« Reply #39 on: August 28, 2010, 12:01:20 PM » |
|
Actually, it's pretty true that JASS is better than GUI. Almost always. Infact, GUI is never better unless the JASS is made improperly. - There is no possible O(1) complexity with GUI, ever.
- GUI generates unnecessary code, which creates lag.
- JASS allows (fake) Object-Orientated Programming.
- Timers. Working timers. Timers hundreds times faster.
- Access to natives GUI can not use.
- It takes a week to learn, if that, unless you are slow and dumb.
- Did someone say easy importing and globals blocks?
- You don't need to use extra function calls for no reason.
- Far more readable than long GUI codes if indented right.
- In JASS you can inline many function calls.
- JASS often uses less processing power for the same jobs.
- Possible to clear more leaks and therefore save more RAM.
|
|
|
|
|
Logged
|
|
|
|
Zen1400
Beta Tester
Titan of the Abyss
Karma: +56/-58
Posts: 2255
|
 |
« Reply #40 on: August 28, 2010, 12:12:56 PM » |
|
Yes, JASS is better, everyone knows that. The point is it doesn't matter how well you can code if you come up with complete shit.
|
|
|
|
|
Logged
|
|
|
|
|
Jumby
|
 |
« Reply #41 on: August 28, 2010, 01:08:15 PM » |
|
Yes, JASS is better, everyone knows that. The point is it doesn't matter how well you can code if you come up with complete shit.
*Grabs popcorn and hopes for a good flame war*
|
|
|
|
|
Logged
|
|
|
|
|
carnerox
Guest
|
 |
« Reply #42 on: August 28, 2010, 03:39:27 PM » |
|
LOL
|
|
|
|
|
Logged
|
|
|
|
AoW_Hun7312
Spearloc
 
Karma: +9/-16
Posts: 205
Warcraft III Map Maker
|
 |
« Reply #43 on: August 28, 2010, 07:28:07 PM » |
|
Yes, JASS is better, everyone knows that. The point is it doesn't matter how well you can code if you come up with complete shit.
Jass is just simpler and more intuitive than GUI (which is, infact, Jass), and you'd see it if you compare the two. Here's a simple arithmetic function that deals damage based on two times the unit's intelligence. GUI MySpell Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to MySpell Actions Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (100.00 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
GUI converted JASS (the actual code, minus the pretty colors) function Trig_MySpell_Conditions takes nothing returns boolean if ( not ( GetSpellAbilityId() == 'A000' ) ) then return false endif return true endfunction
function Trig_MySpell_Actions takes nothing returns nothing call UnitDamageTargetBJ( GetTriggerUnit(), GetSpellTargetUnit(), ( 100.00 * I2R(GetHeroStatBJ(bj_HEROSTAT_INT, GetTriggerUnit(), true)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL ) endfunction
//=========================================================================== function InitTrig_MySpell takes nothing returns nothing set gg_trg_MySpell = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_MySpell, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddCondition( gg_trg_MySpell, Condition( function Trig_MySpell_Conditions ) ) call TriggerAddAction( gg_trg_MySpell, function Trig_MySpell_Actions ) endfunction
vJASS scope MySpell initializer Init
globals private constant integer SpellID = 'A000' private constant integer DamageFactor = 100 private constant integer AttributeFactor = 2 private unit caster = null endglobals
private function Actions takes nothing returns nothing set caster = GetTriggerUnit() call Damage_Spell(caster, GetSpellTargetUnit(), (DamageFactor * AttributeFactor * GetHeroInt(caster, true))) endfunction private function Init takes nothing returns nothing local trigger t = CreateTrigger() call GT_AddStartsEffectAction(function Actions, SpellID) endfunction endscope
The vJASS version includes a global block that lets you easily modify the ability id, damage, and attribute factor. This lets you import the spell to different maps easily, and helps you modify it later on. It's also more efficient, having less function calls.
|
|
|
|
« Last Edit: August 28, 2010, 07:30:35 PM by AoW_Hun7312 »
|
Logged
|
|
|
|
Zen1400
Beta Tester
Titan of the Abyss
Karma: +56/-58
Posts: 2255
|
 |
« Reply #44 on: August 28, 2010, 07:29:55 PM » |
|
Seriously is no one getting the message WE KNOW CODING IN JASS IS BETTER, thats not the fucking point.
|
|
|
|
|
Logged
|
|
|
|
hells_maker
Worker
Karma: +0/-4
Posts: 15
Boom Shaka Laka!
|
 |
« Reply #45 on: August 28, 2010, 07:38:44 PM » |
|
so are you guys telling me the jass i have is no good?
|
|
|
|
|
Logged
|
That's how i do it!
|
|
|
|
carnerox
Guest
|
 |
« Reply #46 on: August 28, 2010, 08:03:29 PM » |
|
Show us what you have.
|
|
|
|
|
Logged
|
|
|
|
sickle
Global Moderator
Titanious Minion
   
Karma: +31/-49
Posts: 903
tabula rasa
|
 |
« Reply #47 on: August 28, 2010, 08:04:58 PM » |
|
Yeah, show us your best script.
|
|
|
|
|
Logged
|
|
|
|
hells_maker
Worker
Karma: +0/-4
Posts: 15
Boom Shaka Laka!
|
 |
« Reply #48 on: August 28, 2010, 08:05:46 PM » |
|
do you want all of it or just a part?
|
|
|
|
|
Logged
|
That's how i do it!
|
|
|
|
carnerox
Guest
|
 |
« Reply #49 on: August 28, 2010, 08:09:00 PM » |
|
Why would we need part of a script?
|
|
|
|
|
Logged
|
|
|
|
|