Substitution Strings
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Substitution Strings
I'd like to request, from those people that know them, a list of possible "substitution strings"... EG: %MEMBER_LEADER%
I've been trying to do some things with WALLITEM_SPEECH and the "substitution strings" seem to be, by far, the best answer.
Thanx.
I've been trying to do some things with WALLITEM_SPEECH and the "substitution strings" seem to be, by far, the best answer.
Thanx.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Gambit37
- Should eat more pies
- Posts: 13720
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
It's about the only thing currently in the RTC Wiki
http://dmwiki.atomas.com/wiki/RTC/Substitution_Strings
http://dmwiki.atomas.com/wiki/RTC/Substitution_Strings
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
The main one I was wanting was something like %MEMBER_NAME%...
EG: Member attempts spell cast, passes the usual spell casting checks, spell cast goes through triggers, triggers make it fail: "Gothmog's spell fizzles".
It needs to be a per character variable.
EG: Member attempts spell cast, passes the usual spell casting checks, spell cast goes through triggers, triggers make it fail: "Gothmog's spell fizzles".
It needs to be a per character variable.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Bugger.
I hope that George sees this when he comes back. It's rather limiting to not be able to do it.
Thanx anyways Gambit.
I hope that George sees this when he comes back. It's rather limiting to not be able to do it.
Thanx anyways Gambit.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
I did know that approach, but that fails to work with reincarnated characters. It's a pain in the a** trying to get it to work the way I want it to.
Thanx anyways.
Thanx anyways.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Here I was think that you'd found something...
Damn, I can't help but feel slightly disappointed.
Anyways, hopefully George reads this and adds it...
BoNes prays for George to someday read this...
Damn, I can't help but feel slightly disappointed.
Anyways, hopefully George reads this and adds it...
BoNes prays for George to someday read this...
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Gambit37
- Should eat more pies
- Posts: 13720
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Ooooh, you're in luck!
I just dumped the RTC.EXE into a hex editor and found a few extra strings that you can use:
%ITEM_CHARGE_AS_RUNE%
%ITEM_CHARGE_AS_NUMBER%
%MEMBER_1%
%MEMBER_2%
%MEMBER_3%
%MEMBER_4%
There is also %ITEM_LIFETIME% though I think this is connected to the %VALUE% special, due to the way it's shown in the ASCII string. Not sure.
Does this help you do want you want?
I just dumped the RTC.EXE into a hex editor and found a few extra strings that you can use:
%ITEM_CHARGE_AS_RUNE%
%ITEM_CHARGE_AS_NUMBER%
%MEMBER_1%
%MEMBER_2%
%MEMBER_3%
%MEMBER_4%
There is also %ITEM_LIFETIME% though I think this is connected to the %VALUE% special, due to the way it's shown in the ASCII string. Not sure.
Does this help you do want you want?
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
EXACTLY!
Thanx very much, Gambit. I hadn't seen this post, and just discovered the way myself. I actually came back here to post it, and saw this...
But, you did beat me to it, so thank you very much for your assistance.
If you haven't seen it, there is a topic in the "RTC Editing" forum, on poison projectiles, that you may be able to help with...
Thanx again.
BTW: The %MEMBER_1%, %MEMBER_2%, etc. defaults to "THERON". Try it out on a wall text.
Thanx very much, Gambit. I hadn't seen this post, and just discovered the way myself. I actually came back here to post it, and saw this...
But, you did beat me to it, so thank you very much for your assistance.
If you haven't seen it, there is a topic in the "RTC Editing" forum, on poison projectiles, that you may be able to help with...
Thanx again.
BTW: The %MEMBER_1%, %MEMBER_2%, etc. defaults to "THERON". Try it out on a wall text.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone