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

Feature Random Attributes

This worked for me perfectly when I was using a 0.3.6 TFS, but now I am using 0.4 and I am not too sure how to implement this.. anyone could help?
 
exactly the same, at least in 0.4a1, but there shouldnt be any mayor difference

Well, I figured that it should still work, but when I look through the sources in items.cpp, I can't find anything that resembles this:

Code:
corpseType = RACE_NONE;
	fluidSource = FLUID_NONE;
	clientCharges = false;
	allowDistRead = false;

I know it is there, just written in a different way, like the rest of the additons to items.cpp is..

I am trying to add this for tfs 0.4 with the newest rev (4048)

I just.. don't have enough experience in C++ to figure out where to put that now..

Thank you for the help though :)
 
Hey, how can i use "AttackSpeed" ?

I instal it, but can't know how to use =/


<attribute key="AttackSpeed" random_min="xxx" random_max="xxx" />

what's number i must to put in "xxx" ?
this will decrease the milliseconds between the attacks?
must to be negative numbers?

i tried use, but i don't saw any difference

help-me please.



(sorry my english)
 
Last edited:
Hey, how can i use "AttackSpeed" ?

I instal it, but can't know how to use =/


<attribute key="AttackSpeed" random_min="xxx" random_max="xxx" />

what's number i must to put in "xxx" ?
this will decrease the milliseconds between the attacks?
must to be negative numbers?

i tried use, but i don't saw any difference

help-me please.



(sorry my english)

i got the same problem, how to use attack speed? if i like to give weapon 20% more attack speed, what i should to do?
 
attack speed is working inproperly delay between hits, the lower value the faster attack
but it was so bugged, just dont try to use it
 
I will pay some 15 euros to help me compile this into my 8.6 rev 0.4 server. Please private message me, I need this system in my OT.
 
I am trying to compile this, and when I go to search for the first line you give in 0.4 rev3884 I cant find a line with those words.. any idea why i cant find it?
 
Which rev/pack is this for.. Im trying it with 3884 and I cant find the codes you posted. I havent tried anything past the first code, because I cant find the first code in items.cpp. If anyone can help, please message me or post here!
 
to be honest, if you are bit smarter than chimpaneeze yoiu would figure out how to do it by yourself in these few days
you just need to try
 
Im actually trying though, Ive gotten to the problem where this happens..

newerrors.png


Could you help me out with this to get it working? I think this is all I need fixed.
 
Thxxx works fine forme but AttackSpeed not!!!
how this work?

look my bow
Code:
<item id="2455" article="a" name="crossbow">
		<attribute key="weight" value="4000" />
		<attribute key="weaponType" value="distance" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="ammoType" value="bolt" />
		<attribute key="range" value="5" />
		<attribute key="showattributes" value="1" />
		<attribute key="attackspeed" random_min="50" random_max="80" />			
	</item>
but the attack is still slow
movements need to add???
 
its on the same page...

So you cant reply to me, you just have to make smart-alic comments. Im a chimpanzee eh? Well why cant you help this chimpanzee get past these compiling errors if your such a developed intellect with this stuff. Ive been trying -.-
 
Thxxx works fine forme but AttackSpeed not!!!
how this work?

look my bow
Code:
<item id="2455" article="a" name="crossbow">
		<attribute key="weight" value="4000" />
		<attribute key="weaponType" value="distance" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="ammoType" value="bolt" />
		<attribute key="range" value="5" />
		<attribute key="showattributes" value="1" />
		<attribute key="attackspeed" random_min="50" random_max="80" />			
	</item>
but the attack is still slow
movements need to add???

Probably a limitation on the server.
 
Back
Top