HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Code Text

08-12-2002, 02:39 AM#1
Extrarius
Is there any way to insert code text into a map such that it will execute on map startup, but will not be visible inside an editor. So far I have been able to get code that works until the map is saved, and then it is removed from the jass file by worldedit. I've tried several things and couldn't get anything to work, so I decided to see if any of the pros had any ideas.
08-12-2002, 03:04 AM#2
Guest
Hold on, clarify more specifically what you're attempting to do.

If it's code inside the map, I'm no help for you. But if you're talking about a particular WorldEdit feature, inolving no hacking, I can probably help if you clarify.
08-12-2002, 04:02 AM#3
Guest
I think he's thinking something along a watermark.

Try protection instead.
08-12-2002, 04:13 AM#4
Extrarius
Something like a watermark, yes. I don't want to use protection because I want to allow people to learn from and even edit my maps if they want, but I want to make sure people know where to get the original unedited map by making gametext tell them when the map starts up. I can get the text to appear, and its not visible in WE, but the code is removed by WE when the map is saved. The reason I don't want it visible in WE is so newbies don't remove it. I don't mind them editing it but I don't want them to pretend they made the whole map from scratch and I want everybody that plays the map to know where they can get updates of the original.
08-12-2002, 07:43 AM#5
Newhydra
That seems like exactly what you want, when a "newbie" opens the map and saves it then the watermark will go away...Thus its not an "official" map anymore...
08-12-2002, 09:14 AM#6
Guest
No, he doesn't want someone to open it, replace all "Extrarius' Map" with "L337InF3rN0777's Cool Map" and then go distribute it to everyone on battle.net.

There is not really a solution to your problem. Zepir's level 2 might help if he get's it working, which basically allows a map to be opened but not saved. That's what I want too.
08-12-2002, 09:18 AM#7
Guest
Here's what I would do currently:

Release a protected version of it (use zepirs level 3 protection as it's the safest) and then release it on bnet and see if it becomes popular. If it does (or, better yet, if it doesn't) then release the unprotected version.

That way if someone does try to steal it, bnet will already have been saturated with the good copies and people will know who's it is.

I am all for open source maps, but we need to get a protection that allows viewing but not saving. :(