What do you mean when you say 'custom unit's names'? Their names in the data editor? If you can provide more details I can fix it for the next version :)
The camera will always stay with the unit you originally set as your player unit. If you ever need to change the unit, just run the SCR_Add Player Unit action with the player number and the new unit.
On the units you want to select, make sure the "unselectable" flag is off.
I haven't tested this online, so I have no idea how much network traffic it causes. The arrays have 16 (15 minus pos 0) keys so I guess it's possible to have 15 players. I recoded it with a goal of making as little changes to movement as possible to save traffic, but a lot of movement functionality had to be sacrificed. I went with functionality at the moment until I get to testing it online.
EDIT:
Just tried it online and it suffers as any WASD movement suffers. i.e. won't trigger the move until 0.5-1 second past the actual key press. It still feels playable though, but only as an RPG.
Version 0.2 released. Comes in SC2Mod format, only one trigger required to initiate the entire system on any unit you want. System was recoded from scratch to make better use of in-built editor features.
I've been working on totally redoing the system to make better use of built in behaviours and animations. And to prevent using the 'Move Instantly To' functions to save network traffic.
The scroll wheel will be fixed in the new version :)
I'd like to present my very first release to SC2Mapster. It is the movement library I have been developing over the last few days for my RPG titled 'Starcrafter' based in the Starcraft Universe.
A lot of time has been put in to getting the movement of both camera and player to look as smooth as possible.
Feel free to use the movement/camera library in your own projects as long as "README" and "LICENSE" remain within.
If anyone has any queries please let me know and I'll be happy to do my best in answering them.
Dependencies = 'Campaign (Liberty)' This is to enable a much larger range of units and doodads to choose from. It also includes the Civilian unit of which this library is best suited for.
Click the Modify... button next to the dependencies drop down.
Click Add Other...
Find the SCR - Movement 0.2.SC2Mod and press OK
Press OK again.
Fill out the rest of the new map dialog as you wish and press OK
Find the "Civilian (Male)" unit and place it on your map.
In the "Melee Initialization" trigger remove all the actions in there by default.
Add the new action SCR_Add Player Unit( 1, Civilian (Male) )
That's it!
Controls
W - Move Forward
S - Move Backwards
A - Turn Left (Strafe Left)
D - Turn Right (Strafe Right)
Shift - Hold to sprint
Left Mouse Button - Hold to look while moving
Right Mouse Button - Hold to direct movement with mouse and strafe
@chanchiem: Go
What do you mean when you say 'custom unit's names'? Their names in the data editor? If you can provide more details I can fix it for the next version :)
@MangledMind: Go
Hi MangledMind,
The camera will always stay with the unit you originally set as your player unit. If you ever need to change the unit, just run the SCR_Add Player Unit action with the player number and the new unit.
On the units you want to select, make sure the "unselectable" flag is off.
I haven't tested this online, so I have no idea how much network traffic it causes. The arrays have 16 (15 minus pos 0) keys so I guess it's possible to have 15 players. I recoded it with a goal of making as little changes to movement as possible to save traffic, but a lot of movement functionality had to be sacrificed. I went with functionality at the moment until I get to testing it online.
EDIT: Just tried it online and it suffers as any WASD movement suffers. i.e. won't trigger the move until 0.5-1 second past the actual key press. It still feels playable though, but only as an RPG.
Version 0.2 released. Comes in SC2Mod format, only one trigger required to initiate the entire system on any unit you want. System was recoded from scratch to make better use of in-built editor features.
@Sware: Go
Thank you for the feedback!
I've been working on totally redoing the system to make better use of built in behaviours and animations. And to prevent using the 'Move Instantly To' functions to save network traffic.
The scroll wheel will be fixed in the new version :)
Hello all,
I'd like to present my very first release to SC2Mapster. It is the movement library I have been developing over the last few days for my RPG titled 'Starcrafter' based in the Starcraft Universe.
A lot of time has been put in to getting the movement of both camera and player to look as smooth as possible.
Feel free to use the movement/camera library in your own projects as long as "README" and "LICENSE" remain within.
If anyone has any queries please let me know and I'll be happy to do my best in answering them.
Contents
Download
Project Page
Latest Release
Past Releases
Setting Up
In the map editor:
Controls
Screenshots