Staredit Network

Staredit Network -> UMS Assistance -> B-Net only
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-10 at 17:14:55
I was just wondering how some of the maps make it so that if you open it in single player it crashes, but if you open it B-net you can play just fine. I kinda need to know how for the map i am making or you could just cheat your whole way through which takes all the fun out of it(yet people still do it a lot). Any advise is accepted. smile.gif

(i am pretty good with triggers, so a trigger version would be ok)
(i am currently working with scm draft, so please don't tell the the starforge/extra version.)
Report, edit, etc...Posted by KaboomHahahein on 2006-03-10 at 18:21:38
Well I don't think you should crash them. If you haven't noticed, center view is not instant in single player, you actually see it move so you can use that to detect.

Tutorial on it
http://www.staredit.net/index.php?tutorial=183
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-10 at 20:05:00
Yeah dude crashing is reserved for hackers ONLY. because they can still stay in game after victory or defeat or draw is given to them. Just give the player a Draw after a 5 second message about why that happened.
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-11 at 00:21:46
Well, i don't think that would work... In the tutorial description it says "Any game with only one player". The game i am making is only for one person, so i don't think that will work. I can think of a bunch of ideas that might work, but I'm sure there is a flawless/'clean' way to do this. If anyone knows a really easy way to do this that can occur instantly at the beginning of the game, that would be great.
Report, edit, etc...Posted by xws on 2006-03-11 at 00:34:24
No, that tutorial is for detecting single player mode. It uses the difference in center view which is for single player mode, not for 1 player in multi player mode.

Another simple way to prevent single player mode is to just make it so that P2 is required and P1 is open. The only way to be player 2 is to go into multiplayer start screen and move down (this is what DEAD does in his GTA map, at least that is why I think he made P2 required).

Hope that helps
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-11 at 02:47:49
That way is not a good method because it cant be used on LAN. That tutorial does it perfectly without the error percentage. and yes that method is FLAWLESS and CLEAN.
Report, edit, etc...Posted by xws on 2006-03-11 at 11:09:05
Lan has the same pregame screen as bnet, so you can still move down to P2
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-11 at 11:23:23
Well, problem is that i have already used all of the players(including player2) with many extensive triggers and i would rather not go and change them. So is the 'Center View' the only other method?
Report, edit, etc...Posted by xws on 2006-03-11 at 13:38:57
Yeah, probably, but you say it like you would like to avoid this method, but I don't see why, it is a very good method.
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-11 at 16:53:22
I guess so... Thanks for everyones help.
Report, edit, etc...Posted by The_Shattered_moose on 2006-03-12 at 11:41:37
You could also use EUD conditions to detect if players have enabled cheats, and end the game in defeat if they have. This method would allow them to play on single player, but prevent them from using ingame cheats.
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-12 at 15:20:01
I dont know much about EUD stuff... But i might have to learn cause that would be a good thing to know how to do... So unless someone says nething else i guess im going with the Center View method...(im not gonna put that part in until the very end, so you have a couple of weeks.) Thanks.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-13 at 14:30:09
Here's a trick I once used:

On single player, center view not only takes longer, but it CENTERS THE CURSOR TO THE MIDDLE OF THE SCREEN! This does not happen on multiplayer.

If you are using a hyper trigger, make a small portion at the start where it center views at a certain location and they have to move a unit to a beacon (at the side of the screen). On single player this will be rendered impossible because you can't control the cursor. biggrin.gif
Next Page (1)