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.

Quick question on file location

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
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Quick question on file location

Post by owenisred »

Ok could anyone point me in the right direction? I'm looking for the script for when you press tab in RPG mode. I looked in defaults.cfg to find:
if (strcmp (getgame) "rpg") [
bind F1 edittoggle
editbind F1 edittoggle
bind MOUSE1 [ primaryattack ]
bind MOUSE2 [ secondaryattack ]
bind e worlduse
bind TAB [showplayergui (! $showplayergui)]
I need to know where the guiscript for playergui is - any ideas?

Thanks,
Owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
User avatar
RonnieNeeley
Member
Member
Posts: 203
Joined: May 5th, 2010, 6:35 pm
Name: Ronnie Neeley
Location: Illinois
Contact:

Re: Quick question on file location

Post by RonnieNeeley »

I believe you are searching for the "game_rpg.cfg" file in the "data" section. That has all the spells and such.

If that's not what you needed, let me know.
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Quick question on file location

Post by owenisred »

I dont think so - I thought thats where it would be myself. Maybe ive missed is (dont think so) but ill double check after this post. From my understanding, the game-rpg.cfg file was the definitions of all the spells, their effects and the like.

Im trying to write a script, (my first ever - its so badly wrong I know) and its not even finished

What I'm trying to do is this: I want a total of 36 spells. The spells are going to be grouped into categories of 4, i.e. the first four are going to be included in a hypothetical spell group 1. When I hit 1 I want the first spell selected in the group, if i hit it again, the second, the third, the fourth, and then back to the first. The same applies for the other spell groups.

This is what I've managed:
BIND "1" [exec idkwheretoputthis/spellgroup_1.cfg]
BIND "2" [exec idkwheretoputthis/spellgroup_2.cfg] //And so on until BIND "9"

// even this is wrong I think. Is it?
Then in spellgroup_1.cfg
loop i 4 [equipspell (+ i 1)]

//I know this isnt right, but I don't understand decisions in this coding language yet
//Plus, this is the part that is related to my original post, is equipspell correct?
Can anyone tell me what to do :(

Thanks for your help in advance,
Owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Quick question on file location

Post by owenisred »

Well I got it anyway I think.

It wasn't in a .cgf file like I expected, but in rpggui.cpp

Closed.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
Locked