1 person party script

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Fuzzyfrank
Posts: 10
Joined: Fri Sep 14, 2012 4:55 am

1 person party script

Post by Fuzzyfrank »

I would really enjoy, along with many others, a script to make it so that no matter what, the party is one person.
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: 1 person party script

Post by antti »

Here you go:

Code: Select all

party:getChampion(2):setEnabled(false)
party:getChampion(3):setEnabled(false)
party:getChampion(4):setEnabled(false)
Just add this code to a script entity.
Steven Seagal of gaming industry
lowzei
Posts: 99
Joined: Tue Mar 27, 2012 12:00 pm

Re: 1 person party script

Post by lowzei »

When you're doing a 1 person party, can you also allow making it a multiple class character?

And as for removing: How can you delete entities (items, monsters)?
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: 1 person party script

Post by antti »

lowzei wrote:When you're doing a 1 person party, can you also allow making it a multiple class character?

And as for removing: How can you delete entities (items, monsters)?
Currently there classes are hardcoded into the game and multiclasses are thus not possible. The best way to delete an item or a monster at the moment is to teleport it away to a secure location in some corner of the map.
Steven Seagal of gaming industry
lowzei
Posts: 99
Joined: Tue Mar 27, 2012 12:00 pm

Re: 1 person party script

Post by lowzei »

Hmm, i'm not sure how to do it. For instance i want the player to place a number of certain items on an altar. If he reaches that number i want to remove all the items he put on there and replace them with a reward. Is this currently possible?
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: 1 person party script

Post by antti »

lowzei wrote:Hmm, i'm not sure how to do it. For instance i want the player to place a number of certain items on an altar. If he reaches that number i want to remove all the items he put on there and replace them with a reward. Is this currently possible?
Oh, I see. With alcoves you can't teleport items away so there's no way to remove them from there at the moment. The ability to do so is on our todo list but bugs and more major issues take priority though.
Steven Seagal of gaming industry
lowzei
Posts: 99
Joined: Tue Mar 27, 2012 12:00 pm

Re: 1 person party script

Post by lowzei »

Okay, thanks! Answers like this safe a lot of the sadly rather limited time for using the editor.
Post Reply