ShadowStrk
New Member
- Reaction score
- 2
Recently, I've contacted Tr1nity regarding his map. (http://epicwar.com/maps/102619/).
Introduction:
He's told me that because he doesn't have any time on his hands (due to university) and that he has very little experience in coding maps.
I've decided to help him, but the irony is that I'm not an adept at JASS either, I mainly manage forums, and have very little knowledge in World Editing (I've tried making my own map before, publicly released, and was warmly welcomed by some Bored Aussie players, but didn't continue it due to losing the original map). I know the basics, like assigning variables, if then else.
The map has many bugs in 1.3, and Trinity has passed me the core 1.4 and 2.0 versions.
This thread is a request of help, both helping me code the map, and the map itself.
My Plans:
Greatly improve boss fights to the extent like Impossible Bosses (but easier),
i.e. Set cast-times, at x% hp do etc, custom spawns, "ultimates".
Help Topics/To do:
Inb4you'renotexperiencedenoughtocodeamaplikethis.
I do this for satisfaction, and whilst doing this, I'm enjoying it.
So.. for stash, simply add it as a 2nd hero? and insert the hero in the Hero array?
For internal errors... I'm out of ideas. Here's the code, and I don't think there's anything wrong with it.
They both probably have the same error -.-! One we figure these out, we'll move on.
Thanks for the help!
[e] Is there an IRC for TheHelper?
Introduction:
He's told me that because he doesn't have any time on his hands (due to university) and that he has very little experience in coding maps.
I've decided to help him, but the irony is that I'm not an adept at JASS either, I mainly manage forums, and have very little knowledge in World Editing (I've tried making my own map before, publicly released, and was warmly welcomed by some Bored Aussie players, but didn't continue it due to losing the original map). I know the basics, like assigning variables, if then else.
The map has many bugs in 1.3, and Trinity has passed me the core 1.4 and 2.0 versions.
This thread is a request of help, both helping me code the map, and the map itself.
My Plans:
Greatly improve boss fights to the extent like Impossible Bosses (but easier),
i.e. Set cast-times, at x% hp do etc, custom spawns, "ultimates".
Help Topics/To do:
- Making the -save code more advanced (stash etc), currently using AceHeart's system
- Various internal errors (I can't even enable a trigger because it says the trigger itself does not have an InitTrig function)
- I'll add more as I find them
Inb4you'renotexperiencedenoughtocodeamaplikethis.
I do this for satisfaction, and whilst doing this, I'm enjoying it.
So.. for stash, simply add it as a 2nd hero? and insert the hero in the Hero array?
For internal errors... I'm out of ideas. Here's the code, and I don't think there's anything wrong with it.
JASS:
//TESH.scrollpos=0
//TESH.alwaysfold=0
library FloatingTextLib
function DisplayFloatingText takes string txt,location loc,real size,integer red,integer green, integer blue returns nothing
local texttag t = CreateTextTag()
call SetTextTagText(t,txt,TextTagSize2Height(size))
call SetTextTagPos(t,GetLocationX(loc),GetLocationY(loc),150)
call SetTextTagColor(t,red,green,blue,255)
call SetTextTagPermanent(t,false)
call SetTextTagLifespan(t, 1.5)
call SetTextTagFadepoint(t, 1.0)
call SetTextTagVelocityBJ( t, 150.00, 90 )
call RemoveLocation(loc)
set loc = null
endfunction
endlibrary
JASS:
//TESH.scrollpos=0
//TESH.alwaysfold=0
library UnitInitCreate
function CreateInitUnits takes integer count,integer id,rect wr, boolean en returns nothing
local integer i = 0
local real x
local real y
local player NeutralPlayer
if en then
set NeutralPlayer = Player(PLAYER_NEUTRAL_AGGRESSIVE)
else
set NeutralPlayer = Player(10)
endif
loop
exitwhen i > count
set x = GetRandomReal(GetRectMinX(wr), GetRectMaxX(wr))
set y = GetRandomReal(GetRectMinY(wr), GetRectMaxY(wr))
call CreateUnit(NeutralPlayer,id,x,y,GetRandomReal(1,360))
set i = i +1
endloop
set NeutralPlayer = null
endfunction
endlibrary
They both probably have the same error -.-! One we figure these out, we'll move on.
Thanks for the help!
[e] Is there an IRC for TheHelper?