| Anonymous | Login | Signup for a new account | 2010-09-09 17:08 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000173 | Mana | [All Projects] General | public | 2010-07-18 23:18 | 2010-08-17 15:51 | ||||||
| Reporter | strikermdd | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Summary | 0000173: Add the possibility to add custom variables in Manaserv | ||||||||||
| Description | Well, i´m trying to do some things more advanced in Manaserv ( Like a Class System, Increment the Magic System and some more new features ), but in actual lua bindings don´t permit that. ( I try to use the quests variables, but the result don´t stay very good and its not right way to do this) Then I propose to add a custom variables lua binding, and permit these values to hold multi-valuables too. For example : -- Add a new Variable to the char mana.createvariable(name,startervalue) -- Change the values of a Variable the char have mana.changevariable(name,value1,value2,value3, ...) -- Remove one or more Variables mana.removevariable(name) Use Example : -- Create a default class variable in the char mana.createvariable(class,soldier) -- Change the default variable from soldier to Swordman mana.changevariable(class,swordman) -- Add a level to the class of the char mana.createvariable(classlvl, 1) -- Add a default faction to the char mana.createvariable(faction,neutral) -- Change default Faction from neutro to the WarClan mana.changevariable(faction,warclan) ... So these variables can hold many different things that all game creators will can make more advanced things ( Or simple things too ) with Mana Engine. I Hope this can´t be too dificult too implement because its more or less like the quest lua bindings. ps. And yes, i know TMW will not have a class system, but its exactly because this we need these bindings, for implement this system by themselves. | ||||||||||
| Additional Information | A table, named like mana_global_variables should be used to store the values of these data. Also, the variable should also be optionally declarable as not persistant. In that case, they won't be registered to this table. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
|||||||
|
|||||||
Notes |
|
|
(0000663) Bertram (developer) 2010-07-19 10:19 |
Hi Striker, Is it the same idea as in: 0000077? |
|
(0000664) strikermdd (reporter) 2010-07-19 13:31 |
Yes, i don't see this before ... my fault ... But i think mine its more complete ( nothing about seeseekey off course), and i think mana_world_states can be changed by a table called 'global_variables' in the seeseekey proposal. |
|
(0000667) Bertram (developer) 2010-07-19 14:32 |
Indeed, your proposal supersedes seeseekey's one, and I agree about the table name. I'll close the 0000077 in that case. Anyway, I hope you'll be both happy when this will be done. Thanks again. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-07-18 23:18 | strikermdd | New Issue | |
| 2010-07-19 10:19 | Bertram | Note Added: 0000663 | |
| 2010-07-19 13:31 | strikermdd | Note Added: 0000664 | |
| 2010-07-19 14:32 | Bertram | Note Added: 0000667 | |
| 2010-07-19 14:33 | Bertram | Relationship added | duplicate of 0000077 |
| 2010-07-20 06:44 | Bertram | Description Updated | View Revisions |
| 2010-07-20 06:44 | Bertram | Additional Information Updated | View Revisions |
| 2010-07-20 06:44 | Bertram | Summary | Add the possibility to custom variables in Manaserv => Add the possibility to add custom variables in Manaserv |
| 2010-08-17 15:45 | seeseekey | Issue Monitored: seeseekey | |
| 2010-08-17 15:51 | jurkan | Issue Monitored: jurkan | |
| Copyright © 2000 - 2010 MantisBT Group |