0 registered members (),
17,886
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: HeelX]
#59900
05/12/06 15:11
05/12/06 15:11
|
Joined: Feb 2003
Posts: 195
slacker
Member
|
Member
Joined: Feb 2003
Posts: 195
|
Quote:
I cant do the superjump and I cant climb ledges with the current beta release, plus, please use next time ent_remove() instead of remove() - I wasnt able to start the code the first time.
I am not able to do the wall jump or ledge grab either - maybe it is a 6.4 issue?
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: DavidLancaster]
#59902
05/25/06 15:01
05/25/06 15:01
|
Joined: Apr 2006
Posts: 1,551 Netherlands
D3D
Serious User
|
Serious User
Joined: Apr 2006
Posts: 1,551
Netherlands
|
Thank you for sharing the 2D movement code  I'd already tried the rpgturn and zeldacode, those are much apriciate too. From reading your scripts and study the code; I hope to learn howto write better code myself one day. All the best, Dusty
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: HeelX]
#59904
06/17/06 09:11
06/17/06 09:11
|
Joined: Apr 2006
Posts: 1,551 Netherlands
D3D
Serious User
|
Serious User
Joined: Apr 2006
Posts: 1,551
Netherlands
|
Replaced remove() with ent_remove(), but also having problem with walljump and ledge grabbing/climbing after updating GStudio to A6.40.5  Tried checking the syntax and found error on line 375 in level1.wdl in the 2D Movement Script. Error(50): Parameter unknown c_move_x Parameter. Now i'm not really expert c-script programmer. However it would be nice if someone who is and has already fixed these problems, could give me a little hint about the error and why it isn't working. So I can learn from it and try to fix myself. All the best, Dusty
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: D3D]
#59905
06/17/06 12:28
06/17/06 12:28
|
Joined: Nov 2004
Posts: 862 Australia
DavidLancaster
OP
User
|
OP
User
Joined: Nov 2004
Posts: 862
Australia
|
Hello Dusty Here is a version that should be compatible with 6.4: http://www.churness.com/axys/2DAxysMovement6.4.zipI've replaced remove() with ent_remove() and also added a new variable my.z_offset, which I mainly used as a shortcut to correction the hull of the player z wise rather than playing around with hull values in WED till I get it right. The z_offset changes the start position of the trace z wise in regards to traces that are used for gravity and wall jumping etc. I've set it to -7 at the start of the player action, I also had to change a few values around as 6.4 hull seems to be different and if I didn't change them wall jumping and ledge grabbing don't work. Let me know if you have any problems. David
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: DavidLancaster]
#59906
06/17/06 14:33
06/17/06 14:33
|
Joined: Apr 2006
Posts: 1,551 Netherlands
D3D
Serious User
|
Serious User
Joined: Apr 2006
Posts: 1,551
Netherlands
|
Hello David, Thank you for your reply, i've tried to run the updated code with A6.40.5 and walljump/climb is working again this is really awesome  Also i'dd like to thank you for telling me why the code didn't worked anymore after 6.31.4, this way I can learn from it. All the best, Dusty
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: D3D]
#59907
09/06/06 12:50
09/06/06 12:50
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
Wow great script, but how would I go about putting in kill able enemies?
--Edit - Also how would I put in a point collection system with onscreen display and health bar also could I make the guy climb rope and ladders? Also is it possible to put in static items that hurt the player like fire. and is there a drop distance that kills the player, like the holes in Mario? I know there are loads of questions but i no nothing about scripting. Thnx
--Tom_02345
Last edited by Tom_02345; 09/06/06 13:39.
|
|
|
Re: 2D Movement Script (wall jumping, combat etc)
[Re: sPlKe]
#59909
09/07/06 07:52
09/07/06 07:52
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
Ok kool, don't worry if you can't but it would be nice if you did. Also how would be a good way to learn how to code becuase I would love to be able to do all of this myself but I need serious pointers. --Tom_02345
|
|
|
|