Jaki Maoh
Member
- Joined
- Sep 13, 2017
- Messages
- 52
- Reaction score
- 12
Hello community!
I've been searching around, and found some brilliant scripts that made it rain some (CONST?) effects from the sky and in the ground.
I was thinking if perhaps it is possible to add new effects types on source and then adding new images (gifs or pngs) for this effects.
If anyone has some kind of lead, I would very much appreciate it!
Here are the threads I was mentioning:
Printer's GlobalEvent Rain System [HOT]!
Pinter's Weather System [TFS 1.x]
OTServBR's Github
Another things to ask:
Using TFS 1.3
Thanks for the patience, and I hope this is of interest for someone else too!
Jaki
I've been searching around, and found some brilliant scripts that made it rain some (CONST?) effects from the sky and in the ground.
I was thinking if perhaps it is possible to add new effects types on source and then adding new images (gifs or pngs) for this effects.
If anyone has some kind of lead, I would very much appreciate it!
Here are the threads I was mentioning:
Printer's GlobalEvent Rain System [HOT]!
Pinter's Weather System [TFS 1.x]
OTServBR's Github
Another things to ask:
- Did someone manage to make it so that the number of players nearby do not impact in the rain effect intensity?
- Trigger the rain effect by player storage or position on map?
I made a little modification to this script and got to:this can be a start for you
Lua:local at = MoveEvent() function at.onStepIn(creature, item, position, fromPosition) if not creature:hasAchievement("Allow Cookies?") then creature:teleportTo(fromPosition, false) creature:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE) end return true end at:id(430) -- ground id at:register()
Lua:
local at = MoveEvent()
function at.onStepIn(cid, item, position, fromPosition)
if Player(cid):getStorageValue(1000) ~= 1 then
Player(cid):teleportTo(fromPosition, false)
negat = Player(cid):sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
print "testing"
end
return true
end
at:id(23030) -- ground id
at:register()
Using TFS 1.3
Thanks for the patience, and I hope this is of interest for someone else too!
Jaki