Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Customize Transition Entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
iaNanaNana
Member
Join Date: Sep 2020
Location: Two-dimensional
Plugin ID:
8006
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Customize save entities for next level to spawn
Old 03-16-2022 , 05:35   [L4D1 & L4D2] Customize Transition Entities
Reply With Quote #1

About:
  • Can save any entity in the safe house. By default, it save all weapons, physic prop and mounted gun.
  • All data save in "sourcemod/data/save_entities" folder.
  • Blocked original save entities function to this plugin instead.

Config:
"l4d_customize_transition_entities.cfg" in "sourcemod/data". (Can change file path by a convar in below)
Spoiler

In "Offsets" section, only int type should be like this:
PHP Code:
"5152"
{
    
"type"    "int"
    "byte"    "4"

Others should be like this:
PHP Code:
"5152" "float" 
Offsets value type:
  • int
  • float
  • string
  • vector
  • entity
Native:
Spoiler


Forwards:
Spoiler


Cvar:
PHP Code:
l4d_customize_transition_entities "1" // Enable the plugin.
l4d_customize_transition_entities_config "addons/sourcemod/data/l4d_customize_transition_entities.cfg" // Config file for entities and data to save. 
Admin Cmd:
PHP Code:
sm_transition // Start transition change level immediately. (ADMIN_ROOT) 
Requirement:
Thanks:
  • Psyk0tik - All signatures

Change:
Code:
1.1 - 2022/4/12
	Late precache models before set model to prevent crash. Thanks to "CosmicD" for reporting.
1.0
	- Initial release
Attached Files
File Type: zip l4d_customize_transition_entities_1.1.zip (25.6 KB, 293 views)

Last edited by iaNanaNana; 04-12-2022 at 09:27.
iaNanaNana is offline
 



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 04:26.


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