Raised This Month: $ Target: $400
 0% 

Deathrace (v2.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Janosch237
Member
Join Date: Apr 2007
Old 05-02-2010 , 14:57   Re: [DeathRace] Mod
Reply With Quote #451

hey xalus lets add a timer

when a player finished it comes the run time in hud + top100
Janosch237 is offline
Speedy'
Member
Join Date: Jan 2009
Old 05-03-2010 , 03:14   Re: [DeathRace] Mod
Reply With Quote #452

I've founded the semiclip that has no bug with the crates
Attached Files
File Type: sma Get Plugin or Get Source (team-semiclip.sma - 412 views - 3.6 KB)
__________________
Sorry for my English
Speedy' is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 05-03-2010 , 03:32   Re: [DeathRace] Mod
Reply With Quote #453

Code:
public SpeedStop(id){     set_user_maxspeed(id, 320.0)     b_HasSpeed[id] = false } public GodmodeStop(id)     set_user_godmode(id, 0)     public GravityStop(id)     set_user_gravity(id, 1.0)
You should check if player is alive first.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Xarias09
Member
Join Date: Sep 2009
Old 05-03-2010 , 05:19   Re: [DeathRace] Mod
Reply With Quote #454

yhym, yes?
PHP Code:
public SpeedStop(id){
    
set_user_maxspeed(id320.0
    
b_HasSpeed[id] = false
}
public 
GravityStop(id)
    
set_user_gravity(id1.0)

public 
GodmodeStop(id)
    
set_user_godmode(id0
Xarias09 is offline
WTFx
Junior Member
Join Date: Dec 2009
Old 05-03-2010 , 08:33   Re: [DeathRace] Mod
Reply With Quote #455

Quote:
Originally Posted by Xarias09 View Post
yhym, yes?
PHP Code:
public SpeedStop(id){
    
set_user_maxspeed(id320.0
    
b_HasSpeed[id] = false
}
public 
GravityStop(id)
    
set_user_gravity(id1.0)

public 
GodmodeStop(id)
    
set_user_godmode(id0
Like this man:

PHP Code:
public SpeedStopid )
{
        if( 
is_user_aliveid ) )
        
set_user_maxspeedid320.0 
        
b_HasSpeedid ] = false
}

public 
GodmodeStopid )
{
        if( 
is_user_aliveid ) )
        
set_user_godmodeid)
}
    
public 
GravityStopid )
{
        if( 
is_user_aliveid ) )
        
set_user_gravityid1.0 )

Or:

PHP Code:
public SpeedStopid )
{
        if( ! 
is_user_aliveid ) ) return PLUGIN_HANDLED
        set_user_maxspeed
id320.0 
        
b_HasSpeedid ] = false
        
return PLUGIN_CONTINUE
}

public 
GodmodeStopid )
{
        if( ! 
is_user_aliveid ) )  return PLUGIN_HANDLED
        set_user_godmode
id)
        return 
PLUGIN_CONTINUE
}
    
public 
GravityStopid )
{
        if( ! 
is_user_aliveid ) )  return PLUGIN_HANDLED
        set_user_gravity
id1.0 )
        return 
PLUGIN_CONTINUE

I look for some editing the code in public ButtonUse
I will take the player that press the 'winbut' and make him to stay alive after he press the button + an message like "Mwhahahaha i win this DeathRace!". But i will make that everyone else will die when he pressed (only the player that will press the button will remain alive), today i will working on this

Last edited by WTFx; 05-03-2010 at 08:38.
WTFx is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 05-04-2010 , 04:50   Re: [DeathRace] Mod
Reply With Quote #456

Quote:
Originally Posted by WTFx View Post
I look for some editing the code in public ButtonUse
I will take the player that press the 'winbut' and make him to stay alive after he press the button + an message like "Mwhahahaha i win this DeathRace!". But i will make that everyone else will die when he pressed (only the player that will press the button will remain alive), today i will working on this
LOL. So how will you force round end? If player would 1 player would stay alive.
Empowers is offline
Send a message via ICQ to Empowers
fR4gn0tiX!
Senior Member
Join Date: Nov 2009
Location: Georgia, Tbilisi
Old 05-04-2010 , 06:05   Re: [DeathRace] Mod
Reply With Quote #457

Quote:
Originally Posted by Empowers View Post
LOL. So how will you force round end? If player would 1 player would stay alive.
http://forums.alliedmods.net/showthread.php?t=40287
__________________
fR4gn0tiX! is offline
Send a message via Skype™ to fR4gn0tiX!
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 05-04-2010 , 06:29   Re: [DeathRace] Mod
Reply With Quote #458

Quote:
Originally Posted by fR4gn0tiX! View Post
Quote:
Originally Posted by VEN View Post
Technical Limitations
Plugin will fail if:
- server is full
- no players in one of the teams
- round already is over
- bomb planted and CT team is specified
There is no players in Terrorist team in Death Race so plugin will not work. The only 2 ways to force round end with out killing players are:
1) to create Terrorist Fake Bot, and kill it when u won't to end round.
2) to use orpheu.

Last edited by Empowers; 05-04-2010 at 06:34.
Empowers is offline
Send a message via ICQ to Empowers
Speedy'
Member
Join Date: Jan 2009
Old 05-04-2010 , 10:09   Re: [DeathRace] Mod
Reply With Quote #459

The lives received if you finish the map, are not reseted after the map is changed. Could you make a cvar to turn on/off this option? If not, tell me how to modify for my server. Thanks
__________________
Sorry for my English
Speedy' is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-04-2010 , 10:57   Re: [DeathRace] Mod
Reply With Quote #460

Speedy',
In script u see: #define SaveStats
set theire: // #define SaveStats

set // befor it

Quote:
Originally Posted by Janosch237 View Post
hey xalus lets add a timer

when a player finished it comes the run time in hud + top100
I added but removed in beta version..
Becuase 'Pukata' His idea,
Said it was not good for Deathrace (z)

So I removed.
__________________
Retired.

Last edited by Xalus; 05-04-2010 at 11:02.
Xalus is offline
Old 05-04-2010, 11:01
Xalus
This message has been deleted by Xalus. Reason: Spam sorry
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 18:19.


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