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.

An RPG with Rpg Snow

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.
Locked
User avatar
SpudManTwo
Member
Member
Posts: 4
Joined: December 24th, 2009, 2:09 pm
Name: Matt

An RPG with Rpg Snow

Post by SpudManTwo »

Hello Hello I am SpudManTwo.
This goes out to anyone who can help or wants help I am still working with an old download of Sandbox so you will have to bear with me.
I have generated a RPG in RPG Snow in FPS mode(don't ask why it's in FPS mode) and I will make one in RPG mode soon. However I have some questions

1.
(This one is probably more for adminastrators and very talented programmers.)
If and how can you make a variable count so that way you can create a changing quest status. Here is my code.

QuestStatus = 0

newgui main [
guilist [
guilist [
guibutton "Quest information" "showgui quests"

]
guibar
guilist [
guibutton "Unload Test UI" "newgui main [@main]"
]
]
guibar
@main
]

newgui quests [
guibutton "Back" "cleargui 1"
guibar
if (= QuestStatus 0) [
guitext (format "To begin the game go to the village and talk to the pie maker.") ]
if (= QuestStatus 1) [
guitext (format " Follow the guard's orders and find the swimming pool in the castle. " ]
]



level_trigger_1 = [showgui PieMaker]

newgui PieMaker [

guitext "Pies there are three," chat
guitext "but you only want one" chat

guibar
guibutton "Thank You" "cleargui" ]

level_trigger_2 = [showgui Guard]

newgui Guard [
QuestStatus = 1
guitext " You there you young man," chat
guitext " I need you to find the pool" chat
guitext "inside this castle so that way" chat
guitext "I can swim and defend this place" chat
guitext "at the same time" chat
guibar
guibutton "Will do Sir" "cleargui" ]


2.
(For Anyone)
Does anybody else have a RPG project that I can help with because I have become pretty good with scripting and I want to help someone else out.
The creation of Programmers
And on the 356th day the lord said " There shall be video games and programmers to make these games and all of this I shall control."
User avatar
damiandj
Member
Member
Posts: 159
Joined: October 10th, 2009, 6:50 am
Name: Damian
Location: Selva di Val Gardena , South Tyrol, Italy, Europe, Earth

Re: An RPG with Rpg Snow

Post by damiandj »

1. QuestStatus = (+ $QuestStatus 1); ;)

2. if you want you can help the TGC project to create some quests...or other things... :D

If you want I can send you the TGC cubescript libs :D So you can check out the TGC scripts!!!
And maybe you can learn more things for your project too...
RPG PROJECT - "The Golden Coin" (TGC) - http://www.thegoldencoin.do.am - DAMIAN
User avatar
SpudManTwo
Member
Member
Posts: 4
Joined: December 24th, 2009, 2:09 pm
Name: Matt

Re: An RPG with Rpg Snow

Post by SpudManTwo »

Thanks. I truly feellike an idiot for over looking the $ sign. I had tried it hundreds of different ways but I left that out. I also might help that out nowthat I just got Version 2.5. I had been running on 2.4
The creation of Programmers
And on the 356th day the lord said " There shall be video games and programmers to make these games and all of this I shall control."
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: An RPG with Rpg Snow

Post by Venima »

To help me learn stuff like that I checked out the village cfg in the main maps. (assuming you've got that one)

Although it wasn't long before I surpassed that simple coding.

A handy thing to know: locked door and key
door: trigger type 11, trigger 17 (doesn't matter which trigger)
key: trigger type 12, trigger 13 (again doesn't matter which trigger)

Code: Select all

key = 0

level_trigger_13 = [
	key = (+ $key 1)
	echo "Picked up a key"
]
level_trigger_17 = [
	if (> $key 0) [trigger 17 1] [echo "This door appears to be locked."]
	// in "trigger 17 1", 17 refers to the door that has trigger 17 and 1 refers to it's open state
]
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