![]() |
[Sharing] Gamble npc ;)
Well i made this package for you, maybe something good maybe not, maybe useful, maybe useless ^^.
[right:5e9ffe1295]http://img338.imageshack.us/img338/1951/Shot00012.jpg[/right:5e9ffe1295] |
cool tnx soapy :)
|
that is very cool
but I never realize casino can work on recipe script ;-DD I past here code for lazy ass .. I add this to event_human / elf /delf ..etc they are useless it can work with this and noone need client side patch |
Quote:
|
Code:
npc_begin citizen 12260 [event_human] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.4 undying=1 can_be_attacked=0 acquire_sp=4 race=human sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=1000 org_mp=1000 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx4851683855 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=0 collision_radius=8 collision_height=24 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[event_darkelf];{[fnHi] = [gamble_master_01.htm]}} corpse_time=7 no_sleep_mode=0 npc_endCode:
class event_human : merchant_for_cgradeCode:
territory_begin [L2day_ti] {{-84577;243088;-3784;-3584};{-84377;243088;-3784;-3584};{-84377;243288;-3784;-3584};{-84577;243288;-3784;-3584}} territory_end |
btw > anybody have working emotions @ npc? like npc welcome you.. when u click on him..etc? :(
I now think to make casino @ every gatekeeper .. that will be cool.. basic html with 2 choice 1. teleport -> teleport menu 2. casino - > casino menu but dont know if this can work.. dont know how to call for teleport menu @ ai.obj |
Quote:
;) |
thanks SoaPy :)
|
Quote:
You just need to recode the citizen AI, and add a timer for "boring/sleepy" animations. |
SoaPy Your work ?!@#!@# i gave it to entrox how the fuck its your work
|
Quote:
|
i gave the code to entrox before 3 days oh cmon
|
Quote:
|
you could say "here something i've found" or "here something someone gave me"
and i translate the html |
Quote:
|
anyway finito
:) |
wow very nice soapy, heh...
|
ant this is of a stolen ai code demon ?
http://drnagel.dyndns.org/ftp/shot00028.jpg http://drnagel.dyndns.org/ftp/shot00029.jpg http://drnagel.dyndns.org/ftp/shot00030.jpg http://drnagel.dyndns.org/ftp/shot00031.jpg |
gambling
is this just for C3?
|
Dave no, should be implementable on all versions, you just need to find a NPC to be the gambler.
--- And the screens Soapy showed second is a working but not finished version of our new gambling system, will include Jackpot where all "lost adena" gets collected till someone wins it ;) |
gambler
can i create a new npc to be gambler
|
You can create any kind of NPC as a Gambler as long as you use the correct settings...... :|
|
gambler
what are the percentages of winning. and how is it calculated.
|
On the one you can download in this thread, its a simple recipe, success_rate is the chance you have of winning.
|
gambling
is there another one?
|
| All times are GMT. The time now is 15:48. |