View Full Version : Woah...look at this script JASS custom structs, methods
gamer102
04-11-2007, 5:31 PM
look at this map... you can open it in regular world editor.. but the main w3m.j is encrypted with ABC's
and then..look at the output.. the gameplay is unbeleivable..
once other mappers find the more in depth programming.. we'll have maps that have less size, and more fun.
ill give you the map, the script.. and the custom script.. take a look at it..
not even blizzard has complex map scripts like this, not even in thier most custom games.
uberfoop
04-11-2007, 5:46 PM
What exactly is so amazing? So, the maker knows how to use structs and timers. Whuppity do. So does everyone else out there who has a preprocessor.
You want something cool, look at this physics engine (http://wc3campaigns.net/showthread.php?t=92570&highlight=physics+engine).
edit: I mean, I'll say the method of adjusting the segment's locations IS pretty cool, but there's really not much purpose of it more most game types, since doing that is inneficient as hell and most mappers with any sort of efficiency on their minds refuse to do it.
TheEradai
04-11-2007, 6:16 PM
i refuse to go that in debt; as much as i have done i believe that there is a limit i should go with WC and do one something of my own 100% making...
BTW what kind of game is this thing anyway? I might to try it out,
This thread should be moced to the "Map Forge", since it is a mapping topic.
You want something cool, look at this physics engine (http://wc3campaigns.net/showthread.php?t=92570&highlight=physics+engine).
I looked at it and thought...Woah, so much time must have been put into it and the amount of math that would be involved makes it even more of a task :P
I think Physics Engine was used for the most Realistic shooting map ever,
the Elimination Tournament.
Blacker
04-12-2007, 4:46 AM
I think Physics Engine was used for the most Realistic shooting map ever,
the Elimination Tournament.
I think I will agree with Sid.This one isn't so amazing and you could place it in map forge.
gamer102
04-19-2007, 3:31 PM
well... ive never seen anything like that kind of scripting b4.
EDIT
is there any documentation or anything on how to use structs and methods...cuz WE doesnt
What exactly is so amazing? So, the maker knows how to use structs and timers. Whuppity do. So does everyone else out there who has a preprocessor.
Preprocessor?
uberfoop
04-19-2007, 5:29 PM
I suppose preprocessor was a very innacurate term.
I'm not really talking about wewarlock and whatnot.
But like, people who've downloaded the jass newgen pack on wc3campaigns can do any of that.
WE doesn't normally use structs...they aren't a normal part of jass.
I'm not sure exactly what the mechanics do, but certain programs allow you to use them in jass script, which is, when saved, converted into valid jass.
The fact that you've never seen that kind of scripting before just means you haven't been on warcraft3campaigns recently.
Blacker
04-19-2007, 6:25 PM
Yeah,got right uberfoop,but I don't need it cuz I can do everything with JASS in WE...
uberfoop
04-19-2007, 8:58 PM
blacker, silence if you have no clue what you're talking about. Writing JASS in WE is like writing 20-page papers in cuneiform, clay tablet, stylus, and all.
Writing Jass is for JSP or JassCraft.
And no, you can't do everything JASS with standard WE. Try writing structs in your editor and see what happens. The formula for converting them to valid jass is also extremely complexish, which is why people use custom syntax checkers and newer jass formats that work with them instead of actually writing them in that form.
gamer102
04-26-2007, 3:35 PM
Yeah... I know almost every programming langauge 50% (EXEPT C++ and JASS) Ive been working on my php/+ajax server so ive been off of jass for a while.. missed alot i guess
Ok...yeah ive looked up w3campains forum and found the newgen jass pack... and i looked at the docs on (not new, but not discovered) structs, library, globals, return bug (i knew that one), scopes, methods and all that
Can you have a struct inside a struct?
struct A
real A_Real
integer A_Int
struct B
real A_B_Real
string A_B_Str
endstruct
endstruct
Or it would probably be...
struct MyClass
SubClassA instanceA
SubClassB instanceB
real ClassRea
endstruct
struct SubClassA
integer SCA_Int
endstruct
struct SubClassB
string SCB_Str
endstruct
And would be accessed
MyClass.SubClassA.ClassRea = 3.8
uberfoop
04-26-2007, 5:27 PM
Well..I'm still pretty new to the commands and the like added by the newish systems, but I doubt it's set up for a struct within a struct. You could always try it.
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.