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.

Problems with loading cutsom maps

Talk about anything related to Platinum Arts Sandbox here!
Locked
CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin

Problems with loading cutsom maps

Post by CollegeforKids »

When I save maps a few things happen:


Particle text turns to "nothing "

NPC's lose their ability to talk (it rewrites my config file and take out my talking chars)

SOMETIMES creatures get deleted...but that's pretty rare and I don't mind
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Problems with loading cutsom maps

Post by Mike »

Here is an example of my save the princess cfg code:

Code: Select all

"munchsound" = [10]
"on_start" = [
	movespeed 300
	music traveling_minstrels nextsong
	newgui Princess-Robochimp [
		guitext "Thank you for saving me!" chat
		guitext "You're my hero!" chat
	]
	munchsound = (registersound free/chomp 255)
]
"level_trigger_1" = [showgui Princess-Robochimp]
So besides stuff we are defining (what level trigger 1 - and the munchsound) the rest needs to be in the on_start as I have it written. For JUST npc chat it would look like this:

Code: Select all

"level_trigger_1" = [showgui Princess-Robochimp]
"on_start" = [
	newgui Princess-Robochimp [
		guitext "Thank you for saving me!" chat
		guitext "You're my hero!" chat
	]
]
(or could put the level_trigger 1 after it). I know it is kind of confusing, in our new version you don't have to do the on_start. Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin

Re: Problems with loading cutsom maps

Post by CollegeforKids »

for some reason adding that makes it so they won't talk... strange (did you get my email?)
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Problems with loading cutsom maps

Post by Mike »

Make sure there are no typos or just paste what I have. I just tested the code in game and it is working for me. Make sure also the map is in single player, which is press ` for the console (button above tab) and then enter /sp savetheprincess

Just saw your e-mail, wrote back :) Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin

Re: Problems with loading cutsom maps

Post by CollegeforKids »

I figured it out - if you want two NPC's, you don't need to do two "on starts". Both NPC code can be contained within that one. Thanks! The kids will love this tomorrow. Just gotta teach myself a few more things today (picking apart the RPG...hoping to learn quests, attacking creatures, etc. Maybe I'll learn, maybe I won't.)
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Problems with loading cutsom maps

Post by Mike »

For the rpg it is all in data/game_rpg.cfg So much POWA :D Take care!
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Locked