[MOD] Moving Walkways [walkway]

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

[MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 09:47

I have made a moving walkways mod. It uses the conveyor belts from theFox and LemonLake's factory mod. it speeds up players if they walk in the walkway's direction.
Download:
git: git://gpcf.eu/walkway.git
zip: https://git.gpcf.eu/?p=walkway.git;a=sn ... ter;sf=zip
Bugs:
* Support for animals is buggy, some animals don't work at all (chicken, sheep), some have wrong attachment positions (bunnies, cats)

Todo:
* Add inclined walkways and escalators

Screenshot:
Image
Last edited by gpcf on Wed Jun 28, 2017 16:35, edited 2 times in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7464
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 11:36

I don't know how to make the player visible, does someone know how to do this?
 

User avatar
azekill_DIABLO
Member
 
Posts: 7464
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
cx384
Member
 
Posts: 492
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 14:10

azekill: the player is attached to an entity
cx384: yes, only that sadly that other mod doesn't support moving players.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7464
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 15:09

i have set visible=true and i now get this:Image
Attachments
screenshot_20170627_182410.png
(425.34 KiB) Not downloaded yet
 

User avatar
azekill_DIABLO
Member
 
Posts: 7464
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Moving Walkways [walkway]

by azekill_DIABLO » Wed Jun 28, 2017 15:15

dummy shouldn't have any texture. set them to blank.png. then the player is miss-scaled... try tweaking this.
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 15:58

Ok, the bug is fixed. I also added basic support for moving animals.
 

dawgdoc
Member
 
Posts: 236
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [MOD] Moving Walkways [walkway]

by dawgdoc » Wed Jun 28, 2017 16:06

gpcf wrote:Ok, the bug is fixed. I also added basic support for moving animals.

We'll soon see sheep surfing the walkways.
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 16:34

hopefully, sheep are not working yet (I don't know why)
 

User avatar
azekill_DIABLO
Member
 
Posts: 7464
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Moving Walkways [walkway]

by azekill_DIABLO » Wed Jun 28, 2017 17:22

sheeps (as other non-players entities) are handled very differently... with set_velocity.
 

User avatar
v-rob
Member
 
Posts: 576
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: [MOD] Moving Walkways [walkway]

by v-rob » Wed Jun 28, 2017 18:07

Wonderful mod! I like how it works for both dropped items and players. I can think of so many uses already! Can't wait for the escalators and inclined walkways.

+ Death trap
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Wed Jun 28, 2017 18:10

I have switched it now to set_velocity, but some animals are still not detected, such as sheep and chicken, which may be because they jump a lot.
 

User avatar
BBmine
Member
 
Posts: 3464
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Thu Jun 29, 2017 10:04

Slopes are underway! I'll try to write the code to transport things today.
Image
Attachments
screenshot_20170627_182410.png
(471.22 KiB) Not downloaded yet
 

User avatar
gpcf
Member
 
Posts: 284
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [MOD] Moving Walkways [walkway]

by gpcf » Thu Jun 29, 2017 17:15

I have added slopes. They work relatively well, I only have to figure out how to be able to walk on them (they currently move players at a fixed speed)
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 6 guests