Tyr Posted October 5, 2008 Author Share Posted October 5, 2008 Hi all,i'm having 2 little problems with a script i'm making… and i thought that maby u guys could help :)**Problem 1:**In my script i want that your character moves faster, i looked up the codes in a big topic around here and found this: Call SetPlayerSPEED(Index, #)well when i added this to my script, my char didn't go faster.i Asked a scripting moderater what ws wrong…he said that when_# = 0 you stop# = 1 you walk# = 2 you run_it didn't work at all… any idea's? thank you!~~**Problem 2:**In my script i want to let your character change of sprite, no problem (all works fine)but now i want that my character don't changes into a 32x64 sprite but into a 64x64 sprite (big sprite)i asked the same mod and he told me it wasn't possible with scripting… maby u know the answer?~~thx by forward!- Tyr Link to comment Share on other sites More sharing options...
vrage Posted October 5, 2008 Share Posted October 5, 2008 @Tyr:> Hi all,> > i'm having 2 little problems with a script i'm making… and i thought that maby u guys could help :)> > **Problem 1:**> > In my script i want that your character moves faster, i looked up the codes in a big topic around here and found this:> > Call SetPlayerSPEED(Index, #)> > well when i added this to my script, my char didn't go faster.> i Asked a scripting moderater what ws wrong…> > he said that when> > _# = 0 you stop> # = 1 you walk> # = 2 you run_> > it didn't work at all… any idea's? thank you!> > **Problem 2:**> > In my script i want to let your character change of sprite, no problem (all works fine)> but now i want that my character don't changes into a 32x64 sprite but into a 64x64 sprite (big sprite)> > i asked the same mod and he told me it wasn't possible with scripting… maby u know the answer?> > thx by forward!> > - TyrFor Problem 1 :Speed is arithmetic, not flagged, (if im right) so, try entering values like 20 or 30.(sorry, never experimented with speed, although I have come accross Gm speed and some rubbish which i excluded from the source of ALL my games)Problem 2:64 x 64 isn;t currently supported(as of EE 2.6) in the source for Players. However it is for Npcs.I have some code which will allow you to convert all sprites into 64x64\. Pm me if ya need it… Link to comment Share on other sites More sharing options...
Tyr Posted October 5, 2008 Author Share Posted October 5, 2008 mhh so with that program u mean that i convert all my 32x64 into 64x64 and then make a source edit to load the 64x64 sheet instead of the 32x64 sheet am i right? Link to comment Share on other sites More sharing options...
Tyr Posted October 12, 2008 Author Share Posted October 12, 2008 sorry but a little bumb, i already know that the second question isn't possible by scripting so ignore that.the first one is possible i just need to know what the numbers are for walking & running :) thank u!- Tyr Link to comment Share on other sites More sharing options...
vrage Posted October 15, 2008 Share Posted October 15, 2008 @Tyr:> sorry but a little bumb, i already know that the second question isn't possible by scripting so ignore that.> > the first one is possible i just need to know what the numbers are for walking & running :) thank u!> > - TyrWell….try a range of er..20-30? Link to comment Share on other sites More sharing options...
Lenton Posted October 15, 2008 Share Posted October 15, 2008 I think 4 is walk and 8 is run so my guess is 8+ Link to comment Share on other sites More sharing options...
Tyr Posted October 15, 2008 Author Share Posted October 15, 2008 none worked… i guess that command is messed up? Link to comment Share on other sites More sharing options...
Fred Posted October 15, 2008 Share Posted October 15, 2008 Setplayerspeed its for set speed statistic like defence, strenght… it not affect speed of walking. If you want to change walking speed you must change it in source. Link to comment Share on other sites More sharing options...
DrNova Posted October 15, 2008 Share Posted October 15, 2008 in the all commands list there IS actually a command supposed to change movement speed, but it doesnt work Link to comment Share on other sites More sharing options...
vrage Posted October 17, 2008 Share Posted October 17, 2008 Spot teleport xDthat would look rubbish though Link to comment Share on other sites More sharing options...
Tyr Posted October 17, 2008 Author Share Posted October 17, 2008 @DrNova:> in the all commands list there IS actually a command supposed to change movement speed, but it doesnt workthats what i found out ^^ i'll source it no problem. thx all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now