Hi, my name is Garrett Swindell. I am looking for assistance on some movement code only so its compatibility with my current project. I don't know why I am having all this trouble with it, but I am missing something.

Quick Info:
- Paying $30 USD for one time job
- This is only for modifying my player movement code only to work with my existing project (download here: Download My Current Project http://www.garrettwademan.com/3dgs_movement_help.zip)
- This is using C-Script, version 7.82, must be compatible with this version

Overview: First, I am willing to pay $30 USD for assistance on this one time job. I already have the base code and base movement code written. I need it to be touched up to work with my current project (see link for working project).

Problem:
I am creating a small confined space room (basically it is an underground mine cavern) and I am having issues with collision. I have real basic code written to compensate for the player falling out of the world and gliding up walls. If I try the one method, the player falls through to the bottom of the world. The other method I use doesn't work because the bounding box is so large that the confined space doesn't allow the player to move easily.

Things you should know:
This world is not built in WED. I have coded an algorithm to create an enclosed mine shaft using points in the 3D world (just like voxels). The mine system is put together by two sided planes (see picture below). It may have been easier to code if it was built in WED, but I need this to be dynamic, not fixed.

What I need, SOLUTION I am looking for:
I am looking for a developer to review the player movement code (lines 115 through 212). I have removed a lot of the movement code I had because it was not applicable for this portion. I have great code for above terrain movement, but it seems I am running into all kinds of trouble when it is in a confined area.

I also need the following with this movement code:
- The player cannot glide up the Z axis on the wall, they need to glide along the wall
- The player should be able to get close to the walls, without violently shaking up and down (with my code haha)
- The player should not fall out of the world when they have a collision with a wall or floor
- I would like some type of gravity so if the player falls within the mine, he goes down and does not float
- If you add jumping code, I will throw in an extra $5 USD for a total of $35.

Things I tried that didn't work:
- I played with c_setminmax(me) variants
- I played with move_friction variants
- I tried using disable_z_glide variants
- I tried using move_min_z variants

Additional:
If you come up with any more cool ideas to make this movement code better, please let me know. I am willing to pay for ideas to improve this system. Unfortunately I can't seem to figure this out and I think if someone already has existing code they could apply, this will take less than 10 minutes.

Please inform me you are working on this project. If I get 20 people working on this at the same time and send me the code, I can't pay them all. If you play with the code and figure this out, then send me a PM prior to sending the final fix/code/download link with updated project. I need to confirm that you are working on it so you are guaranteed to get paid.

Other Information:
Contact: 3DGS forum PM
Email: garrett@garrettwademan.com
website: www.garrettwademan.com
Project Link: Download My Current Project
Method of Payment: PayPal, or mailed CHECK (check good for US only), I am paying $30 USD for this with optional extra $5 for jumping code

Thank you again. I have exhausted almost a week with this code trying to get it to work without any luck. I am reaching out to the community for some assistance on this application. If you need any additional details, please contact me.




Last edited by Garrettwademan; 03/21/11 10:54.

Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com