<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Esenthel Forum - All Forums]]></title>
		<link>http://www.esenthel.com/community/</link>
		<description><![CDATA[Esenthel Forum - http://www.esenthel.com/community]]></description>
		<pubDate>Fri, 18 May 2012 06:23:40 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Reason for using RakNet?]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5063</link>
			<pubDate>Wed, 16 May 2012 03:40:21 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5063</guid>
			<description><![CDATA[Is there a reason for using RakNet with Esenthel engine?<hr />
For example, some devs are using it instead of the default network comms...]]></description>
			<content:encoded><![CDATA[Is there a reason for using RakNet with Esenthel engine?<hr />
For example, some devs are using it instead of the default network comms...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA["File" and "File.get<...>"]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5062</link>
			<pubDate>Tue, 15 May 2012 16:35:46 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5062</guid>
			<description><![CDATA[Hi to all!<br />
<br />
Please can you help me with the following:<br />
<br />
If i create File (to send it for example from server to client) and want to write into it <span style="font-weight: bold;">Int</span>, i use <span style="font-weight: bold;">f.writeMem().putInt()</span> or <span style="font-weight: bold;">f.writeMem().putUInt()</span>, but if i need something more than <span style="text-decoration: underline;">2^32</span> as <span style="font-weight: bold;">unsigned long long int</span> how can i put <span style="text-decoration: underline;">8-Byte</span> integer and read it from file correctly?]]></description>
			<content:encoded><![CDATA[Hi to all!<br />
<br />
Please can you help me with the following:<br />
<br />
If i create File (to send it for example from server to client) and want to write into it <span style="font-weight: bold;">Int</span>, i use <span style="font-weight: bold;">f.writeMem().putInt()</span> or <span style="font-weight: bold;">f.writeMem().putUInt()</span>, but if i need something more than <span style="text-decoration: underline;">2^32</span> as <span style="font-weight: bold;">unsigned long long int</span> how can i put <span style="text-decoration: underline;">8-Byte</span> integer and read it from file correctly?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Char sliding when trying to stop]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5061</link>
			<pubDate>Tue, 15 May 2012 11:09:20 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5061</guid>
			<description><![CDATA[Hi to all!<br />
<br />
I understand, that this theme was discussed many times, but in all those topics there were no answer. When player moves to the dot (for example as in pathfind tutorial) after he reaches destination he slides a llitle. If we increase speed he slides a looot! and sometimes starts to roll (because he skips dest dot and he wants to return to it). There are some settings in <span style="font-style: italic;">PhysicsClass</span>, as <span style="font-style: italic;">CONTROLLER_SLOPE_SLIDING_MODE</span>, <span style="font-style: italic;">PHYS_MATERIAL </span>with its <span style="font-style: italic;">friction</span>, <span style="font-style: italic;">gravity</span>, <span style="font-style: italic;">Actor </span><span style="font-style: italic;">damping</span>, but all these settings <span style="font-weight: bold;">DO NOT</span> affect on the result. <br />
<br />
Please, help me to prevent chars from sliding, i don't know what else to change(((]]></description>
			<content:encoded><![CDATA[Hi to all!<br />
<br />
I understand, that this theme was discussed many times, but in all those topics there were no answer. When player moves to the dot (for example as in pathfind tutorial) after he reaches destination he slides a llitle. If we increase speed he slides a looot! and sometimes starts to roll (because he skips dest dot and he wants to return to it). There are some settings in <span style="font-style: italic;">PhysicsClass</span>, as <span style="font-style: italic;">CONTROLLER_SLOPE_SLIDING_MODE</span>, <span style="font-style: italic;">PHYS_MATERIAL </span>with its <span style="font-style: italic;">friction</span>, <span style="font-style: italic;">gravity</span>, <span style="font-style: italic;">Actor </span><span style="font-style: italic;">damping</span>, but all these settings <span style="font-weight: bold;">DO NOT</span> affect on the result. <br />
<br />
Please, help me to prevent chars from sliding, i don't know what else to change(((]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Edit on Windows... works on iOS and Android?]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5060</link>
			<pubDate>Tue, 15 May 2012 03:45:55 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5060</guid>
			<description><![CDATA[Hi,<br />
<br />
Beginner question.<br />
<br />
If I edit the worldspace on Windows. will the game show the worldspace on iOS and Android?]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
Beginner question.<br />
<br />
If I edit the worldspace on Windows. will the game show the worldspace on iOS and Android?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bullet Physics on Windows]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5059</link>
			<pubDate>Mon, 14 May 2012 12:15:34 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5059</guid>
			<description><![CDATA[Hi!<br />
<br />
Is there a way to user Bullet with Esenthel on Windows? Or is it supported for the other platforms only?<br />
<br />
If it's not supported, are there any specific reasons or has it just never been implemented? I'd like to use Bullet, because AFAIK it can be calculated on ATi GPUs as well.<br />
<br />
<br />
riggnix]]></description>
			<content:encoded><![CDATA[Hi!<br />
<br />
Is there a way to user Bullet with Esenthel on Windows? Or is it supported for the other platforms only?<br />
<br />
If it's not supported, are there any specific reasons or has it just never been implemented? I'd like to use Bullet, because AFAIK it can be calculated on ATi GPUs as well.<br />
<br />
<br />
riggnix]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[STRUCTS]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5056</link>
			<pubDate>Sat, 12 May 2012 22:04:13 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5056</guid>
			<description><![CDATA[Let's say we have 2 STRUCTS, each one referencing the other. VS displays error C2065.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>STRUCT (ExClass1, GuiObjs)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void someFunction()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExWindow2.show(); &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; error C2065: 'ExWindow2' : undeclared identifier<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
}ExWindow1;<br />
<br />
STRUCT (ExClass2, GuiObjs)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void foo()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExWindow1.show();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
}ExWindow2;</code></div></div>
<br />
How can I solve it?]]></description>
			<content:encoded><![CDATA[Let's say we have 2 STRUCTS, each one referencing the other. VS displays error C2065.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>STRUCT (ExClass1, GuiObjs)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void someFunction()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExWindow2.show(); &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; error C2065: 'ExWindow2' : undeclared identifier<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
}ExWindow1;<br />
<br />
STRUCT (ExClass2, GuiObjs)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void foo()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExWindow1.show();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
}ExWindow2;</code></div></div>
<br />
How can I solve it?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Animation by deformmesh]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5054</link>
			<pubDate>Sat, 12 May 2012 11:47:39 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5054</guid>
			<description><![CDATA[Hi<br />
<br />
I have a simple question: Is it possible to use deform meshes in EE for Animations? My pals used a deformmesh to animate my latest character, but if no matter wheter I import it as .obj or .dae, There is no animation I could see.<br />
<br />
Also, when imported as Dae, the deformmesh looks weird, and the character is in the T-Pose instead of the initial animation pose.<br />
<br />
Is it me doing something wrong, or are deform meshes simply not working in EE?]]></description>
			<content:encoded><![CDATA[Hi<br />
<br />
I have a simple question: Is it possible to use deform meshes in EE for Animations? My pals used a deformmesh to animate my latest character, but if no matter wheter I import it as .obj or .dae, There is no animation I could see.<br />
<br />
Also, when imported as Dae, the deformmesh looks weird, and the character is in the T-Pose instead of the initial animation pose.<br />
<br />
Is it me doing something wrong, or are deform meshes simply not working in EE?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[6 Degree's of Freedom]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5053</link>
			<pubDate>Fri, 11 May 2012 05:21:15 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5053</guid>
			<description><![CDATA[I recently started rewriting my character class. Originally it extended a Kinematic object. Now I'm extending the Character one.<br />
<br />
Oddly, the code for manipulating the matrix in the kinematic does not work the same.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Kinematic<br /></span><span style="color: #0000BB">void&nbsp;Player</span><span style="color: #007700">::</span><span style="color: #0000BB">RotatePlayer</span><span style="color: #007700">(</span><span style="color: #0000BB">float&nbsp;pitch</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;yaw</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;roll</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Matrix&nbsp;mat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Quaternion&nbsp;quat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Quaternion</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">pitch&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Cos</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">yaw&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Sin</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">roll</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">rotate</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">pos</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kinematicMoveTo</span><span style="color: #007700">(</span><span style="color: #0000BB">mat</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Character<br /></span><span style="color: #0000BB">void&nbsp;Player</span><span style="color: #007700">::</span><span style="color: #0000BB">addRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">float&nbsp;pitch</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;yaw</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;roll</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Matrix&nbsp;mat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Quaternion&nbsp;quat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Quaternion</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">pitch&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Cos</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">yaw&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Sin</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">roll</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">rotate</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">pos</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">(</span><span style="color: #0000BB">mat</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
<br />
This causes the player to rotate in all six degrees with the Kinematic codes but the Character code does nothing. It doesn't even flinch. This is not the only variation of rotational codes I used on the Character object, all had little effect.<br />
<br />
What am I doing wrong or should I do in order to get my object to rotate correctly?]]></description>
			<content:encoded><![CDATA[I recently started rewriting my character class. Originally it extended a Kinematic object. Now I'm extending the Character one.<br />
<br />
Oddly, the code for manipulating the matrix in the kinematic does not work the same.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Kinematic<br /></span><span style="color: #0000BB">void&nbsp;Player</span><span style="color: #007700">::</span><span style="color: #0000BB">RotatePlayer</span><span style="color: #007700">(</span><span style="color: #0000BB">float&nbsp;pitch</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;yaw</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;roll</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Matrix&nbsp;mat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Quaternion&nbsp;quat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Quaternion</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">pitch&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Cos</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">yaw&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Sin</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">roll</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">rotate</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">pos</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kinematicMoveTo</span><span style="color: #007700">(</span><span style="color: #0000BB">mat</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//Character<br /></span><span style="color: #0000BB">void&nbsp;Player</span><span style="color: #007700">::</span><span style="color: #0000BB">addRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">float&nbsp;pitch</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;yaw</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">float&nbsp;roll</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Matrix&nbsp;mat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Quaternion&nbsp;quat&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Quaternion</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">pitch&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Cos</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">yaw&nbsp;</span><span style="color: #007700">+&nbsp;(</span><span style="color: #0000BB">Sin</span><span style="color: #007700">(</span><span style="color: #0000BB">Time</span><span style="color: #007700">.</span><span style="color: #0000BB">time</span><span style="color: #007700">())&nbsp;/&nbsp;</span><span style="color: #0000BB">1500</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">roll</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">setRotate</span><span style="color: #007700">(</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">quat</span><span style="color: #007700">.</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">rotate</span><span style="color: #007700">(</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">axis</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">angle</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mat</span><span style="color: #007700">.</span><span style="color: #0000BB">pos&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">().</span><span style="color: #0000BB">pos</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">matrix</span><span style="color: #007700">(</span><span style="color: #0000BB">mat</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
<br />
This causes the player to rotate in all six degrees with the Kinematic codes but the Character code does nothing. It doesn't even flinch. This is not the only variation of rotational codes I used on the Character object, all had little effect.<br />
<br />
What am I doing wrong or should I do in order to get my object to rotate correctly?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Small info on the progress]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5052</link>
			<pubDate>Fri, 11 May 2012 04:35:09 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5052</guid>
			<description><![CDATA[As you can see the roadmap the mobile Editor's are nearing completion, hopefully I'll be able to release it soon (planning this month, though it's not guaranteed).<br />
I'd like to make simultaneous releases for Android and iOS, so still need to add keyboard support for iOS.<br />
Also there will be big SDK update this month, with many tweaks, fixes, improvements.]]></description>
			<content:encoded><![CDATA[As you can see the roadmap the mobile Editor's are nearing completion, hopefully I'll be able to release it soon (planning this month, though it's not guaranteed).<br />
I'd like to make simultaneous releases for Android and iOS, so still need to add keyboard support for iOS.<br />
Also there will be big SDK update this month, with many tweaks, fixes, improvements.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ListColumn color entries]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5051</link>
			<pubDate>Thu, 10 May 2012 17:51:42 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5051</guid>
			<description><![CDATA[Hi!<br />
<br />
Please, help me to find out, how can i color cell text (not full rows, only words) in ListColumn? I can set font to ListColumn as default font, but i need to make only few cells of different color.]]></description>
			<content:encoded><![CDATA[Hi!<br />
<br />
Please, help me to find out, how can i color cell text (not full rows, only words) in ListColumn? I can set font to ListColumn as default font, but i need to make only few cells of different color.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Accountant Looking to get involved in an MMORPG]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5050</link>
			<pubDate>Thu, 10 May 2012 11:12:18 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5050</guid>
			<description><![CDATA[Hey Community,<br />
<br />
Im a qualified public Accountant in Australia, I am an avid and longstanding fan and player of the MMORPG genre (dating back to the T2A ultima online days), I enjoy Beta testing the new MMORPGS. That being said I would like to offer my skillset to work, casually, for free on a fantasy MMORPG. I see my reward as being able to get an understanding of the industry and the enjoyment of pursuing a hobby that <br />
<br />
My skills could assist in things like:<br />
<br />
Basic Financial and Management Accounting skills:<br />
<br />
- Dealing with investors, marketers, setting up a kickstarter program;<br />
<br />
- Advising how to allocate funds, calculating budgets or various business ratios, for example - calculating how many subscriptions or show acquisitions are needed per month to break even;<br />
<br />
- Calculating the possibility for f2p options and estimating how the revenue stream will be brought in.<br />
<br />
In game skills:<br />
<br />
- Calculating in game skill, damage, possibility tables, for example crafting success rates<br />
<br />
- Assisting with determining what prices vendor items are in game.<br />
<br />
- Assisting to determining how hard skills are raised.<br />
<br />
I understand there are more things that require consideration but any comments of the community would be greatly appreciated.<br />
<br />
Thanks.<br />
DubZio<br />
Chris]]></description>
			<content:encoded><![CDATA[Hey Community,<br />
<br />
Im a qualified public Accountant in Australia, I am an avid and longstanding fan and player of the MMORPG genre (dating back to the T2A ultima online days), I enjoy Beta testing the new MMORPGS. That being said I would like to offer my skillset to work, casually, for free on a fantasy MMORPG. I see my reward as being able to get an understanding of the industry and the enjoyment of pursuing a hobby that <br />
<br />
My skills could assist in things like:<br />
<br />
Basic Financial and Management Accounting skills:<br />
<br />
- Dealing with investors, marketers, setting up a kickstarter program;<br />
<br />
- Advising how to allocate funds, calculating budgets or various business ratios, for example - calculating how many subscriptions or show acquisitions are needed per month to break even;<br />
<br />
- Calculating the possibility for f2p options and estimating how the revenue stream will be brought in.<br />
<br />
In game skills:<br />
<br />
- Calculating in game skill, damage, possibility tables, for example crafting success rates<br />
<br />
- Assisting with determining what prices vendor items are in game.<br />
<br />
- Assisting to determining how hard skills are raised.<br />
<br />
I understand there are more things that require consideration but any comments of the community would be greatly appreciated.<br />
<br />
Thanks.<br />
DubZio<br />
Chris]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Lake vs Ocean]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5049</link>
			<pubDate>Wed, 09 May 2012 10:44:45 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5049</guid>
			<description><![CDATA[Hi.<br />
What is the difference between Lake and Ocean in the EE?<br />
For example:<br />
I have a very big world where the sea takes only 1/4 part.<br />
What is better to use in this case? Ocean(for the whole map) or lake (for the 1/4 part)<br />
Which variant will have better perfomance?]]></description>
			<content:encoded><![CDATA[Hi.<br />
What is the difference between Lake and Ocean in the EE?<br />
For example:<br />
I have a very big world where the sea takes only 1/4 part.<br />
What is better to use in this case? Ocean(for the whole map) or lake (for the 1/4 part)<br />
Which variant will have better perfomance?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[gubbins]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5048</link>
			<pubDate>Mon, 07 May 2012 19:48:32 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5048</guid>
			<description><![CDATA[Is there any type of gubbins tools?  SO when you client gets armor, it know where to place it, or does this all have to be done in code?  with bone merging?]]></description>
			<content:encoded><![CDATA[Is there any type of gubbins tools?  SO when you client gets armor, it know where to place it, or does this all have to be done in code?  with bone merging?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Extending gui objects]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5047</link>
			<pubDate>Mon, 07 May 2012 17:26:22 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5047</guid>
			<description><![CDATA[Tutorials 09 - Extending Gui Ojbects.cpp and 10 - Extending and Loading Gui Objects.cpp aren't working for me. It seems that updade and draw functions from Button2 are never called.<br />
<br />
Should I change or add something to get it working?]]></description>
			<content:encoded><![CDATA[Tutorials 09 - Extending Gui Ojbects.cpp and 10 - Extending and Loading Gui Objects.cpp aren't working for me. It seems that updade and draw functions from Button2 are never called.<br />
<br />
Should I change or add something to get it working?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Model with different materials: best practices?]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5046</link>
			<pubDate>Mon, 07 May 2012 15:53:55 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5046</guid>
			<description><![CDATA[I'm pondering at the moment if I should consider creating models with as much of clothing/equipment as part of the model, or use as many separate meshes as needed...<br />
<br />
Point is, I'm worried about the amount of draw calls for characters which has each part of its clothing as a separate mesh.<br />
But on the other hand, I would really like to assign different material values for different objects (no subsurface scattering for clothing for example)...<br />
<br />
Are there ways in Esenthel to "combine" objects with different materials somehow, or will they always need separate draw calls anyway because of different material settings anyway?<br />
<br />
Anyone having expierience with the performance difference for characters with multiple meshes / materials? Do they slow down the engine enough to consider welding the parts / putting everything into a single material?]]></description>
			<content:encoded><![CDATA[I'm pondering at the moment if I should consider creating models with as much of clothing/equipment as part of the model, or use as many separate meshes as needed...<br />
<br />
Point is, I'm worried about the amount of draw calls for characters which has each part of its clothing as a separate mesh.<br />
But on the other hand, I would really like to assign different material values for different objects (no subsurface scattering for clothing for example)...<br />
<br />
Are there ways in Esenthel to "combine" objects with different materials somehow, or will they always need separate draw calls anyway because of different material settings anyway?<br />
<br />
Anyone having expierience with the performance difference for characters with multiple meshes / materials? Do they slow down the engine enough to consider welding the parts / putting everything into a single material?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[iOS] Slider bug]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5045</link>
			<pubDate>Mon, 07 May 2012 15:16:39 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5045</guid>
			<description><![CDATA[If slider value is at 1.0 you cannot move it again by tapping on the button. The user is forced to tap on the bar to unlock it.<br />
<br />
Sometimes it happens when slider is at 0.0]]></description>
			<content:encoded><![CDATA[If slider value is at 1.0 you cannot move it again by tapping on the button. The user is forced to tap on the bar to unlock it.<br />
<br />
Sometimes it happens when slider is at 0.0]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[World Editor - Zoom]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5044</link>
			<pubDate>Mon, 07 May 2012 13:31:13 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5044</guid>
			<description><![CDATA[Currently for some reason in the World Editor, I can not zoom in far enough to see the models...  When I place on of your models, and ensure my own are same size, they are too small to zoom it to really see.  I must me missing something with the settings...<hr />
I am sure it has something to do with the scale of the world, but I don't know how to adjust that.  When I open maps you created, obj's are much larger than when I plac an object in the same map..]]></description>
			<content:encoded><![CDATA[Currently for some reason in the World Editor, I can not zoom in far enough to see the models...  When I place on of your models, and ensure my own are same size, they are too small to zoom it to really see.  I must me missing something with the settings...<hr />
I am sure it has something to do with the scale of the world, but I don't know how to adjust that.  When I open maps you created, obj's are much larger than when I plac an object in the same map..]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Reflection Alpha channels]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5042</link>
			<pubDate>Mon, 07 May 2012 07:11:39 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5042</guid>
			<description><![CDATA[I try to add some reflections to an object, but I don't want the reflection to kill off all the color of the object, even though it should be fairly reflective. Therefore, I try to work with an alpha channel in all the images to make part of the reflection cube mab transparent.<br />
<br />
This doesn't seem to work... now, am I doing it wrong or is it just not working for reflection cube maps?<br />
<br />
As far as I know, white for opaque, black for transparent.... I tried both ways, no change visible.<br />
<br />
EDIT: also, while testing it I noticed that I don't see reflections at all in my built game. What do I do wrong?]]></description>
			<content:encoded><![CDATA[I try to add some reflections to an object, but I don't want the reflection to kill off all the color of the object, even though it should be fairly reflective. Therefore, I try to work with an alpha channel in all the images to make part of the reflection cube mab transparent.<br />
<br />
This doesn't seem to work... now, am I doing it wrong or is it just not working for reflection cube maps?<br />
<br />
As far as I know, white for opaque, black for transparent.... I tried both ways, no change visible.<br />
<br />
EDIT: also, while testing it I noticed that I don't see reflections at all in my built game. What do I do wrong?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SQL - Getting all tables]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5040</link>
			<pubDate>Sun, 06 May 2012 17:47:00 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5040</guid>
			<description><![CDATA[Hello, SQL class is missing function allowing to get all table names, smth like:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Memc&lt;Str&gt;&amp; getTables(); //returns container with table names</code></div></div>
Useful when user doesn't know table name but know what data it contains<br />
<br />
Best regards, PsychoBoy]]></description>
			<content:encoded><![CDATA[Hello, SQL class is missing function allowing to get all table names, smth like:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Memc&lt;Str&gt;&amp; getTables(); //returns container with table names</code></div></div>
Useful when user doesn't know table name but know what data it contains<br />
<br />
Best regards, PsychoBoy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Base on Game::Chr doesn't work]]></title>
			<link>http://www.esenthel.com/community/showthread.php?tid=5039</link>
			<pubDate>Sun, 06 May 2012 17:40:56 +0000</pubDate>
			<guid isPermaLink="false">http://www.esenthel.com/community/showthread.php?tid=5039</guid>
			<description><![CDATA[Recently we got caused to trouble by esenthels new updates.. now i have no idea what went wrong,<br />
what i'm trying to do is a base STRUCT, with Game::Chr, to base some simple mobs on, before it worked, the mobs were moving with actionMoveTo(Vec(0,0,0));, Now... Nothing interesting happens..<br />
<br />
Is there something wrong with my code?<br />
<br />
//Monster.h<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>STRUCT (Monsters, Game::Chr)<br />
//{<br />
&nbsp;&nbsp;&nbsp;&nbsp;Bool guard1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Str name ;<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual void create(Game::ObjParams &amp;monster);<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual Bool update();<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual void save(File &amp;f);<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual Bool load(File &amp;f);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Monsters();<br />
};</code></div></div>
<br />
//Monster.cpp<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Monsters::Monsters()<br />
{<br />
}<br />
<br />
void Monsters::create(Game::ObjParams &amp;monster)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;super::create(monster);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Bool guard=false; // set base false<br />
&nbsp;&nbsp;&nbsp;&nbsp;guard1=false; <br />
&nbsp;&nbsp;&nbsp;&nbsp;if(Param *par=guards.findParam("name" ))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name =par-&gt;asText(); // Get name for visual testing<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; for(Game::ObjParamsPtr cur=&amp;monster; cur; cur=cur-&gt;base())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(CChar *monster1=Game::Objs.name(cur))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(Contains(monster1, "Monster"))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guard=true; //monster is now found, so turn Guard to true,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guard1=true; //Guard1 made true,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(guard)//Set animations for it<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.run=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.walk=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.stand=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;speed=10;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;move_walking=true;<br />
}<br />
<br />
Bool Monsters::update(){<br />
<br />
&nbsp;&nbsp; if(super::update())<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(!action) // if not performing any action<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actionMoveTo(Plr-&gt;pos()); // Make it move to player position<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ragdollEnable();// Test if the base even works, if you can run through it, success.<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;return true;<br />
&nbsp;&nbsp; } <br />
&nbsp;&nbsp; return false;<br />
}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
void Monsters::save(File &amp;f)<br />
{<br />
&nbsp;&nbsp; super::save(f); // default save<br />
<br />
&nbsp;&nbsp; f.putStr(name); // save custom parameters<br />
}<br />
<br />
Bool Monsters::load(File &amp;f)<br />
{<br />
&nbsp;&nbsp; if(super::load(f)) // if default load was successful<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.getStr(name); // load custom parameters<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return true;&nbsp;&nbsp;&nbsp;&nbsp;// return success<br />
&nbsp;&nbsp; }<br />
&nbsp;&nbsp; return false; // return failure<br />
}</code></div></div>
<br />
//Game.cpp<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Game::ObjMemx&lt;Monsters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Chrs;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Game::World.init()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.setObjType(Chrs, OBJ_CHR)<br />
<br />
//Draw the name<br />
<br />
&nbsp;&nbsp; FREPA(Chrs)<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(Dist(Plr-&gt;pos(),Chrs[i].pos())&lt;D.viewRange()/4)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TextDS NPCRED, NPCTITLE;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCTITLE.color = YELLOW;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCTITLE.scale /= 1.5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCRED.color = CYAN;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCRED.scale /= 1.5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Monsters&nbsp;&nbsp;&amp;Mob=Chrs[i];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vec2 screen;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(PosToScreen (Mob.pos()+Vec(-0.1,4,0), screen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D.text(NPCTITLE, screen, Mob.Title);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(PosToScreen (Mob.pos()+Vec(-0.1,3.5,0), screen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D.text(NPCRED, screen, Mob.name);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp; }</code></div></div>
<br />
I appreciate that you read through this, and i hope you have an answer with me.. The code is 100% working, i just don't know why it doesn't move with actionMoveTo, and doesn't play stand animation either..<br />
<br />
I tried enabling the ragdoll, and that seemed to work, then i could run through it.. i tried to change position of it manually and that worked..<br />
<br />
Please help me!]]></description>
			<content:encoded><![CDATA[Recently we got caused to trouble by esenthels new updates.. now i have no idea what went wrong,<br />
what i'm trying to do is a base STRUCT, with Game::Chr, to base some simple mobs on, before it worked, the mobs were moving with actionMoveTo(Vec(0,0,0));, Now... Nothing interesting happens..<br />
<br />
Is there something wrong with my code?<br />
<br />
//Monster.h<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>STRUCT (Monsters, Game::Chr)<br />
//{<br />
&nbsp;&nbsp;&nbsp;&nbsp;Bool guard1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Str name ;<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual void create(Game::ObjParams &amp;monster);<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual Bool update();<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual void save(File &amp;f);<br />
&nbsp;&nbsp;&nbsp;&nbsp;virtual Bool load(File &amp;f);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Monsters();<br />
};</code></div></div>
<br />
//Monster.cpp<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Monsters::Monsters()<br />
{<br />
}<br />
<br />
void Monsters::create(Game::ObjParams &amp;monster)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;super::create(monster);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Bool guard=false; // set base false<br />
&nbsp;&nbsp;&nbsp;&nbsp;guard1=false; <br />
&nbsp;&nbsp;&nbsp;&nbsp;if(Param *par=guards.findParam("name" ))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name =par-&gt;asText(); // Get name for visual testing<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; for(Game::ObjParamsPtr cur=&amp;monster; cur; cur=cur-&gt;base())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(CChar *monster1=Game::Objs.name(cur))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(Contains(monster1, "Monster"))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guard=true; //monster is now found, so turn Guard to true,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guard1=true; //Guard1 made true,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(guard)//Set animations for it<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.run=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.walk=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sac.stand=&amp;cskel.getSkelAnim("");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;speed=10;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;move_walking=true;<br />
}<br />
<br />
Bool Monsters::update(){<br />
<br />
&nbsp;&nbsp; if(super::update())<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(!action) // if not performing any action<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actionMoveTo(Plr-&gt;pos()); // Make it move to player position<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ragdollEnable();// Test if the base even works, if you can run through it, success.<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;return true;<br />
&nbsp;&nbsp; } <br />
&nbsp;&nbsp; return false;<br />
}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
void Monsters::save(File &amp;f)<br />
{<br />
&nbsp;&nbsp; super::save(f); // default save<br />
<br />
&nbsp;&nbsp; f.putStr(name); // save custom parameters<br />
}<br />
<br />
Bool Monsters::load(File &amp;f)<br />
{<br />
&nbsp;&nbsp; if(super::load(f)) // if default load was successful<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.getStr(name); // load custom parameters<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return true;&nbsp;&nbsp;&nbsp;&nbsp;// return success<br />
&nbsp;&nbsp; }<br />
&nbsp;&nbsp; return false; // return failure<br />
}</code></div></div>
<br />
//Game.cpp<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Game::ObjMemx&lt;Monsters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Chrs;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Game::World.init()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.setObjType(Chrs, OBJ_CHR)<br />
<br />
//Draw the name<br />
<br />
&nbsp;&nbsp; FREPA(Chrs)<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(Dist(Plr-&gt;pos(),Chrs[i].pos())&lt;D.viewRange()/4)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TextDS NPCRED, NPCTITLE;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCTITLE.color = YELLOW;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCTITLE.scale /= 1.5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCRED.color = CYAN;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NPCRED.scale /= 1.5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Monsters&nbsp;&nbsp;&amp;Mob=Chrs[i];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vec2 screen;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(PosToScreen (Mob.pos()+Vec(-0.1,4,0), screen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D.text(NPCTITLE, screen, Mob.Title);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(PosToScreen (Mob.pos()+Vec(-0.1,3.5,0), screen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D.text(NPCRED, screen, Mob.name);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp; }</code></div></div>
<br />
I appreciate that you read through this, and i hope you have an answer with me.. The code is 100% working, i just don't know why it doesn't move with actionMoveTo, and doesn't play stand animation either..<br />
<br />
I tried enabling the ragdoll, and that seemed to work, then i could run through it.. i tried to change position of it manually and that worked..<br />
<br />
Please help me!]]></content:encoded>
		</item>
	</channel>
</rss>
