• 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!

Adding new magic effects.

feloroth

New Member
Joined
Jul 19, 2010
Messages
4
Reaction score
2
Heya.
Been playing around with effect sprites lately and I feel that I'm ready to put most of them into my server. I've been browsing the forums and found like 2-3 threads from 2009, unfortunately these solutions doesn't seem to work anymore.
I'm using 0.3.6pl1

I've added the sprites to my .spr fixed the .dat
added
Code:
SHOOT_EFFECT_GRAVITY		= 0x30, //42
to const.h I've also tried adding
Code:
 CONST_ANI_GRAVITY = 42
to 000-constant.lua

from what I've understand you need to raise the number of effects in the source somewhere, but where? I can't find it in protocolgame.cpp (seems like thats where you changed it in 09)


ty in advance. note that I want to add _NEW_ effects, not replace my effects with the current ones
 
If it is a normal effect you need to search for MAGIC_EFFECT_ in your sources..
 
Back
Top