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

[TF2] Be with Robots 2 v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 11:46   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #21

Quote:
Originally Posted by Michalplyoutube View Post
hud control to show on wave progress bar is the teleport up
For the hud the teleporter is display only if a true engineer is in popfile of the wave but maybe with a fake event the tf_objective_recource can display the teleporter.
And in the video there are no sound but ingame all player heard a random of this 4 sound when the teleporter is activate: 1"vo/announcer_mvm_eng_tele_activated01.wav" 2"vo/announcer_mvm_eng_tele_activated02.wav" 3"vo/announcer_mvm_eng_tele_activated04.wav" 4"vo/announcer_mvm_eng_tele_activated04.wav"and this sound when a robot is teleporterd "mvm/mvm_tele_deliver.wav"

Last edited by Benoist3012; 10-21-2014 at 11:52.
Benoist3012 is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 10-21-2014 , 11:49   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #22

Quote:
Originally Posted by Benoist3012 View Post
For the hud the teleporter is display only if a true engineer is in popfile of the wave
Yes thats true it enables its self it any tele exit is up

And one more thing could you make that the robots after death don't drop entity_revive_marker to not confuse red team
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 11:58   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #23

Quote:
Originally Posted by Michalplyoutube View Post
Yes thats true it enables its self it any tele exit is up

And one more thing could you make that the robots after death don't drop entity_revive_marker to not confuse red team
Yes it's possible with this "public OnEntityCreated(entity, const String:classname[])"

So when the entity_revive_maker spawn with a code the plugin detect the team of the hologram and kill the entity

Last edited by Benoist3012; 10-21-2014 at 11:59.
Benoist3012 is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 10-21-2014 , 12:04   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #24

Quote:
Originally Posted by Benoist3012 View Post
Yes it's possible with this "public OnEntityCreated(entity, const String:classname[])"

So when the entity_revive_maker spawn with a code the plugin detect the team of the hologram and kill the entity
Yea I have tried that to code it but it wasn't working maybe you will get it to work
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 12:17   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #25

Ah it's really hard I have tried but the entity_revive_maker is not killed
Benoist3012 is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 10-21-2014 , 12:36   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #26

Quote:
Originally Posted by Benoist3012 View Post
Ah it's really hard I have tried but the entity_revive_maker is not killed
Maybe teleport it to 0.0 0.0 0.0?
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 12:36   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #27

YES
I have found it's really easy I wait your next update and I add my code

Last edited by Benoist3012; 10-21-2014 at 12:41.
Benoist3012 is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 12:37   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #28

Quote:
Originally Posted by Michalplyoutube View Post
Maybe teleport it to 0.0 0.0 0.0?
Good idea but I have found now the entity revive maker is killed if the owner is a blue

Last edited by Benoist3012; 10-21-2014 at 12:41.
Benoist3012 is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-21-2014 , 12:37   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #29

Quote:
Originally Posted by Benoist3012 View Post
Ah it's really hard I have tried but the entity_revive_maker is not killed
Try with

PHP Code:
public OnEntityCreated(entity, const String:classname[])
{
    if (
StrEqual(classname,"entity_revive_marker"))
    {
        
SDKHook(entitySDKHook_SpawnPostOnMarkerSpawn);
    }
}

public 
OnMarkerSpawn(entity)
{
    if(
IsValidEntity(entity))
        
AcceptEntityInput(entity"Kill");

__________________
Pelipoika is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 10-21-2014 , 12:40   Re: TF2 Be with Robots v1.3.3 (Reborn)
Reply With Quote #30

Quote:
Originally Posted by Pelipoika View Post
Try with

PHP Code:
public OnEntityCreated(entity, const String:classname[])
{
    if (
StrEqual(classname,"entity_revive_marker"))
    {
        
SDKHook(entitySDKHook_SpawnPostOnMarkerSpawn);
    }
}

public 
OnMarkerSpawn(entity)
{
    if(
IsValidEntity(entity))
        
AcceptEntityInput(entity"Kill");

Thanks you but I have found
PHP Code:
public OnGameFrame()
{
    if( !
IsMvM() )
        return;
    
CreateTimer(0.0FindReviveMaker);
}
public 
Action:FindReviveMaker(Handle:Timer)
{
    new 
ReviveMakers = -1;
    if((
ReviveMakers FindEntityByClassname(ReviveMakers,"entity_revive_marker")) != -1)
    {
        new 
client GetEntPropEnt(ReviveMakersProp_Send"m_hOwner");
        if(
GetClientTeam(client) == _:TFTeam_Blue)
        {
            
AcceptEntityInput(ReviveMakers,"Kill");// MOUHAHA You can't rise x)
        
}
    }


Last edited by Benoist3012; 10-21-2014 at 12:44.
Benoist3012 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:33.


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