• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Create ALL trees using triggers/JASS Code per line limit

Status
Not open for further replies.
Level 19
Joined
Feb 4, 2009
Messages
1,313
I found some cool tool called "War3CacheConverter" in the tools section and used it to write the x/y-coordinates of all of my trees in a testmap to some file

now I've got this:
-1408 -896 -1152 -896 -1280 -896 -896 -896 -1024 -896 -640 -896 -768 -896 -384 -896 -512 -896 -128 -896 -256 -896 128 -896 0 -896 384 -896 256 -896 -1408 -640 -1408 -768 -1152 -640 -1152 -768 -1280 -640 -1280 -768 -896 -640 -896 -768 -1024 -640 -1024 -768 -640 -640 -640 -768 -768 -640 -768 -768 -384 -640 -384 -768 -512 -640 -512 -768 -128 -640 -128 -768 -256 -640 -256 -768 128 -640 128 -768 0 -640 0 -768 384 -640 384 -768 256 -640 256 -768 -1408 -384 -1408 -512 -1152 -384 -1152 -512 -1280 -384 -1280 -512 -896 -384 -896 -512 -1024 -384 -1024 -512 -640 -384 -640 -512 -768 -384 -768 -512 -384 -384 -384 -512 -512 -384 -512 -512 -128 -384 -128 -512 -256 -384 -256 -512 128 -384 128 -512 0 -384 0 -512 384 -384 384 -512 256 -384 256 -512 -1408 -128 -1408 -256 -1152 -128 -1152 -256 -1280 -128 -1280 -256 -896 -128 -896 -256 -1024 -128 -1024 -256 -640 -128 -640 -256 -768 -128 -768 -256 -384 -128 -384 -256 -512 -128 -512 -256 -128 -128 -128 -256 -256 -128 -256 -256 128 -128 128 -256 0 -128 0 -256 384 -128 384 -256 256 -128 256 -256 -1408 128 -1408 0 -1152 128 -1152 0 -1280 128 -1280 0 -896 128 -896 0 -1024 128 -1024 0 -640 128 -640 0 -768 128 -768 0 -384 128 -384 0 -512 128 -512 0 -128 128 -128 0 -256 128 -256 0 128 128 128 0 0 128 0 0 384 128 384 0 256 128 256 0 -1408 384 -1408 256 -1152 384 -1152 256 -1280 384 -1280 256 -896 384 -896 256 -1024 384 -1024 256 -640 384 -640 256 -768 384 -768 256 -384 384 -384 256 -512 384 -512 256 -128 384 -128 256 -256 384 -256 256 128 384 128 256 0 384 0 256 384 384 384 256 256 384 256 256 -1408 640 -1408 512 -1152 640 -1152 512 -1280 640 -1280 512 -896 640 -896 512 -1024 640 -1024 512 -640 640 -640 512 -768 640 -768 512 -384 640 -384 512 -512 640 -512 512 -128 640 -128 512 -256 640 -256 512 128 640 128 512 0 640 0 512 384 640 384 512 256 640 256 512 -1408 896 -1408 768 -1152 896 -1152 768 -1280 896 -1280 768 -896 896 -896 768 -1024 896 -1024 768 -640 896 -640 768 -768 896 -768 768 -384 896 -384 768 -512 896 -512 768 -128 896 -128 768 -256 896 -256 768 128 896 128 768 0 896 0 768 384 896 384 768 256 896 256 768

I copy&pasted this into some trigger like this one
JASS:
set string = "the numbers written above"
and the WE crashed cause of too much long text

so my question is:
what is the easiest and most space-saving way to create trees using triggers?

I also were able to make something like this:
set x = 500
set y = 500
but with tabs and spaces and "


" between them + it is much more code and I am unable to remove all the unwanted characters
 
Status
Not open for further replies.
Top