Senior Member
Join Date: Aug 2013
Posts: 123
|
Simple enough question. I want to replace all existing calls to a procedure X with new code that does something different. My assumption is that it's not that extensible, but I would like some official word on the subject.
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Well if it's an already existing procedure in your system, you could just go replace the code in it. It's likely in your procedure.dat file from the original skeleton files.
If you're referring to something else, please elaborate. |
#2 |
Senior Member
Join Date: Aug 2013
Posts: 123
|
Quote:
In THIS case, I have clear and easy access to the source since that's what the Authoring Kit example is based upon. however, if I were to ever want to play a different game (such as D&D 5e for example), I want to know what, if anything would be possible if I needed to change the contents of some procedures. Specifically, for the way Savage Worlds works, this also is at whole decision I am working on is part of the feature request http://forums.wolflair.com/showthread.php?t=59193 I made the other day since that situation happens all the time in Savage Worlds and likely rarely happens in most other game systems(need for "replaces", but only sometimes). |
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,243
|
In the editor, the *Procedures tab doesn't have a "Replaces Thing Id" option, so I don't understand how you intended to make this replacement happen.
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 123
|
Quote:
I think at the end of that day, in order to do what I want with the Savage Worlds system, I am going to have to copy and extend/replace various parts. Good in that I have source code for all of it so don't have to start from completed scratch. Bad that I still have a good deal of work to do to change the UI and a few object properties(ie, add some new properties to objects) and that any future fixes won't get applied automatically. This really was not so much about a need to change an existing procedure with my copy, but a general question about how the extensiblity of the application works. One of the change to a procedure has already been done and I am about to ask for a second change(that may or may not be done). |
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
Funnily enough, I had a similar situation recently, where someone asked about changing behavior of Mutants and Masterminds, and since it required changing a Procedure, it also involved replacing everything that called that Procedure with the new name...
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,243
|
I am not aware of any way to replace procedures (short of Duggan's solution - replace everything that calls the procedure, and have it call a new procedure).
|
#7 |
|
|