Posted: Fri Mar 10, 2006 1:40 pm Post subject: Re: StartingGold=100
Unreal wrote:
In the past couple years working with pol. I've never found this line or anything that I can set the amount of gold when a new char is created.
Could do a search for gold when the players created, destroy it and create the amount that I want. But that's a little bit unnecessary...
maybe a new line in servspecopt.cfg; StartingGold=100?
yikes please don't.... such stuff in the server config would be really weird, this isn't a sphere shard, is it?
but uhm, I could swear there's a script that defines what new chars get and which you can customize - maybe it's in the oncreate script already?
http://poldoc.fem.tu-ilmenau.de/scripttypes.php#oncreate.ecl
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 297 Location: Myrtle Beach, South Carolina
Posted: Fri Mar 10, 2006 3:41 pm Post subject:
What does sphere have to do with this? lol.
It's not in;
starteqp.cfg - nothing
oncreate.src - nothing
starteqp.inc - nothing
POL Docs - nothing
I've checked 100 times.
I'd rather it be editable so I can turn it off or set the amount and not have the core handle it. And if the core handles it, why? core doesn't handle creating starting equipment.
And another thing, dunno if this is possible. What about right after creating a char, the cloths they're wearing, dagger, short pants, shirt. anyway to change that without having to make a script destroy, create and equip new cloths? nvm there's not.
Starting money?
I have never been bothered that the core doesn't override the starting gold. For years I have had a few lines in oncreate.src that immediately spends that gold and replaces it with the amount I want.
Quote:
// get rid of their newbie gold replace with 500gp
character.spendgold(100);
CreateItemInBackpack(character, UOBJ_GOLD_COIN, 500);
Re: StartingGold=100
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 297 Location: Myrtle Beach, South Carolina
Posted: Fri Mar 10, 2006 8:05 pm Post subject: Re: StartingGold=100
Unreal wrote:
Could do a search for gold when the players created, destroy it and create the amount that I want. But that's a little bit unnecessary...
yeah I know... it's one of those things that should not be handled by the core.
I agree that this should be removed and pass the handling on onCreate script.
Can't think of any reason it should.
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 297 Location: Myrtle Beach, South Carolina
Posted: Sat Mar 11, 2006 12:20 am Post subject:
I'll be very happy if this happends.
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Sun Mar 12, 2006 6:47 pm Post subject:
Well, let's look at this.
Could be done a few ways. Do away with gold/clothes/dagger totally, OR a config entry somewhere to set the amount of Gold.
Let's hear a LOT of feedback, I want to know what a lot of people have to say about this. Pros and Cons both. Maybe even a flag to enable/disable it (enabled by default). Let us know ppl.
IMO everything controlled by oncreate srcipt is the best option.
Author
Message
Beaud
Joined: 14 Feb 2006 Posts: 41 Location: Québec, Canada
Posted: Sun Mar 12, 2006 7:36 pm Post subject:
It shouldnt be specified anywhere anyway, there is no need for flags or options, lets just say, delete it from the core. Its not very hard to edit starteqp.inc. Add it in the distro but nothing more.
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 297 Location: Myrtle Beach, South Carolina
Posted: Sun Mar 12, 2006 8:35 pm Post subject:
I think there should be a type of CFG file for this, atleast for the cloths. Reason for this is because we'd have to create the item in the backpack, or elsewhere and then equiped it, while the core could create them already equiped like it does now. So the cloths on the character don't just randomly appear. Or the player sees them created in their backpack then equiped.
I agree with you guys too. So, as long as I have control over it. I'm all for it.
Author
Message
Tritan
Joined: 04 Feb 2006 Posts: 136 Location: Illinois, USA
Posted: Sun Mar 12, 2006 9:18 pm Post subject:
I would like to see the starting gold only removed from the core. The rest I sort of handle through scripts anyway, at least most of it. I do not see the problem with the clothes though. Leave that alone if possible.
Author
Message
Danielle
Joined: 07 Feb 2006 Posts: 97 Location: Pittsburgh, Pennsylvania
If it's possible to create chars by webinterface in pol96 or further versions, there should be an option to deactivate clothing, because it would be nice to script a complete own system.
otherwise deleting all items by script is better, because many people want to keep the osi-style creation system. Don't know how this would be possible (packet-hook?), if the core doesn't handle it anymore...