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.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Help with keys
- tuppinator
- Member

- Posts: 21
- Joined: June 17th, 2010, 1:34 pm
- Name: Tuppy
Help with keys
I made a map recently i thought it has turned out rather well the only issue I have is i have no idea how to make keys.
What im trying to accomplish is have the player collect all the keys by doing puzzles by jumping and such and once they have all the keys they are able to access the finish. I would love to know how to make keys and how to make a finish to the end of the level. Any help would be great. Thanks (anything about fps weapon creation would be nice too)
What im trying to accomplish is have the player collect all the keys by doing puzzles by jumping and such and once they have all the keys they are able to access the finish. I would love to know how to make keys and how to make a finish to the end of the level. Any help would be great. Thanks (anything about fps weapon creation would be nice too)
- GR1M
- Support Team

- Posts: 1305
- Joined: August 22nd, 2009, 4:35 pm
- Name: Luke
- IRC Username: Gr1m
- Location: Texas
- Contact:
Re: Help with keys
This question has already been answered in many forms and fashion. Here’s one out of many resources viewtopic.php?f=15&t=1338&p=10797&hilit=key#p10797 In the future can you search the Tutorials and recourses for your next question.

Want a user bar like this one? PM Leo
- tuppinator
- Member

- Posts: 21
- Joined: June 17th, 2010, 1:34 pm
- Name: Tuppy
Re: Help with keys
I did nothing came up it was probably my computer acting up again though but thakyou
- GR1M
- Support Team

- Posts: 1305
- Joined: August 22nd, 2009, 4:35 pm
- Name: Luke
- IRC Username: Gr1m
- Location: Texas
- Contact:
Re: Help with keys
Code: Select all
key1 = 0
level_trigger_1 = [
if (> $key1 0) [
trigger 1 1
echo "You unlock the door with the key."
] [
trigger 1 0
echo "The door is locked."
]
]
level_trigger_2 = [
key1 = (+ $key1 1)
echo "You picked up a key."
]
Want a user bar like this one? PM Leo
- tuppinator
- Member

- Posts: 21
- Joined: June 17th, 2010, 1:34 pm
- Name: Tuppy
Re: Help with keys
My issue is how do i assign an object as a key and how do i put coding like this into the game. God i feel like such a noob
Re: Help with keys
add the code to the map's .cfg file in the my_stuff/packages/base folder
when you have the key, press "/" and make sure the model's 3rd attribute is set to 12 and the fourth to the trigger #
for the above code, you'd have the key set to:
i.e. entset mapmodel 277 353 12 2 0 0 0 0
and the door to:
entset mapmodel 277 110 11 1 0 0 0 0
Hope this helps
when you have the key, press "/" and make sure the model's 3rd attribute is set to 12 and the fourth to the trigger #
for the above code, you'd have the key set to:
i.e. entset mapmodel 277 353 12 2 0 0 0 0
and the door to:
entset mapmodel 277 110 11 1 0 0 0 0
Hope this helps
- InHumanUnit
- Member

- Posts: 1450
- Joined: May 22nd, 2010, 7:23 am
- Name: Ian, Haiku, I got alot ;)
- Location: Toyko, Japan. Currently in Illonis, Round Lake in America for secret purposes
- Contact:
Re: Help with keys
I understand nothing here. Math is another lanuage I swear.
- tuppinator
- Member

- Posts: 21
- Joined: June 17th, 2010, 1:34 pm
- Name: Tuppy
Re: Help with keys
Actually i figured it out by myself X3 when i had no internets earlier today.
-
arcones
- 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: Help with keys
InHumanUnit wrote:I understand nothing here. Math is another lanuage I swear.
tuppinator wrote:Actually i figured it out by myself X3 when i had no internets earlier today.
If, thens...

Want a user bar like this one? PM Leo!
- InHumanUnit
- Member

- Posts: 1450
- Joined: May 22nd, 2010, 7:23 am
- Name: Ian, Haiku, I got alot ;)
- Location: Toyko, Japan. Currently in Illonis, Round Lake in America for secret purposes
- Contact:
Re: Help with keys
In the world of manga, high benefits. In the world of game-making, high benefits. But for all them so much practice, like Impacto, or something.



