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.

why wont spells work

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
ryancorp
Member
Member
Posts: 15
Joined: December 25th, 2010, 2:31 pm
Name: ryan

why wont spells work

Post by ryancorp »

I tried to use a spell off the net and can't get it to work in rpg.
put this into a .cfg file with the same name as the saved game in this case fog test.cfg and yes it's not fog test.cfg.tst

spawnplayer = [
r_additem flashlight
]

spawn_flashlight = [
r_type $ENT_ITEM
r_icon flashlight
r_description "A flashlight for searching with."
r_item_slots $SLOT_RHAND
r_addowneffect $STATUS_LIGHT 35 1000000000
r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]

it got rid of the basic items but wont add the flashlight
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: why wont spells work

Post by chocolatepie33 »

What version do you have? (It helps to know 2.5 spells are different from 2.6 and on)

EDIT: actually, now that I realize it, that bit's supposed to go in data/game_rpg (or something like that, I don't have 2.6.1 yet), not in the map's .cfg file.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
ryancorp
Member
Member
Posts: 15
Joined: December 25th, 2010, 2:31 pm
Name: ryan

Re: why wont spells work

Post by ryancorp »

it's in 2.5
The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair.
Douglas Adams
User avatar
ryancorp
Member
Member
Posts: 15
Joined: December 25th, 2010, 2:31 pm
Name: ryan

Re: why wont spells work

Post by ryancorp »

got it to work
The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair.
Douglas Adams
Locked