Aller au contenu

Photo

Help with making a Roleplay Token system?


  • Veuillez vous connecter pour répondre
26 réponses à ce sujet

#1
Who said that I

Who said that I
  • Members
  • 492 messages
My idea was to make a Roleplay Token system, basically make an item that stacks onto the player and the DM can grand the PC like -points- they can earn for good Roleplay.

Seen that on a few servers and I think that would be actually handier then simply handing them some XP and gold for it.

Though I am at my wits end trying to create something like that....anyone has a clue?

#2
Genisys

Genisys
  • Members
  • 525 messages
So basically, your wanting Stackable Miscellaneous Small items which represent something???



Can you be a little more detailed about what these items do?

#3
Who said that I

Who said that I
  • Members
  • 492 messages
yes its going to be an item I.E. A pouch (pouch cannot be opened) and when a DM thinks that a player is having a good Roleplay so the DM will reward with a Roleplay point.

So basically an item that counts the points the DM gives to the player.

So the DM uses a widget to add a point to the roleplay bag.

Also what I have tried to do is to make it so that players can return those points for certain things (so a DM can take the points away from the roleplay bag)

I hope I gave an good example of what I want to have

Modifié par Who said that I, 31 août 2010 - 10:26 .


#4
C Writer

C Writer
  • Members
  • 45 messages
So you want the PC to be able to 'use' this item for it to tell them how many roleplay points they have? What I'd personally do is have a local integer which you add to whenever they gain points and give the item the unique power self only property. Then, when they use the item, a line spoken by the PC says how many points he/she has. You could get the PC to say it with something like this:

void main()
{
     object oPC = GetItemActivator();

    if (GetTag(GetItemActivated()) == "ITEM_TAG_HERE")
    {
        AssignCommand(oPC, SpeakString("You have " + IntToString(GetLocalInt(oPC, "RoleplayPoints")) + "roleplay points."));
    }
}

You could then increase or decrease this integer with something like this:

void main()
{
    object oPC= GetFirstPC(); // Or whichever function in appropiate for the script

    SetLocalInt(oPC, "RoleplayPoints", GetLocalInt(oPC, "RoleplayPoints") +1); // Apply whichever maths you like
}

Modifié par C Writer, 31 août 2010 - 10:55 .


#5
ehye_khandee

ehye_khandee
  • Members
  • 855 messages

Who said that I wrote...

yes its going to be an item I.E. A pouch (pouch cannot be opened) and when a DM thinks that a player is having a good Roleplay so the DM will reward with a Roleplay point.

So basically an item that counts the points the DM gives to the player.

So the DM uses a widget to add a point to the roleplay bag.

Also what I have tried to do is to make it so that players can return those points for certain things (so a DM can take the points away from the roleplay bag)

I hope I gave an good example of what I want to have



DMs can already do that with ##SetVarInt $ #

DMs can already award XP too from the console.

So what is it that you want this widget to do?

#6
Genisys

Genisys
  • Members
  • 525 messages
She wants 2 tagbased items...

1 for the DM to add / take points from the PC.. (Imaginary RP Points)

1 for the PCs so they can look at their total RP Points..

more or less...

Basically your going to need two tagbased item scripts, one conversation for the DM to give / take & look at the available RP Pts the player has...  That conversation will need 3 scripts as well.. so in total, you will need..

2 Tagbased Items
2 Tagbased Scripts
1 Conversation with..
3 Scripts...

Modifié par Genisys, 31 août 2010 - 12:51 .


#7
Knight_Shield

Knight_Shield
  • Members
  • 444 messages
I like this idea ..can I see the end result?


#8
C Writer

C Writer
  • Members
  • 45 messages
Oh yes, I see you were referring to DMs, Who Said That I. In that case, you can ignore my bottom script, but you'd still probably want my top one (if you have no problem with that method). And as mentioned, you can use console commands to change the variable which contains their roleplay points.



As for the final result, Knight_Shield, it would be easiest for you to see it if you simply added it into a custom module and either scripted the variable change (with my bottom script in my last post), or use the console commands as mentioned above.

#9
Genisys

Genisys
  • Members
  • 525 messages
I think the variables set on items are persistent in multiplayer, therefore you would want to export the character after any changes are applied to the PC's item to ensure it sticks (in case the server shortly crashes or PC quickly logs unaware)

Modifié par Genisys, 31 août 2010 - 09:22 .


#10
Who said that I

Who said that I
  • Members
  • 492 messages
hmm okay, so before I even try it myself, must the tagbased items have the same or similar tag? I do not believe so but I cannot be too sure.

Can't it be made so that the pc is being saved right after the RP point given? Or right after the RP point's are being taken away?

#11
GhostOfGod

GhostOfGod
  • Members
  • 863 messages

Who said that I wrote...

hmm okay, so before I even try it myself, must the tagbased items have the same or similar tag? I do not believe so but I cannot be too sure.


That depends on how you want to do it. You could give them the same tag but it will run the same script for all items with that tag. But in the one script you could check for different res ref's and only run certain parts of the script based on that.

Who said that I wrote...

Can't it be made so that the pc is being saved right after the RP point given? Or right after the RP point's are being taken away?


Yes.

Modifié par GhostOfGod, 01 septembre 2010 - 06:06 .


#12
Who said that I

Who said that I
  • Members
  • 492 messages
okay well lets get to work then, will let everyone know if I succeeded or failed :P

#13
Who said that I

Who said that I
  • Members
  • 492 messages
okay tag items is not that hard, though I am not sure how to do the script that will give the pc a "imaginary" rp point or make the dm able to take the point away from the pc



can someone help me with this?


#14
Genisys

Genisys
  • Members
  • 525 messages
Ok, here is the system you asked for, I made an erf & a module..

The nwvault submission of the DM RP Award System

It includes a PC item & a DM item, with a DM conversation & 7 total scripts, you however don't get off scott free..

You will have to create 10 award items to be handed out (randomly) by this system, should the PC accumulate 10 Role Playing Points... you decide what you want each one to be..

give each one the resref name(s)...

dm_rp_award_0
dm_rp_award_1
dm_rp_award_2
dm_rp_award_3
dm_rp_award_4
dm_rp_award_5
dm_rp_award_6
dm_rp_award_7
dm_rp_award_8
dm_rp_award_9

That's 10 seperate items, they can have any tagname you want, so they can also be tagbased scripted items as well..

This only took me about 40 minutes, hope you enjoy... best of luck to you and your on your server..   :D

Cheers & Enjoy

Genisys (Guile)

Modifié par Genisys, 02 septembre 2010 - 06:39 .

  • Who said that I aime ceci

#15
ehye_khandee

ehye_khandee
  • Members
  • 855 messages
oops double post, see below.

Be well. Game on.
GM_ODA

Modifié par ehye_khandee, 02 septembre 2010 - 11:23 .


#16
ehye_khandee

ehye_khandee
  • Members
  • 855 messages
ALERT!

The site 'mediafire' uses methods similar to malware in the web code, be certain you have adequate protection when visiting mediafire sites.
 
Be well. Game on.
GM_ODA

#17
Genisys

Genisys
  • Members
  • 525 messages
You know, Media Fire has been around for a very long time...

I've scanned my computer just the other day with 9 different scanners, having visited the web site countless times, and I have had 0 detections in any category in the last 5 months... If this website was hacking people like you claim, and there was proof, they wouldn't be around long...

Scanners Used:

Microsoft's OneCareLive Online Saftey Scanner
ESET - Online Antivirus Scanner
Avira - Free Antivirus - Including the Anti-Root-kit
Root Kit Buster
Malwarebytes
HiJackThis - The Ultimate Tech Tool (Rarely anything escapes this program)
Super Anti-Spyware
Spybot Search & Destroy
Spy DLL Remover

These programs are without a doubt the best at what they do...

(Edited to remove an exageration - it's impossible to even guess @ how many computers I have fixed in my life..)

Now, having fixed many computers in my career as a PC Technician, I'd have to say that the above "Scare Alert" is false... Furthermore quite a few Professional Software Companies host their files for download on Media Fire, some of which are security firms or anti-spyware / anti-malware & anti-virus companies.. If anyone would know better it would be the pros that work for those companies... Mediafire is used by many companies & people because it's not an open public search-able website, therefore unless you have a direct link to the files you won't find anything on media fire..

Be well Surf On..
Genisys

P.S. Don't let loud chickens scare you....  (We all have a chicken little in us, the sky is falling!)

.

Modifié par Genisys, 02 septembre 2010 - 03:40 .


#18
ehye_khandee

ehye_khandee
  • Members
  • 855 messages

Genisys wrote...




You know, Media Fire has been around for a very long time...

I've scanned my computer just the other day with 9 different scanners, having visited the web site countless times, and I have had 0 detections in any category in the last 5 months... If this website was hacking people like you claim, and there was proof, they wouldn't be around long...


Don't put words in my mouth. Scroll up and see that what I said was 

"ALERT!

The site 'mediafire' uses methods similar to malware in the web code, be certain you have adequate protection when visiting mediafire sites."

I will repeat the salient point "uses methods similar to malware". Read it, digest it and learn.

Genisys wrote...

Scanners Used:

Microsoft's OneCareLive Online Saftey Scanner
ESET - Online Antivirus Scanner
Avira - Free Antivirus - Including the Anti-Root-kit
Root Kit Buster
Malwarebytes
HiJackThis - The Ultimate Tech Tool (Rarely anything escapes this program)
Super Anti-Spyware
Spybot Search & Destroy
Spy DLL Remover

These programs are without a doubt the best at what they do...



This is your OPINION. And I have my doubts about a great many things you assert as true. FYI, it was NORTONs that gave the error message in another thread on this forum that alerted us to this issue.

Trust what you choose to trust, facts are facts, NORTON reported the site as a possible malware.


Genisys wrote...


Now, having fixed well over 20,000 computer in my career as a PC Technician, I'd have to say that the above "Scare Alert" is false... Furthermore quite a few Professional Software Companies host their files for download on Media Fire, some of which are security firms or anti-spyware / anti-malware & anti-virus companies.. If anyone would know better it would be the pros that work for those companies... Mediafire is used by many companies & people because it's not an open public search-able website, therefore unless you have a direct link to the files you won't find anything on media fire..

Be well Surf On..
Genisys

P.S. Don't let loud chickens scare you....


And more to the point, don't let boisterous self proclaimed ITs tell you they know best. Guile/Genesis has many other posts around which you may read and use to assess his skills. I have and I have a low opinion of them. Do not assume that 'the masses know best', often they do not. Count the flies on excrement and ask yourself, "Does this taste good? Could so many be wrong?"


Chickens? un-Guile, why do you call names? Have you no points to make perhaps?

Better follow convention and use nwvault like the rest of us (a site we know and trust) as has been discussed before in other threads where you posted to mediafire. Or did you have a hissy and pull all your work off of nwvault again?

By your posts, you were born in 1970 and began using apple/mac computers when you were 11 (in 1981). Assuming you started fixing computers on that same day, this would mean you have 'fixed' 666.66~ computers per year since that date - allowing no time off for weekends or holidays. This would mean people have brought you two computers EVERY DAY SINCE YOU WERE 11 to fix. I find this, like MOST things you state, VERY SUSPECT. 

Be well. Game on.
GM_ODA


:innocent:

#19
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
It is still one of the sites that I refuse to use.



Other feel the same. So the Question is why do you insist on limiting you audance on this site by useing a site that several have stated they do not trust.

#20
Genisys

Genisys
  • Members
  • 525 messages
First of all, to answer your question Lightfoot8...

nwvault.ign.com requires approval of any submissions, this could take hours or even days in some cases...

I wanted to offer it up for download immediately, that's why I used media fire, someone suggested drop box, however..

Does drop box require you to use a software you have to download from their website?

If Drop Box requires you to download software to download or upload, that would be a bad thing..
(for the up loader and the down loader..)

Finally, I didn't make this for anyone but the original poster, if someone else wants to use it, fine..

If they don't, why bother griping, whining, or starting a flame war for that matter?
(I'm not pointing any fingers at anyone, I'm making a valid point here, use it or don't.)

Modifié par Genisys, 02 septembre 2010 - 03:35 .


#21
Genisys

Genisys
  • Members
  • 525 messages

ehye_khandee wrote...

Genisys wrote...




You know, Media Fire has been around for a very long time...

I've scanned my computer just the other day with 9 different scanners, having visited the web site countless times, and I have had 0 detections in any category in the last 5 months... If this website was hacking people like you claim, and there was proof, they wouldn't be around long...


Don't put words in my mouth. Scroll up and see that what I said was 

"ALERT!

The site 'mediafire' uses methods similar to malware in the web code, be certain you have adequate protection when visiting mediafire sites."

I will repeat the salient point "uses methods similar to malware". Read it, digest it and learn.

Genisys wrote...

Scanners Used:

Microsoft's OneCareLive Online Saftey Scanner
ESET - Online Antivirus Scanner
Avira - Free Antivirus - Including the Anti-Root-kit
Root Kit Buster
Malwarebytes
HiJackThis - The Ultimate Tech Tool (Rarely anything escapes this program)
Super Anti-Spyware
Spybot Search & Destroy
Spy DLL Remover

These programs are without a doubt the best at what they do...



This is your OPINION. And I have my doubts about a great many things you assert as true. FYI, it was NORTONs that gave the error message in another thread on this forum that alerted us to this issue.

Trust what you choose to trust, facts are facts, NORTON reported the site as a possible malware.


Genisys wrote...


Now, having fixed well over 20,000 computer in my career as a PC Technician, I'd have to say that the above "Scare Alert" is false... Furthermore quite a few Professional Software Companies host their files for download on Media Fire, some of which are security firms or anti-spyware / anti-malware & anti-virus companies.. If anyone would know better it would be the pros that work for those companies... Mediafire is used by many companies & people because it's not an open public search-able website, therefore unless you have a direct link to the files you won't find anything on media fire..

Be well Surf On..
Genisys

P.S. Don't let loud chickens scare you....


And more to the point, don't let boisterous self proclaimed ITs tell you they know best. Guile/Genesis has many other posts around which you may read and use to assess his skills. I have and I have a low opinion of them. Do not assume that 'the masses know best', often they do not. Count the flies on excrement and ask yourself, "Does this taste good? Could so many be wrong?"


Chickens? un-Guile, why do you call names? Have you no points to make perhaps?

Better follow convention and use nwvault like the rest of us (a site we know and trust) as has been discussed before in other threads where you posted to mediafire. Or did you have a hissy and pull all your work off of nwvault again?

By your posts, you were born in 1970 and began using apple/mac computers when you were 11 (in 1981). Assuming you started fixing computers on that same day, this would mean you have 'fixed' 666.66~ computers per year since that date - allowing no time off for weekends or holidays. This would mean people have brought you two computers EVERY DAY SINCE YOU WERE 11 to fix. I find this, like MOST things you state, VERY SUSPECT. 

Be well. Game on.
GM_ODA


:innocent:


I got a point to make GM_ODA...

Your trying to use personal information about me and using things I have said to clearly attack me, this clearly shows that you are trying to start a flame war and/or are trying to excite a confrontation...

If you want to continue, you can, but that wouldn't be wise...

You can end this petty war your trying to start with me, or I'll end it for you, once and for all...

That's not a threat, that's a warning that if you press further I will take the appropriate actions to end this war your trying to continue to excite..

You can take the advice, because I'm not leaving any time soon, or you can continue to ignore the rules of these forums.  enough said..

Modifié par Genisys, 02 septembre 2010 - 03:34 .


#22
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
Then why not use this site. The last person that sent me a request that had to be packed up as an ERF. I did it this way.



http://social.biowar...ect/3342/#files

#23
Genisys

Genisys
  • Members
  • 525 messages
Thanks a lot Lightfoot8, that's a great suggestion...



Now all I gotta do is learn how to use it.. :D



I'm still new here too, sorry.. :D

#24
ehye_khandee

ehye_khandee
  • Members
  • 855 messages
I started NOTHING, and I'm doing nothing but referencing what you have posted over the months.



You 'started' the exchange with your comment here.



http://social.biowar...index/4611046/2



where it reads -



"I'll laugh with you, he told me I can't script either..." this in reference to the quote from ffbj which reads -



"OH, you are going to tell me how to script. That's a laugh. Well no-one and I mean no-one, at least not to my knowledge ever said you did not have Hutzpah!"



Prior to that, all I did was comment on actual code you had posted, which did not work as stated. That is NOT flaming, it is merely helping others to not step in bad code you left for their use.



Hone your skills if you are so sensitive about being wrong, or just stop posting all that bad advice. I have as much right to read this site and post to it as you do.



So again, I suggest you follow your own advice and drop this pettiness now.




#25
Genisys

Genisys
  • Members
  • 525 messages
I updated the download to be a nwvault.ign.com download, for those who are interested in the system..