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.

Spells keep changing?

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
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Spells keep changing?

Post by GR1M »

OK, i made a spell i exited sandbox and selected the same spell and its completely different. Everything is the same i didn't change anything while i exited Sandbox.

Gr1m
Image
Want a user bar like this one? PM Leo
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Spells keep changing?

Post by Hirato »

the last 255 are completely random....

use /dumpprojeffects myeffects.cfg to dump them to file
This is not a url, clicking it is pointless
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Spells keep changing?

Post by GR1M »

Hirato, i did that. Its still random any more solutions?
Image
Want a user bar like this one? PM Leo
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Spells keep changing?

Post by GR1M »

?.........
Image
Want a user bar like this one? PM Leo
arcones
Support Team
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: Spells keep changing?

Post by arcones »

I'm working on it GR1M! Don't worry!
Image
Want a user bar like this one? PM Leo!
arcones
Support Team
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: Spells keep changing?

Post by arcones »

GR1M, I can think of one to two things.

And I believe it's the first of these.

Code: Select all

spawn_magic3 = [
        r_type 2
        r_icon Wonder
        r_description "Purple Wonder!"
        r_name "Magic Purpleness!"
        r_spell_type $STYPE_CONE
        r_spell_cost 5
        r_spell_effect 5
        r_spell_gravity 40
        r_addeffect (| $ATTACK_EARTH)

        r_interact [
        
        ]
]
Look at the (| $ATTACK_EARTH). You don't explain how that attack is used. Thru water, air, magic, fire...

If you'll notice mine has a second attack after my primary:

Code: Select all

spawn_magic = [
   r_type 2
   r_icon magic
   r_description "This magic is potent. Use it carefully."
   r_name "Magic"
   r_spell_type $STYPE_TARGET
   r_spell_cost 125
   r_spell_effect 50
   r_spell_gravity 70
   r_addeffect $STATUS_HEALTH -50 60000 $ATTACK_WATER 
   r_addeffect $STATUS_HEALTH -40 (| $ATTACK_AIR $ATTACK_MAGIC)
      
   r_interact [
      r_select $rpginteract
      r_pickup $rpgself
   ]
]
The attack magic along with the $STATUS_HEALTH may be able to keep your spell from changing effects! I don't know if I can try it out tonight but I'll try!

Arc :)

One more thing, at the top of the game_rpg.cfg, there is something that explains why you need two $ATTACK_'s... ;)
Image
Want a user bar like this one? PM Leo!
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Spells keep changing?

Post by GR1M »

Nice suggestion but still doesn't keep the spells from changing.
Image
Want a user bar like this one? PM Leo
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Spells keep changing?

Post by Hirato »

/dumpeffects will dump the effect definitions to file, open it in a text editor and copy the desired definition over to game_rpg.cfg, and have your spells use it
the end :P
This is not a url, clicking it is pointless
arcones
Support Team
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: Spells keep changing?

Post by arcones »

OOOHHHH!

Wow Hirato, that actually makes sense! I was having a little trouble with it, but then I re-read it and it makes sense!

I'll try it out!
Thanks Hirato!
Image
Want a user bar like this one? PM Leo!
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Spells keep changing?

Post by GR1M »

Hirato...Thank you lol How long have you been working with Cube 2?
Image
Want a user bar like this one? PM Leo
Locked