Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Why don't the TAGs get set for attacks used outside of battl

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
chronoboy
Into the past with a splash




Joined: 04 Jun 2010
Posts: 162
Location: Canada

PostPosted: Thu Nov 18, 2010 5:47 pm    Post subject: Why don't the TAGs get set for attacks used outside of battl Reply with quote

This is a real downer... I am attempting to make a Spell which is used out of battle set a TAG if used. However, it does not work, it only sets the TAG if used in battle. What's up with that?

Should I file a bug report or is it suppose to be like that?

On top of that, outside of battle is seems to damage you, when I set it to "No damage". This attribute works in battles, but out of battles it does not honor it.
_________________
Current project: Chronoboy Adventures

Website: http://www.chronoboy.com/
Back to top
View user's profile Send private message Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Nov 18, 2010 7:21 pm    Post subject: Reply with quote

Out-of-battle attacks are basically an unfinished feature. They've been that way forever. The problem is that they use a simplified reimplementation of all the in-battle attack code which is meant to work slightly differently. However, anything missing should probably be considered a bug - feel free to post a bug on bugzilla about anything specific.

However, setting tags and the no damage bit should be easy to add.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
chronoboy
Into the past with a splash




Joined: 04 Jun 2010
Posts: 162
Location: Canada

PostPosted: Fri Nov 19, 2010 12:36 am    Post subject: Reply with quote

Just added Bug 861 and Bug 862.

Your probably curious why one would even want to create such an attack that does absolutely nothing, but set a measly tag on fire.

Being able to set a tag from your spell list out of battle makes it possible for one to create a spell like "Unlock Magic" to unlock a magic seal. Other things are also possible. I would also like it, if for example, you can make a specific spell only usable outside of battle.

Your now wondering, well if you have a spell like "Magic Unlock", it's useless, it can only unlock one seal from anywhere in the game(including inside a battle), why not just create a magic scroll for this...

If you seriously thought that, then you really don't know what can be done using plotscripting... One single tag can do a lot more than one thinks it can, it's how you use the tag, and not what it's attached to that makes it useful.

The basics of a tag is a binary, 1 or 0, on or off. Before plotscripting became as powerful, tags were your weapon to drive the story. There are still many RPG engines that use tags excessively, I think a little too much, to drive story lines. In my more recent creations, my games use as little tags as possible, and replaces it with the all so powerful global variables. You have many more global variables than you do tags. The only limitation people see is that it cannot directly control NPC appearances, textboxes, and inventory management. The only limitation is being stuck with this simple idea and not seeing outside the box.

The OHR engine is only as limited as the game developer see it.
_________________
Current project: Chronoboy Adventures

Website: http://www.chronoboy.com/
Back to top
View user's profile Send private message Visit poster's website
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Nov 19, 2010 9:00 am    Post subject: Reply with quote

The Mad Cacti wrote:
Out-of-battle attacks are basically an unfinished feature. They've been that way forever. The problem is that they use a simplified reimplementation of all the in-battle attack code which is meant to work slightly differently. However, anything missing should probably be considered a bug - feel free to post a bug on bugzilla about anything specific.

However, setting tags and the no damage bit should be easy to add.


Actually, I fixed this back in svn revision 3419. It was just way to complicated to backport to the Ypsiliform tree.

However, tag setting is currently happening *outside* the inflict sub, but it wouldn't be to hard to move it inside.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group