Single Player

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

minion78
Newcomer
Posts: 2
Joined: March 22nd, 2007, 1:35 am

Single Player

Post by minion78 »

Hello sorry if this has been asked before or explained before (did a search and didn't find anything) but could someone explain to me how I could make save and load work in an RPG?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Well, it varies from map to map, however, I commonly see this method for disabling saving... You bascially just scroll through the jass or use ctrl+F (find) and search for 'save' 'single' 'load' and check the conditions etc, otherwise, look for something that disables another trigger.

Example:

Image


The two red lines are places where you would change something if you wanted to reverse whats happening, Firstly, you can change the false to true, so it always ends up true and you can save, secondly, you can delete the trigger line that disables the trigger.

Look for things like this and you should be able to enable single player in most rpgs, however, there are many methods of disabling saving etc.
minion78
Newcomer
Posts: 2
Joined: March 22nd, 2007, 1:35 am

Post by minion78 »

ty for the help
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Post by Aero »

"bi_isSinglePlayer" only works outide of Bnet, even if you're "single player"
nitras
Newcomer
Posts: 15
Joined: July 13th, 2007, 4:58 pm

Re: Single Player

Post by nitras »

how do u open a map in jasscraft ??
HINDYhat
Senior Member
Posts: 101
Joined: June 1st, 2007, 9:05 pm

Re: Single Player

Post by HINDYhat »

Smart mappers will use a player group loop, or a game cache check. And some random conditions that check if the trigger is on or off throughout the map.

And you don't open a map in JassCraft, you open it's .j file. To do that, you open the map up with an MPQ editor, extract war3map.j, and THEN open it up with JassCraft. It might be hidden (in the MPQ) but there are already places here that explain what to do about that (I think...).
Olreich
Junior Member
Posts: 30
Joined: June 24th, 2007, 10:32 pm

Re: Single Player

Post by Olreich »

The guarunteed way to enable Save and Load triggers, is look for all lines saying: "DisableTrigger( <Save Trigger Variable> )" and delete them.
User avatar
Gawdl3y
Newcomer
Posts: 22
Joined: July 3rd, 2007, 11:22 pm
Location: Heaven

Re: Single Player

Post by Gawdl3y »

This really helped me :)

Thumbs up
Image
  ----------------- Clan VbU - Vampirism beast United -----------------