Staredit Network > Forums > Technology & Computers > Topic: Programming Contest
Programming Contest
Aug 27 2010, 11:12 pm
By: Apos  

Sep 3 2010, 3:52 pm NudeRaider Post #21

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

It states it's buggy, but so far it's never disappointed me.




Sep 3 2010, 7:50 pm rockz Post #22

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from NudeRaider
ScmDraft's text triggers. Ever noticed the tree on the left?
What about it? it doesn't filter the triggers or separate them, and thus is utterly useless for what I want.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 3 2010, 8:07 pm Aristocrat Post #23



I suppose using a regex-based sort can't hurt. I organize my triggers when writing them, so I don't run into situations where it would take a long time to find something. Of course, actual map triggers aren't THIS meticulously commented, but the tags help a lot.

Quote from Aristocrat
I only ever code with text Trigedit; my triggers are usually saved as a plaintext file somewhere, and they have comments in the format of the archetypal double-slash prefixed lines.

An example of a trigger text file for map utilizing this system would be:
Collapsable Box

PROS:
-Much, much faster to debug, code, and mass duplicate triggers or use regular expressions to replace stuff
-Ability to flag your triggers and use Ctrl-F to jump to specific ones
-Use regular expressions to mass replace units/trigger elements
-Tag triggers of certain categories and ability to jump to them
-Ability to disable triggers without using a Never(); condition (Tinymap2 safe)
-Comments do not take up trigger action space (I can now have 64 actions max instead of 63 if I used the traditional comment system)
-More than one comment per trigger; could explain what each and every single line does
-Comments are not embedded into map*
-No strings are wasted
-Coding can be done exclusively with keyboard, speeding up the process substantially

*Could be a con, if you are hoping to understand your triggers.

CONS:
-Lazy people can't be bothered to do this
-Potentially obfuscates code for other mappers**
-Requires saving another file

**Probably a pro if you do not want people stealing it?

(Recommend using Notepad++ or TextPad)




None.

Sep 3 2010, 8:18 pm DavidJCobb Post #24



I know what our project should be.

Remake this. But more seizurific. >:3



None.

Sep 3 2010, 11:04 pm O)FaRTy1billion[MM] Post #25

👻 👾 👽 💪

Quote from DavidJCobb
I know what our project should be.

Remake this. But more seizurific. >:3
I could have, but there was a lot of slowdown on my computer because of the large font (had to balance interval and font size). :P



This would be fun if it is in a language I know (C, VB6, VB.NET, PHP, JS), or have access to (ASM, C#, more) ... :P
I would gladly participate.

I'd prefer C/C++. I'd only do PHP/JS if it is a web-related thing ...

Post has been edited 1 time(s), last time on Sep 3 2010, 11:18 pm by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Sep 3 2010, 11:15 pm DavidJCobb Post #26



Quote from O)FaRTy1billion[MM]
Quote from DavidJCobb
I know what our project should be.

Remake this. But more seizurific. >:3
I could have, but there was a lot of slowdown on my computer because of the large font (had to balance interval and font size). :P



This would be fun if it is in a language I know (C, VB6, VB.NET, PHP, JS), or have access to (ASM, C#, more) ... :P
I would gladly participate.
I'm not talking about making it faster. I mean making more things flash.

Make the entire background flash randomly. Make the text rapidly expand and contract. Make the font randomize randomly with every frame of animation.

I actually did something like that once, but I only used one text element, so I had the text background and page background randomize independently. Alas, I have lost the file.



None.

Sep 28 2010, 2:50 am payne Post #27

:payne:

Where are my new SEN Games? :devlin:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: City