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

[DOD:S] sm_flag icon changer (willing to pay)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
knoxville101
Junior Member
Join Date: Feb 2023
Old 01-17-2024 , 16:05   [DOD:S] sm_flag icon changer (willing to pay)
Reply With Quote #1

Hello I have an issue with some custom maps changing the stock flag icon on our server. Can someone make a plugin to keep all capture flags stock regardless of what custom maps have written into them? Willing to pay money for this plugin to be made.
__________________
knoxville101 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-18-2024 , 03:36   Re: [DOD:S] sm_flag icon changer (willing to pay)
Reply With Quote #2

If you have MetaMod:Source plugin called Stripper installed on server,
load your custom map with those custom flag icon and use command from server console:
stripper_dump

You get dump file in addon/stripper folder, post or upload that file here.

Or tell us map name where this happen.
__________________
Do not Private Message @me
Bacardi is offline
knoxville101
Junior Member
Join Date: Feb 2023
Old 01-18-2024 , 11:55   Re: [DOD:S] sm_flag icon changer (willing to pay)
Reply With Quote #3

Are you referring to this?
https://forums.alliedmods.net/showthread.php?t=39439
__________________
knoxville101 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-18-2024 , 15:35   Re: [DOD:S] sm_flag icon changer (willing to pay)
Reply With Quote #4

yes

http://www.bailopan.net/stripper/snapshots/1.2/
__________________
Do not Private Message @me

Last edited by Bacardi; 01-18-2024 at 15:36.
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-19-2024 , 15:04   Re: [DOD:S] sm_flag icon changer (willing to pay)
Reply With Quote #5

sorry douple post.
Seems someone asking same thing in another topic. Block BSP list precache files

Here is one way:
- New custom flag model into server.
- Upload custom model to players.
- Stripper plugin, to replace "dod_control_point" model path to else.

I attach ZIP file what contain these
Spoiler



I recompile original flag model to use different file path, (/server/).

INSTALL
Upload materials, models folder into server /dod/ folder.
- If you have files upload host in use (sv_downloadurl "url"), then upload folders in there also.

To tell SRCDS actually upload custom files, there is res file in maps folder (ar_lumberyard.res)
- You make copy of this file and rename it to map name where you want use custom model. ex cs_office.res

Above method is old fashion way to upload files, you can however use SourceMod plugin to make this task much easier.

There are two Stripper plugin configure examples.
- Use either global or per map configure.
- Copy and rename *.cfg.example config file suffix to *.cfg

SRCDS need use cvar sv_allowdownload 1 if you not use upload host.

- Once players are downloaded custom flag files, they will not redownload those files anymore later.
If they have to, they need delete files from ...dod/download/ folder, in they computer.

------------------------------------------------------------------------

Then there is bad news. All players may can't or want download custom files.
Players would see big ERROR model instead custom flag model.
- They missing custom files in they game files.
- Or server is using sv_pure 1 is not configured right.
There is pure_server_whitelist_example.txt, rename it to pure_server_whitelist.txt

Players need set they own game:
cl_downloadfilter "all"
cl_allowdownload 1



*update

- Some reason player game crash when server is in sv_pure 1 mode. It's maybe my custom model or Stripper is not good option to replace dod_control_point model. Or need SM plugin to precache models ?

*update
- that dam *.res file will give crash to player. Maybe better change to SM plugin.

*update
- Seems not work in sv_pure 1 mode, this maybe need done with SM plugin to recreate entity.

*update
- On next day, I did not get sv_pure crashes anymore, I guess another program in my PC was making that bug (VIDE or Crowbar compiler).
I found different sv_pure bug, what prevent custom model to load. If you add 5th folder in file path it not work. There maybe a max path name lenght.
- stupid me, I gave file name instead folder. Doh.
Code:
	// Allow custom flag - this config not work in pure_server_whitelist.txt
	models\server\mapmodels\flags\... 			any
	materials\models\server\mapmodels\flags\... 	any

	// Allow custom flag - this works
	models\server\mapmodels\... 			any
	materials\models\server\mapmodels\... 	any
- There is bug in sv_pure 1, crash on clients.
It happen when use *.res file and you not have files configured in pure_server_whitelist.txt. This could be also combination with Stripper plugin, when change model from map.
Attached Files
File Type: zip dods_flag.zip (294.7 KB, 13 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 01-20-2024 at 05:36. Reason: zip updated with edited pure_server_whitelist_example.txt
Bacardi 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 07:43.


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