Author |
Message |
dreamweaver Guest
Offline
|
Posted: Thu Aug 07, 2003 11:21 pm Post subject: !buy bot that uses points as currency |
 |
|
|
|
I need a !buy bot that uses a players points for their currency, The reason: all the !buy bots ive seen do not pay attention to turf rewards...
So, i need..
Note: Cloak costs 50000
Player> !buy gun
Bot> /*points -50000
Bot> /*prize #1
so the bots thinking would be along the lines of:
On (!buy cloak) IF ("points">"cost") THEN {:"NAME":/*points -"cost"} ELSE {:"NAME": You cannot afford "ITEM"}
IDEALLY, the bot would also be able to tell if the player can USE that upgrade, and move accordingly.
Unfortunatly, i have 0 knowledge of how the innerworkings of a bot fit together. I could probably peice the coding together, but im clueless as to where they go and how they go.
Anyone help me out? =)
~DW~ |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Aug 07, 2003 11:33 pm Post subject: |
 |
|
|
|
Umm.. how about an easier method? ?set Cost:Cloak:50000
Plus you can even have it so you have to be in a safety zone to use ?buy (Cost:PurchaseAnytime). |
|
Back to top |
|
 |
dreamweaver Guest
Offline
|
Posted: Thu Aug 07, 2003 11:36 pm Post subject: |
 |
|
|
|
yeah its like that now -- the main thing is im trying to avoid the "i didnt know i couldnt use cloak on this ship so wheres my 50,000 points!" crap |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Aug 07, 2003 11:38 pm Post subject: |
 |
|
|
|
Well, then you might want to put a .lvz image somewhere explaining it near a safety zone or something then. Because if a player knows how to use ?buy, they should know how to cloak. |
|
Back to top |
|
 |
dreamweaver Guest
Offline
|
Posted: Thu Aug 07, 2003 11:42 pm Post subject: |
 |
|
|
|
sounds good, how bout we move to the lvz forum so I can ask how to do that, among other questions i have lined up for you guys tonight ;]
~DW~ |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Fri Aug 08, 2003 12:23 am Post subject: |
 |
|
|
|
yes, it's always a good idea to make a list of what ships can and cannot have in an arena where you can ?buy
can use a .hlp file addition
or a screen or map .lvz like mine suggested
or website (more work - less accessible while in-game)
just make a new thread in the appropriate forum if you need more assistance with something |
|
Back to top |
|
 |
|