Singleplayer

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Shamanno1
Forum Staff
Posts: 912
Joined: October 21st, 2007, 6:17 am
Title: 11
Location: WorLd Of WaRcrAfT

Re: Singleplayer

Post by Shamanno1 »

I had same prob as bushido but just right click and select paste ;0
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
User avatar
Sepharael
Forum Staff
Posts: 533
Joined: April 3rd, 2007, 11:39 pm
Title: Legendary Angel

Re: Singleplayer

Post by Sepharael »

Search for PLAYER_SLOT_STATE_PLAYING and see if you can find something like variable=variable+1 and you change it to variable=variable+2.

From this

Code: Select all

if(GetPlayerController(Player(sb))==MAP_CONTROL_USER and GetPlayerSlotState(Player(sb))==PLAYER_SLOT_STATE_PLAYING)then
set Sb=Sb+1
endif
set sb=sb+1
to this

Code: Select all

if(GetPlayerController(Player(sb))==MAP_CONTROL_USER and GetPlayerSlotState(Player(sb))==PLAYER_SLOT_STATE_PLAYING)then
set Sb=Sb+2
endif
set sb=sb+1
I'm not sure if this goes into the single player thing but theres also triggers that disable saving and loading in games instead of just preventing them from playing alone. Theres also this?

Code: Select all

if <function>=true then
set <variable> = <variable> + 1
RAWR, my brain is slow atm so I can't think of any more.

Edit:This is the anti single player for forlorn which I think king wanted to know.

Code: Select all

function Trig_Timer_Func023C takes nothing returns boolean
if ( not ( udg_Players < 2 ) ) then
return false
endif
return true
So you can just change the < 2 to > 2, or thats what I did to make it work anyway. Hope this helps.
Bushido

Re: Singleplayer

Post by Bushido »

nice ... that helped me alot :) thanks Seph =)
User avatar
Kyzerdrood
Junior Member
Posts: 35
Joined: May 28th, 2008, 9:21 pm
Title: eruliaF

Re: Singleplayer

Post by Kyzerdrood »

I found a much easier way to do this, just set:

integer udg_Players=0

to

integer udg_Players=1

or

integer udg_Players=2

Just search for udg_Players
Bushido

Re: Singleplayer

Post by Bushido »

I alrdy know how to enable Singleplayer :) This Topic is only to remember ;)...but thanks anyways , lol