• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Big foot event items

Elgenady

Veteran OT User
Joined
Aug 5, 2011
Messages
1,638
Solutions
35
Reaction score
351
first hello guys i get some idea's for my server im use tfs 0.4-dev C8.60
________________________________________________________________
first script :
___
action : items when player use it invisible like (/ghost) normale player can't see him for 10 sec and can use it again after 3 min
___________________________________________________
1:Use this Slower, and it will SLOW a random player in big foot event, for -35% speed for 3 seconds,

2:Kills 1 big foot, it attacks like a spear, RANGE : 4, Notic my big foot can't die without this items
_____________________________________________________
and how to add 2 action in one tile or its imposible?
when have golden ingot and going to buy i must change gi to gold there way to take money without change gi ?
 
Last edited:
This could help you.

Ghost Spells.
http://otland.net/threads/true-ghost-spell.137611/

Fast Attack Spell (You will need sources edit?)

So you can add fast attack attribute on weapon:
PHP:
<attribute key="attackspeed" value="10" />

Example:
PHP:
<item id="7383" article="a" name="Heba Sword">
<attribute key="weight" value="2400" />
<attribute key="defense" value="40" />
<attribute key="attack" value="52" />
<attribute key="weaponType" value="sword" />
<attribute key="extradef" value="1" />
<attribute key="attackspeed" value="100" />
</item>

I don't understand Gold Ingot change. Sorry! And good luck with your project!.
 
This could help you.

Ghost Spells.
http://otland.net/threads/true-ghost-spell.137611/

Fast Attack Spell (You will need sources edit?)

So you can add fast attack attribute on weapon:
PHP:
<attribute key="attackspeed" value="10" />

Example:
PHP:
<item id="7383" article="a" name="Heba Sword">
<attribute key="weight" value="2400" />
<attribute key="defense" value="40" />
<attribute key="attack" value="52" />
<attribute key="weaponType" value="sword" />
<attribute key="extradef" value="1" />
<attribute key="attackspeed" value="100" />
</item>

I don't understand Gold Ingot change. Sorry! And good luck with your project!.
thx but about this
Code:
<attribute key="attackspeed" value="100" />
i know i need items to use it time to time and about gold ingot lets say if u have 10 gold ingot and going buy backpack for 2cc u must chnage gi to cc .... i want to no chnage gold ingot when use lever to buy backpack auto chnage gold ingot to cc
 
Last edited:
You mean change Gold Ingot for Crystal Coins?

Paste it on Data/actions/other/changegold.lua
PHP:
local coins = {
[ITEM_GOLD_COIN] = {
to = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_YELLOW
},
[ITEM_PLATINUM_COIN] = {
from = ITEM_GOLD_COIN, to = ITEM_CRYSTAL_COIN, effect = TEXTCOLOR_LIGHTBLUE
},
[ITEM_CRYSTAL_COIN] = {
from = ITEM_PLATINUM_COIN, to = 2157, effect = TEXTCOLOR_RED
},
[2157] = {
from = ITEM_CRYSTAL_COIN, to = 9971, effect = TEXTCOLOR_TEAL
},
[9971] = {
from = 2157, effect = TEXTCOLOR_LIGHTGREEN
}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local coin = coins[item.itemid]
if(not coin) then
return FALSE
end
if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then
doChangeTypeItem(item.uid, item.type - item.type)
doPlayerAddItem(cid, coin.to, 1)
doSendAnimatedText(fromPosition, "$$$", coins[coin.to].effect)
elseif(coin.from ~= nil) then
doChangeTypeItem(item.uid, item.type - 1)
doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX)
doSendAnimatedText(fromPosition, "$$$", coins[coin.from].effect)
end
return TRUE
end

Actions Xml:
PHP:
<action itemid="9971" script="other/changegold.lua" />

Tell me if it works.
 
no one can help me ?? delete my post or what ??

maybe no one will help me here
 
Last edited by a moderator:
any help in this script ? "
action : teleport for time if player use x items tp to x,y,z and back to same place in 10 sec example " if i used this items in pos 100,100,7 get tp to 555,555,7 and after 10 sec back again to 100,100,7
"

@Limos u can elp me in this script ?
 
Last edited by a moderator:
Done solved for teleport time i did it new idea :D

need more 2 scripts first one
1:Use this Slower, and it will SLOW a random player in big foot event, for -35% speed for 3 seconds,

2:Kills 1 big foot, it attacks like a spear, RANGE : 4, Notic my big foot can't die without this items
 
Last edited:
Back
Top