Staredit Network

Staredit Network -> Modding Assistance -> SCMLoader detection through mod and triggers :)
Report, edit, etc...Posted by ShadowFlare on 2006-08-25 at 19:24:17
I've devised a way to detect whether a player is using SCMLoader or not through a special mod and some triggers. smile.gif Here's how it goes:

1) Modify an unused unit's orders such that it will immediately die after appearing (set all orders to die), you may need to change which graphic is used by that unit if it would otherwise cause it to crash when told to die.
2) Place one of that unit on the map in a place that won't be seen at the map's start.
3) Create a trigger which will detect if that unit is still there after a short delay.
4) If the unit is still there, then the player is not using SCMLoader, since the unit should have died. Remove the unit and display a message telling about the map's SCMLoader requirement and where to get it. Optionally, boot the player from the game after a set time (optional, since they would already be desynced at this point).

I've attached a sample map that does such and a trg file with the triggers I used for it.
Report, edit, etc...Posted by Kookster on 2006-08-25 at 23:12:38
yeah i did something very simular to this but it involved the changes i did the map i didnt ad any additional changes. it involved giving terran marines attack dark swarm as the explosion so i could detect it. Also whats up with your site its been down quite a while you stop paying for it or something???
Report, edit, etc...Posted by Ojan on 2006-08-26 at 04:11:06
You are aware that the URL is http://shadowflare.samods.org/ right? She moved a few months ago.

SF> Great work on updating it! However, you should make sure to include a readme.txt file explaining what it does in the .zip and what files can and can't be patched so the newbies won't have to go insane wink.gif
Report, edit, etc...Posted by www.com.au on 2006-08-27 at 09:56:55
What exactly does SCMLoader do?

I must investigate!
Report, edit, etc...Posted by Voyager7456(MM) on 2006-08-27 at 10:03:59
SCMLoader allows you to run .dat files specifically for a certain map.
Report, edit, etc...Posted by ShadowFlare on 2006-08-27 at 13:58:13
QUOTE(Ojan @ Aug 26 2006, 02:10 AM)
You are aware that the URL is http://shadowflare.samods.org/ right? She moved a few months ago.

And if/when the address ever changes again, you can go to http://www.geocities.com/_blakflare_/ to find the new address. smile.gif That is the only place my site has been that I still have available to me. smile.gif (well, technically there is another, but from the same server, at http://www.geocities.com/SiliconValley/Ridge/5095/ smile.gif ) Since I still have it available, I always change it to point to the current address.

QUOTE
SF> Great work on updating it! However, you should make sure to include a readme.txt file explaining what it does in the .zip and what files can and can't be patched so the newbies won't have to go insane wink.gif
[right][snapback]550963[/snapback][/right]

Are you referring to the lack of a readme.txt on the beta version? The previous release version did have one, I just haven't been including it with the beta. As for the list of what files can and can't be patched, it probably isn't really necessary, since just about every file can be. Although I guess it might help anyway, since someone might not even consider that things on other screens can be patched as well (like mission briefing screens and victory/defeat screens).
Next Page (1)