Raised This Month: $51 Target: $400
 12% 

[L4D2]Portals


Post New Thread Reply   
 
Thread Tools Display Modes
azureblue
Member
Join Date: Oct 2021
Location: Two Steps from Hell
Old 02-26-2022 , 12:06   Re: [L4D2]Portals
Reply With Quote #71

Quote:
Originally Posted by Zheldorg View Post
Blue Red Green Pink PORTALS
I redesigned the code, added support for another pair of portals, this is green with pink. Now !p with no argument sequentially creates a blue portal, a red portal, if both are created, deletes them. !p b will create a blue portal or, if already created, teleport it. By analogy: !p r for red, !p g for green, !p p for pink. sm_pd now allows you to manage your portals, !pd will remove all of your portals, !pd b or !pd r will remove a BlueRed pair, !pd g or !pd p will remove a GreenPink pair. The command for admins to remove all portals is called sm_pdall or !pdall, /pdall.
Convars remained as in the original plugin, the only thing is that the settings file is called l4d2_portals.cfg

Сommands:
  1. sm_p, or in chat !p, !p b, !p r, !p g, !p p
  2. for delete portals use command sm_pd for all, !pd b or !pd r for pair Blue-Red !pd g, !pd p for pair Green-Pink
  3. sm_pdall admin command to delete all portals
Hi, it can't be compiled and got some errors.
azureblue is offline
Zheldorg
Junior Member
Join Date: Aug 2020
Old 02-26-2022 , 19:48   Re: [L4D2]Portals
Reply With Quote #72

Quote:
Originally Posted by azureblue View Post
Hi, it can't be compiled and got some errors.
Yes, sometimes, the compiler behaves strangely, and I miss errors in the final edits. Made the necessary changes, now everything compiles exactly. There will be a new release.
Zheldorg is offline
Zheldorg
Junior Member
Join Date: Aug 2020
Old 02-26-2022 , 19:49   Re: [L4D2]Portals
Reply With Quote #73

Blue Red Green Pink PORTALS
I redesigned the code, added support for another pair of portals, this is green with pink. Now !p with no argument sequentially creates a blue portal, a red portal, if both are created, deletes them. !p b will create a blue portal or, if already created, teleport it. By analogy: !p r for red, !p g for green, !p p for pink. sm_pd now allows you to manage your portals, !pd will remove all of your portals, !pd b or !pd r will remove a BlueRed pair, !pd g or !pd p will remove a GreenPink pair. The command for admins to remove all portals is called sm_pdall or !pdall, /pdall.
Convars remained as in the original plugin, the only thing is that the settings file is called l4d2_portals.cfg

Сommands:
  1. sm_p, or in chat !p, !p b, !p r, !p g, !p p
  2. for delete portals use command sm_pd for all, !pd b or !pd r for pair Blue-Red !pd g, !pd p for pair Green-Pink
  3. sm_pdall admin command to delete all portals
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_portals.sp - 168 views - 15.2 KB)
Zheldorg is offline
DonnyAllen
Junior Member
Join Date: Oct 2018
Location: USA
Old 07-19-2023 , 19:51   Re: [L4D2]Portals
Reply With Quote #74

Quote:
Originally Posted by Zheldorg View Post
Blue Red Green Pink PORTALS
I redesigned the code, added support for another pair of portals, this is green with pink. Now !p with no argument sequentially creates a blue portal, a red portal, if both are created, deletes them. !p b will create a blue portal or, if already created, teleport it. By analogy: !p r for red, !p g for green, !p p for pink. sm_pd now allows you to manage your portals, !pd will remove all of your portals, !pd b or !pd r will remove a BlueRed pair, !pd g or !pd p will remove a GreenPink pair. The command for admins to remove all portals is called sm_pdall or !pdall, /pdall.
Convars remained as in the original plugin, the only thing is that the settings file is called l4d2_portals.cfg

Сommands:
  1. sm_p, or in chat !p, !p b, !p r, !p g, !p p
  2. for delete portals use command sm_pd for all, !pd b or !pd r for pair Blue-Red !pd g, !pd p for pair Green-Pink
  3. sm_pdall admin command to delete all portals
Sorry for commenting on an old post, but by any chance are you able to make it so you can save the portals?
DonnyAllen is offline
Reply



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 06:46.


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