Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Possible game idea and question

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Possible game idea and question

Post by arcones »

wow! pretty impressive stuff there Venima! :)
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Possible game idea and question

Post by Leo_V117 »

Ill be even more impressed if he can create a code for challenge.
User avatar
Venima
Support Team
Support Team
Posts: 259
Joined: February 17th, 2010, 4:56 am
Name: Tombstone
IRC Username: Venima
Location: Somewhere in the eternal planes between the living and the dead

Re: Possible game idea and question

Post by Venima »

Leo_V117 wrote:Youre good. How about this one then. Theres a Mansion. with 4 floors. Groundfloor, First Floor, Second Floor and Basement. The ground floor has 12 doors. 8 of them need keys. 2 Red, 3 Blue, 1 Green, and 2 Yellow. 4 Do not need keys.
The First Floor has 14 Doors. 9 Need Keys. 3 Red, 4 Blue, 1 Green, and 1 Yellow. 5 Do not need keys.
The second floor has 10 doors. All of them need keys. 2 red, 3 blue, 3 green, and 2 Yellow.
The basement uses the key card system.

There are 4 Types of keys. Red, Blue, Green, and Yellow.
There are 5 types of key cards. Red, Blue, Green, Yellow, and Master.

The master Key card opens any door. The coloured cards open the set doors.

Figure that one out.
Easy stuff. Although I have a couple of questions first. I assume you want the doors to open when you approach them.
And when you pick up a yellow key for example, can that open any door that is opened by a yellow key? And will that key be used up (can only open 1 door).

Finally, when the door is opened by a key, will that door stay open, or close again (but reopened without the need of a key a second time).
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament

Try out my: CFG Easy Text Editor (Note: still in beta)

-----Venima
Image
Image
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Possible game idea and question

Post by Leo_V117 »

the key can only open the doors that are of the same color. Its the same with the key cards.

When the door is opened by a key, it has to close again. Once the doors are unlocked with a key, (not a keycard) it can close again but you dont need that key again to open that door.

Keycards however need to be carried around at all times. if you can set up the doors that open with keycards to make a double beeping sound when you cant open it. but when you open it. it makes a scientific sliding sound with a beep when its unlocked. Please add it if you can.

Add this key to your mix: Rusty Key. Can only be used once. When used, key gets discarded. The door it can open: Large Door. The door closes but can be opened again without a key.
User avatar
Venima
Support Team
Support Team
Posts: 259
Joined: February 17th, 2010, 4:56 am
Name: Tombstone
IRC Username: Venima
Location: Somewhere in the eternal planes between the living and the dead

Re: Possible game idea and question

Post by Venima »

I'm not gonna bother with the mapmodels or anything, I'm just gonna write the code, I'll have it done soon
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament

Try out my: CFG Easy Text Editor (Note: still in beta)

-----Venima
Image
Image
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Possible game idea and question

Post by Leo_V117 »

Cool. Ill do the models.
User avatar
Venima
Support Team
Support Team
Posts: 259
Joined: February 17th, 2010, 4:56 am
Name: Tombstone
IRC Username: Venima
Location: Somewhere in the eternal planes between the living and the dead

Re: Possible game idea and question

Post by Venima »

right, it requires 47 triggers and 36 variables.

Sure you still want this code?
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament

Try out my: CFG Easy Text Editor (Note: still in beta)

-----Venima
Image
Image
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Possible game idea and question

Post by Leo_V117 »

Yeah. Im sure.
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Possible game idea and question

Post by GR1M »

wow Venima how long have you worked with Sandbox?
Image
Want a user bar like this one? PM Leo
User avatar
Venima
Support Team
Support Team
Posts: 259
Joined: February 17th, 2010, 4:56 am
Name: Tombstone
IRC Username: Venima
Location: Somewhere in the eternal planes between the living and the dead

Re: Possible game idea and question

Post by Venima »

Not that long, but I am a programmer in the making. (On to university this September to study a computer games course :P)

For the 3 story + basement building with keys and locked doors:

Doors without locks: (set as trigger 0, and trigger type 10)

(Set all locked doors as trigger type 11. All doors must have unique triggers.)
Ground floor:
doors with red locks: (triggers 1 to 2)
doors with blue locks: (triggers 3 to 5)
doors with green locks: (trigger 6)
doors with yellow locks: (triggers 7 to 8)

First floor:
doors with red locks: (triggers 9 to 11)
doors with blue locks: (triggers 12 to 15)
doors with green locks: (trigger 16)
doors with yellow locks: (trigger 17)

Second floor:
doors with red locks: (triggers 18 to 19)
doors with blue locks: (triggers 20 to 22)
doors with green locks: (trigger 23 to 25)
yellow locks: (triggers 26 to 27)

Basement:
door(s) with red keycard locks: (trigger 31)
door(s) with blue keycard locks: (trigger 32)
door(s) with green keycard locks: (trigger 33)
door(s) with yellow keycard locks: (trigger 34)

Keys:
Red, Blue, Green, Yellow (triggers 36 to 39 respectively)(set as trigger type 12)

Keycards:
Red, Blue, Green, Yellow, Master (triggers 41 to 45 respectively)(set as trigger type 12)

Close all doors: (trigger 46)(set as trigger type 5) maybe use lilypad for mapmodel.
(Used to close the doors after they're opened, place them in front of the door at a relative distance)

Code: Select all

//<<<<VARIABLES>>>>\\
//Ground floor door locks
RL0 = 0 //Red
RL1 = 0
RL2 = 0
RL3 = 0
RL4 = 0
RL5 = 0
RL6 = 0
BL0 = 0 //Blue
BL1 = 0
BL2 = 0
BL3 = 0
BL4 = 0
BL5 = 0
BL6 = 0
BL7 = 0
BL8 = 0
BL9 = 0
GL0 = 0 //Green
GL1 = 0
GL2 = 0
GL3 = 0
GL4 = 0
YL0 = 0 //Yellow
YL1 = 0
YL2 = 0
YL3 = 0
YL4 = 0
RK = 0 //Keys
BK = 0
GK = 0
YK = 0
RKC = 0 //Keycards
BKC = 0
GKC = 0
YKC = 0
MKC = 0

//<<<<LEVEL TRIGGERS>>>>\\
//Doors - Ground floor
level_trigger_1 = [if (= $RL0 1) [trigger 1 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 1 1
] [echo "Locked. Requires a red key."]]]
level_trigger_2 = [if (= $RL1 1) [trigger 2 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 2 1
] [echo "Locked. Requires a red key."]]]

level_trigger_3 = [if (= $BL0 1) [trigger 3 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 3 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_4 = [if (= $BL1 1) [trigger 4 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 4 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_5 = [if (= $BL2 1) [trigger 5 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 5 1
] [echo "Locked. Requires a blue key."]]]

level_trigger_6 = [if (= $GL0 1) [trigger 6 1] [if (> $GK 0) [ // Green door
   GK = (- $GK 1)
   trigger 6 1
] [echo "Locked. Requires a green key."]]]

level_trigger_7 = [if (= $YL0 1) [trigger 7 1] [if (> $YK 0) [ // Yellow door
   YK = (- $YK 1)
   trigger 7 1
] [echo "Locked. Requires a yellow key."]]]
level_trigger_8 = [if (= $YL1 1) [trigger 8 1] [if (> $YK 0) [ // Yellow door
   YK = (- $YK 1)
   trigger 8 1
] [echo "Locked. Requires a yellow key."]]]


//Doors - First floor
level_trigger_9 = [if (= $RL2 1) [trigger 9 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 9 1
] [echo "Locked. Requires a red key."]]]
level_trigger_10 = [if (= $RL3 1) [trigger 10 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 10 1
] [echo "Locked. Requires a red key."]]]
level_trigger_11 = [if (= $RL4 1) [trigger 11 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 11 1
] [echo "Locked. Requires a red key."]]]

level_trigger_12 = [if (= $BL3 1) [trigger 12 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 12 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_13 = [if (= $BL4 1) [trigger 13 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 13 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_14 = [if (= $BL5 1) [trigger 14 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 14 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_15 = [if (= $BL6 1) [trigger 15 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 15 1
] [echo "Locked. Requires a blue key."]]]

level_trigger_16 = [if (= $GL1 1) [trigger 16 1] [if (> $GK 0) [ // Green door
   GK = (- $GK 1)
   trigger 16 1
] [echo "Locked. Requires a green key."]]]

level_trigger_17 = [if (= $YL2 1) [trigger 17 1] [if (> $YK 0) [ // Yellow door
   YK = (- $YK 1)
   trigger 17 1
] [echo "Locked. Requires a yellow key."]]]


//Doors - Second floor
level_trigger_18 = [if (= $RL5 1) [trigger 18 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 18 1
] [echo "Locked. Requires a red key."]]]
level_trigger_19 = [if (= $RL6 1) [trigger 19 1] [if (> $RK 0) [ // Red door
   RK = (- $RK 1)
   trigger 19 1
] [echo "Locked. Requires a red key."]]]

level_trigger_20 = [if (= $BL7 1) [trigger 20 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 20 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_21 = [if (= $BL8 1) [trigger 21 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 21 1
] [echo "Locked. Requires a blue key."]]]
level_trigger_22 = [if (= $BL9 1) [trigger 22 1] [if (> $BK 0) [ // Blue door
   BK = (- $BK 1)
   trigger 22 1
] [echo "Locked. Requires a blue key."]]]

level_trigger_23 = [if (= $GL2 1) [trigger 23 1] [if (> $GK 0) [ // Green door
   GK = (- $GK 1)
   trigger 23 1
] [echo "Locked. Requires a green key."]]]
level_trigger_24 = [if (= $GL3 1) [trigger 24 1] [if (> $GK 0) [ // Green door
   GK = (- $GK 1)
   trigger 24 1
] [echo "Locked. Requires a green key."]]]
level_trigger_25 = [if (= $GL4 1) [trigger 25 1] [if (> $GK 0) [ // Green door
   GK = (- $GK 1)
   trigger 25 1
] [echo "Locked. Requires a green key."]]]

level_trigger_26 = [if (= $YL3 1) [trigger 26 1] [if (> $YK 0) [ // Yellow door
   YK = (- $YK 1)
   trigger 26 1
] [echo "Locked. Requires a yellow key."]]]
level_trigger_27 = [if (= $YL4 1) [trigger 27 1] [if (> $YK 0) [ // Yellow door
   YK = (- $YK 1)
   trigger 27 1
] [echo "Locked. Requires a yellow key."]]]

//Doors - Basement
level_trigger_31 = [if (= $MKC 1) [trigger 31 1] [if (= $RKC 1) [trigger 31 1] [echo "Locked. Requires a red or master keycard."]]]
level_trigger_32 = [if (= $MKC 1) [trigger 32 1] [if (= $RKC 1) [trigger 32 1] [echo "Locked. Requires a blue or master keycard."]]]
level_trigger_33 = [if (= $MKC 1) [trigger 33 1] [if (= $RKC 1) [trigger 33 1] [echo "Locked. Requires a green or master keycard."]]]
level_trigger_34 = [if (= $MKC 1) [trigger 34 1] [if (= $RKC 1) [trigger 34 1] [echo "Locked. Requires a yellow or master keycard."]]]

//Keys
level_trigger_36 = [RK = (+ $RK 1)]
level_trigger_37 = [BK = (+ $BK 1)]
level_trigger_38 = [GK = (+ $GK 1)]
level_trigger_39 = [YK = (+ $YK 1)]

//Key cards
level_trigger_41 = [RKC = 1]
level_trigger_42 = [BKC = 1]
level_trigger_43 = [GKC = 1]
level_trigger_44 = [YKC = 1]
level_trigger_45 = [MKC = 1]

//<<<<Close Doors>>>>\\
level_trigger_46 = [
   trigger 1 0
   trigger 2 0
   trigger 3 0
   trigger 4 0
   trigger 5 0
   trigger 6 0
   trigger 7 0
   trigger 8 0
   trigger 9 0
   trigger 10 0
   trigger 11 0
   trigger 12 0
   trigger 13 0
   trigger 14 0
   trigger 15 0
   trigger 16 0
   trigger 17 0
   trigger 18 0
   trigger 19 0
   trigger 20 0
   trigger 21 0
   trigger 22 0
   trigger 23 0
   trigger 24 0
   trigger 25 0
   trigger 26 0
   trigger 27 0
]
Last edited by Venima on April 6th, 2010, 5:59 pm, edited 3 times in total.
Tombstone's Tournament round 2 has begun! Tombstone's Posting Tournament

Try out my: CFG Easy Text Editor (Note: still in beta)

-----Venima
Image
Image
Locked