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
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 :)
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.
hey ive been looking for a third person system for an RPG map im making, im curious, with this system, can the player select other units and such? but still only keep the camera on their "hero". also my RPG allows for 12 players, how much network traffic will this cause using the WASD system?
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.
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 :)
You cannot publish a map with the word "Starcraft in it" so you better find another name either blizzard is gonna remove it from bnet.
To fix mouse scroll i think you can do it in File>Configure commands[My sc2editor is french so prolly not the right word] or you can do it in the data editor.
Just open it and select camera on the scroll down menu, then select default camera and remove all zoom levels. I had the same problem on a TPS shooting game i made.
Who ever said he wanted to make 12 player tps rpg had a bad idea, i played a tps map once on bnet, it was only 4-6 players[i dont remember] and it was lagging alot, i experienced lag with tps when playing on a huge map so i dont know if it was latency or just the game lagging. Maybe my computer that is lagging.. before creating a game you should first think about what could make the map impossible to finish... or not worth making it..
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
You know how to prevent a player from adjusting the middle mouse wheel to scroll in or out; it messes up the camera a lot
lol this is random but the pictures remind me of Avatar for some reason :p
@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 :)
@Atl0s: Go
I thought the same ;)
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.
hey ive been looking for a third person system for an RPG map im making, im curious, with this system, can the player select other units and such? but still only keep the camera on their "hero". also my RPG allows for 12 players, how much network traffic will this cause using the WASD system?
@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.
When I added a dependency, it changed all of my custom unit's names. How do I keep it from doing that? Otherwise, this is a really good mod!
@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 :)
You cannot publish a map with the word "Starcraft in it" so you better find another name either blizzard is gonna remove it from bnet.
To fix mouse scroll i think you can do it in File>Configure commands[My sc2editor is french so prolly not the right word] or you can do it in the data editor. Just open it and select camera on the scroll down menu, then select default camera and remove all zoom levels. I had the same problem on a TPS shooting game i made.
Who ever said he wanted to make 12 player tps rpg had a bad idea, i played a tps map once on bnet, it was only 4-6 players[i dont remember] and it was lagging alot, i experienced lag with tps when playing on a huge map so i dont know if it was latency or just the game lagging. Maybe my computer that is lagging.. before creating a game you should first think about what could make the map impossible to finish... or not worth making it..
I used your library and how come when i start the game is gives me an error?
"Trigger Error in 'gt_blahblah_Func': An Error occurred while starting Starcraft ll"
what does that mean and why is it happening?
Wow this is a really nice TPV/WASD engine! Keep up the good work!
And also, if i wanted to have more then just 1 player would it work?
Would I use Trigger
Event-
Map Intialization
Actions-
Player-SCR_Add Player Unit(1,<unit>)
Player-SCR_Add Player Unit(2,<unit>)
Player-SCR_Add Player Unit(3,<unit>)
and so on..
its 100 days. I doubt author will check this again.
is this mod still working?
Or do somone knows of a other good wasd mod?
i need one for my project :(