View Single Post
triple0
Junior Member
Join Date: Jul 2019
Old 07-15-2019 , 16:24   Re: Fake player plugin designed for deathrun servers
Reply With Quote #6

Before we make deathrun plugins support bots we should change their behaviours to match with real afk players. This SS should explain the situation much better. Screenshot. They shouldn't be floating in the air. You might say why bother with this plugin? Well it's because of the restrictions of my server management systems. I'm unable to install PodBots which is a better way to achieve fake players imo.

Code:
This is the line that i changed in the fakefull_original.sma
Line 425 	cs_set_user_team(BotID, CS_TEAM_CT)

This was UNASSIGNED originally.
Result. Again same screenshot.

Later i found these codes in the same file.

Line 323	//Make Sure they have no model
		set_pev(Bot, pev_model, "")
		set_pev(Bot, pev_viewmodel2, "")
		set_pev(Bot, pev_modelindex, 0)

		//Make them invisible for good measure
		set_pev(Bot, pev_renderfx, kRenderFxNone)
		set_pev(Bot, pev_rendermode, kRenderTransAlpha)
Line 331	set_pev(Bot, pev_renderamt, 0.0)

Deleted them and now i can actually see the bots. Screenshot.
Also i tried to manually transfer bots to t team and somehow FakeFull plugin is coded such a way that plugin checks the spawned bots' team and transfers it back to the specified team in the plugin itself.
I'll post here if i find anything about this later.
Attached Files
File Type: sma Get Plugin or Get Source (fakefull_originalMODIFIED.sma - 236 views - 12.5 KB)

Last edited by triple0; 07-15-2019 at 16:36. Reason: correction, added modified sma
triple0 is offline