Raised This Month: $159 Target: $400
 39% 

Are plugins a viable alternative to code mods?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pinsplash
Junior Member
Join Date: Nov 2016
Location: U.S.
Old 01-24-2025 , 18:52   Are plugins a viable alternative to code mods?
Reply With Quote #1

Recently a DMCA came down on the most popular GitHub repository that was hosting the 2007 Source engine leak after having been up for more than a decade. There are still other places it can be found, but a lot of doubt has been cast IMO and I'd prefer to avoid leaked code if I can, however, I am in the middle of making a mod that relies on that code.

Which leads me to the question in the title. Would I be able to start this project over as a server plugin? The mod is for Portal 1. An NPC essentially acts as AI for the player. It's parented to the player and controls the player through console commands. (It could probably be made as a bot instead.) To find out what to do, it has to do traces and iterate a lot through gEntList and query the states of entities, including portals. Map modification can be done to assist in any way needed.
Pinsplash is offline
tschumann
Member
Join Date: Jun 2017
Location: Australia
Old 01-25-2025 , 06:31   Re: Are plugins a viable alternative to code mods?
Reply With Quote #2

Not sure if you can create new entities using a plugin (either with or without SourceMod).

I know with Half-Life plugins you can but I think Metamod Source works a bit differently.
tschumann is offline
slateinteriors
New Member
Join Date: Feb 2025
Old 02-19-2025 , 03:30   Re: Are plugins a viable alternative to code mods?
Reply With Quote #3

mods add new assets to the game and alter the base game's code to do so
slateinteriors is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-19-2025 , 09:50   Re: Are plugins a viable alternative to code mods?
Reply With Quote #4

Looks like it's no longer a problem or matter of that leak being around

https://www.teamfortress.com/post.php?id=238809
__________________
Chdata is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 02-19-2025 , 10:43   Re: Are plugins a viable alternative to code mods?
Reply With Quote #5

Quote:
Originally Posted by Chdata View Post
Looks like it's no longer a problem or matter of that leak being around

https://www.teamfortress.com/post.php?id=238809
Portal 1 still hasn't had it's code public yet and OP wants to make a Portal 1 mod that has to add new capabilities for NPCs which is traditionally done through source code, but the only one available is the dubious leaked one as said.
Though with the random portal 1 update that tried to move the game to the anniversary engine and breaking a lot of things, I guess that codebase might still be in the works.

Also Pinsplash's avatar is a super mario boo?
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4
Shadowysn is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 18:34.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode