Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion

Reply
 
Thread Tools Display Modes
Old 03-17-2017, 06:06 PM   #1
Rambonxious
 
 
 
Join Date: Jun 2015
Reputation: 0
Posts: 13
Post Need Help with an RTS Half-Life 2 Mod

I've been working on this mod for about a week now. It is my first (real) attempt at modding the source engine and right now I'm wading through the tons of source code trying to discover how it all fits together.
I have an intermediate understanding of the C++ language, an intermediate understanding of modeling, and a high understanding of the Hammer tool.

I want to make a few distinct changes to end up with an RTS-genre mod. I want this type layout:

Upon the creation of a new game, rather than loading a traditional level, an overview of the "galaxy" will load. The galaxy is made up of planets. Each planet has a battleground in space and a few on land.

Let's say I invade enemy space over a planet. I confirm my action and am taken to a traditional RTS-style setup on one of the battlefields, where I have a top-down view and can command my units. Essentially, here is what I have no idea how to go about:

1 - Changing the player's view from first person to an overhead view and making him not collide with the world, not be a target for NPCs, And restricted to X-coordinate movement
2 - Changing up the in-game structure to allow for the multi-stage layout I mentioned earlier

Any ideas as to how I could accomplish any aspect of these or even what files I would need to modify to do that would be very, very appreciated. Thank you for your read and for any help or suggestions.
Rambonxious is offline  
Reply With Quote
Old 03-18-2017, 01:41 AM   #2
taz-ed
 
Join Date: Nov 2008
Reputation: 121
Posts: 2,790
take a look at the HL2 wars/lambda wars code https://github.com/Sandern/lambdawars i know they use a radar that you can click on to move to that postion, maybe you can adapt there code for your start screen to top down view
taz-ed is offline   Reply With Quote
Old 03-18-2017, 03:54 PM   #3
Rambonxious
 
 
 
Join Date: Jun 2015
Reputation: 0
Posts: 13
Quote:
Originally Posted by taz-ed View Post
take a look at the HL2 wars/lambda wars code https://github.com/Sandern/lambdawars i know they use a radar that you can click on to move to that postion, maybe you can adapt there code for your start screen to top down view
Wow I had no Idea that we could access that code and luckily I know python. Thanks for the reply. Reputation added.
Rambonxious is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2015, All Rights Reserved.