Raised This Month: $ Target: $400
 0% 

call round end & another thing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 05-14-2011 , 09:14   call round end & another thing
Reply With Quote #1

as the title says, how do i manually call round end?
also how can i change the server sky & weather (rain, snow, fog) without map change?
i mean call the engine effects, not make them manually through amxx
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
monolit
Junior Member
Join Date: May 2011
Old 05-14-2011 , 09:25   Re: call round end & another thing
Reply With Quote #2

Search for force round end,
monolit is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 05-14-2011 , 09:28   Re: call round end & another thing
Reply With Quote #3

without slaying the players it's not possible?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 05-14-2011 , 09:38   Re: call round end & another thing
Reply With Quote #4

Quote:
Originally Posted by georgik57 View Post
as the title says, how do i manually call round end?
also how can i change the server sky & weather (rain, snow, fog) without map change?
i mean call the engine effects, not make them manually through amxx
Well you can try to spawn env_rain, env_snow and env_fog entities, although Im not sure will this work.Also you can send Fog Message, but I don't know what are that message arguments.
About round end:
1) You can use Orpheu.Search for Arkshines Round terminator plugin.
2) If you dont want to use Orpheu you can use VEN's method: spawn a bot in loosing team, switch everyone else to opposite team(and cache their last team), than kill a bot and hide DeathMsg and than return everyone else back to their teams.
3) Maybe there is a way to force engine to think that bomb has been defused/explodedm but I dont know about that much.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-14-2011 , 09:46   Re: call round end & another thing
Reply With Quote #5

About Fog message, you can use this stock : https://forums.alliedmods.net/showpo...0&postcount=13
__________________
Arkshine is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 05-14-2011 , 10:12   Re: call round end & another thing
Reply With Quote #6

Quote:
Originally Posted by NiHiLaNTh View Post
Well you can try to spawn env_rain, env_snow and env_fog entities, although Im not sure will this work.Also you can send Fog Message, but I don't know what are that message arguments.
About round end:
1) You can use Orpheu.Search for Arkshines Round terminator plugin.
2) If you dont want to use Orpheu you can use VEN's method: spawn a bot in loosing team, switch everyone else to opposite team(and cache their last team), than kill a bot and hide DeathMsg and than return everyone else back to their teams.
3) Maybe there is a way to force engine to think that bomb has been defused/explodedm but I dont know about that much.
it seems that zp already has a fake hostage entity created in plugin precache
PHP Code:
    new ent
    
    
// Fake Hostage (to force round ending)
    
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"hostage_entity"))
    if (
pev_valid(ent))
    {
        
engfunc(EngFunc_SetOriginentFloat:{8192.0,8192.0,8192.0})
        
dllfunc(DLLFunc_Spawnent)
    } 
but on the other hand, zp removes the rescue zone
so how can i do it?
Quote:
Originally Posted by Arkshine View Post
About Fog message, you can use this stock : https://forums.alliedmods.net/showpo...0&postcount=13
thanks
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
bibu
Veteran Member
Join Date: Sep 2010
Old 05-14-2011 , 11:23   Re: call round end & another thing
Reply With Quote #7

Quote:
Originally Posted by georgik57 View Post
it seems that zp already has a fake hostage entity created in plugin precache
PHP Code:
    new ent
    
    
// Fake Hostage (to force round ending)
    
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"hostage_entity"))
    if (
pev_valid(ent))
    {
        
engfunc(EngFunc_SetOriginentFloat:{8192.0,8192.0,8192.0})
        
dllfunc(DLLFunc_Spawnent)
    } 
but on the other hand, zp removes the rescue zone
so how can i do it?
Simple, it creates a hostage outside a map, removes the rescue zone cause it isn't needed. And if CT's don't rescue the hostage, it will be after the round time auto T's win.
bibu is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 05-14-2011 , 12:03   Re: call round end & another thing
Reply With Quote #8

Quote:
Originally Posted by bibu View Post
Simple, it creates a hostage outside a map, removes the rescue zone cause it isn't needed. And if CT's don't rescue the hostage, it will be after the round time auto T's win.
hmm
how can i auto set the round time to 0 when needed?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 05-14-2011 , 12:20   Re: call round end & another thing
Reply With Quote #9

Quote:
Originally Posted by georgik57 View Post
hmm
how can i auto set the round time to 0 when needed?
I think you need to call this message.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-14-2011 , 12:27   Re: call round end & another thing
Reply With Quote #10

Quote:
Originally Posted by NiHiLaNTh View Post
I think you need to call this message.
This is just visual effect, you need orpheu to set real roundtime value.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 04:28.


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