Staredit Network

Staredit Network -> SCMDraft -> trigger editor max length?
Report, edit, etc...Posted by omg on 2006-06-21 at 18:54:09
i'm making a zone control / evolves map, and it requires one trigger per evolve per zone. i'm using the trigger editor plugin for scmdraft because i can drop it into wordpad and find/replace to duplicate the triggers for each level of evolve. the thing is it's not letting me add any more (and i'm only up to the second evolve and a quarter of the mass attack!). is there a) a limit to how long the triggers can be? b) an update that will fix this? c) another trigger editor that can just use text?
Report, edit, etc...Posted by Cole on 2006-06-21 at 22:35:53
I'm currently working on a Text-Based trigger editor. Not sure when it will be done because im working on a bunch of stuff right now and I don't have much time to work on it. It will have things like autocomplete, a list for quick access to each individual trigger, Syntax Highlighting, a very customizable(via textpad) list of all the conditions\actions\player groups\a lot of things. It will be completely texted based like trigedit. There will be an extra GUI interface that will add the text for you(Once I get all the bugs worked out).

Right now im using my own C++ dll for getting all the map data. I can get just about anything the major thing im working on right now is for Triggers. I am going to develop 2 different return ways. An int and a string based one. Then test both out to see how well they compare in speed.
Report, edit, etc...Posted by MindArchon on 2006-06-22 at 01:04:42
QUOTE(omg @ Jun 21 2006, 03:53 PM)
i'm making a zone control / evolves map, and it requires one trigger per evolve per zone. i'm using the trigger editor plugin for scmdraft because i can drop it into wordpad and find/replace to duplicate the triggers for each level of evolve. the thing is it's not letting me add any more (and i'm only up to the second evolve and a quarter of the mass attack!). is there a) a limit to how long the triggers can be? b) an update that will fix this? c) another trigger editor that can just use text?
[right][snapback]510949[/snapback][/right]


Try using one of the Trigger Duplicator programs to duplicate your map.
http://www.staredit.net/index.php?download=4086


Maybe TrigEdit's text field runs into it's character limit?

Report, edit, etc...Posted by omg on 2006-06-22 at 18:12:59
QUOTE(MindArchon @ Jun 22 2006, 12:04 AM)
Try using one of the Trigger Duplicator programs to duplicate your map.
http://www.staredit.net/index.php?download=4086
Maybe TrigEdit's text field runs into it's character limit?
[right][snapback]511140[/snapback][/right]

sweet! trigger duplicator sounds awesome!

edit: woah i don't get it. is there a tutorial other than the one that came with it?

and yeah i think it's the text field, cause it stops in the middle of the trigger, and I can still add them with plain staredit.
Report, edit, etc...Posted by SI on 2006-06-25 at 07:40:57
the newest text based trigedit shouldn't have a length limit iirc
Report, edit, etc...Posted by -bilal92- on 2006-06-25 at 21:05:35
this editor sux dick all u can do is terrain and null and colours and easy upgrades, it sucks cause u cant do triggers
Report, edit, etc...Posted by omg on 2006-06-26 at 00:07:02
QUOTE(SI @ Jun 25 2006, 06:40 AM)
the newest text based trigedit shouldn't have a length limit iirc
[right][snapback]512898[/snapback][/right]


i thought i had the newest
care to link me to it?

QUOTE(-bilal92- @ Jun 25 2006, 08:05 PM)
this editor sux dick all u can do is terrain and null and colours and easy upgrades, it sucks cause u cant do triggers
[right][snapback]513237[/snapback][/right]


no, you're wrong. if you couldn't do triggers this thread wouldn't exist. in fact this editor is the best for doing bulk triggers. (other than maybe trigger duplicator, but it's too complex for me and you have to build your map for it.) i'm not going to make any personal comments, though i am very tempted, but please refrain from making incorrect, off-topic, and useless replies in my thread, unless you're bumping it to draw attention to the unanswered question.
Report, edit, etc...Posted by -bilal92- on 2006-06-28 at 20:53:08
its 16 conditions and 64 actions, but i dont think it has a limit of how many TRIGGERS u can do in total
Report, edit, etc...Posted by Noober on 2006-06-28 at 22:04:29
QUOTE(-bilal92- @ Jun 28 2006, 08:52 PM)
its 16 conditions and 64 actions, but i dont think it has a limit of how many TRIGGERS u can do in total
[right][snapback]515167[/snapback][/right]


QUOTE(MindArchon(U))
The theoretical trigger limit is 1 789 569.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-06-29 at 12:12:41
QUOTE(-bilal92- @ Jun 25 2006, 08:05 PM)
this editor sux dick all u can do is terrain and null and colours and easy upgrades, it sucks cause u cant do triggers
[right][snapback]513237[/snapback][/right]


Your stupid yes u can do triggers there are even 2 types u can choose from! Text based such as Starforge or normal like Staredit!
Report, edit, etc...Posted by Cole on 2006-06-30 at 21:30:44
1 789 569 maximum triggers.
That would be correct depending on how starcraft reads them.(If Starcraft reads or buffers the amount of bytes listed in the section) or if it reads until it finds the next section. I'd guess that it would buffer\read the amount listed in the section at the start of the section.

To get this(so anyone who cares understands) you do this:
-How big the Trig Section is a long. A long can be a maximum of 4294967295(256^4 - 1 (-1 because we can have 0 so we count from 0 not 1)).
-Each trigger is 2400 bytes.

So 4294967295/2400 = 1789569.70625. Round down because you can't have .7 of a trigger(Although you could but the map would probably register as corrupt). Although the trig section would be 4 gigs of data. Yeah... current motherboards(besides server\supercomputer) support only 4gigs of ram. In other words you wouldn't have the ram to have 1789569 triggers plus the rest of the map data. Thats not even including other programs, operating system, starcraft non-map data, etc..

In other words....don't worry about the trigger limit...... I mean ever.

Although I might add, if Starcraft was ever recompiled under 64bit and was ran on a 64bit OS(64bit cpu obviously) and the section length was changed to 8bytes you could reach: 7686143364045646 triggers. Although you would need 16777216 Terabytes of ram in order to support that many triggers. You would need this much ram in order to have all those triggers. So how much $$ you got? Not only that but there is no motherboard or OS that I believe supports past 64 gigs because well.....it isn't needed.
Report, edit, etc...Posted by omg on 2006-06-30 at 23:01:25
to reiterate: it's not the number of triggers that's the problem, i can still add triggers in normal staredit (and presumably trigedit classic), it's just that i seem to have reached the maximum number of characters in trigedit's text entry field.
i thought that i had the most recent version of trigedit, but if someone could please point me to a download link for a text-based trigger editor without any limits, it would be much appreciated. thanks.
Report, edit, etc...Posted by omg on 2006-07-08 at 20:28:22
bizzump fo shizzump
Next Page (1)