AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   [FAQ/Tutorial] CS Bomb Scripting (https://forums.alliedmods.net/showthread.php?t=40164)

unikow 04-14-2007 01:46

Re: [FAQ/Tutorial] CS Bomb Scripting
 
it is possible to add xp to 3 and 4.??
let's say for plant / defuse 12 xp and for Exploson 20 xp for planter:P ??

VEN 04-14-2007 03:45

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Quote:

add xp
Are you reffering to some kind of AMX Mod X 3rd party plugin/mod? If so you have to ask plugin/mod author, not here.

Dark Kingdom 04-16-2007 08:08

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Good tutorial. ;)

Crusher918 05-30-2007 23:33

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Idk if i did it sumthing wrong here but i'm pretty sure this is the way i tested it and its not working
of course i have those plugin_init and stuff. I just copied the basic stuff

EDIT: nvm i got it

-is there a way to tell whether the user is on bombsite A or B?

VEN 05-31-2007 01:57

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Quote:

Originally Posted by VEN (Post 453036)
There are no actual way to determine a "letter" of a bomb site (A/B). You can only relate each of bomb target entities to each bomb site based on its proximity to each other: http://forums.alliedmods.net/showthr...695#post374695


BlueRaja 06-02-2007 15:20

Re: [FAQ/Tutorial] CS Bomb Scripting
 
How do you find the position of the dropped bomb? This is what I have...
PHP Code:

new bomb find_ent_by_class(-1"weapon_c4"), Float:bombPos[3]

//None of the following seem to work
get_brush_entity_origin(bombbombPos)
pev(bombpev_originbombPos)
entity_get_vector(bomb,EV_VEC_origin,bombPos


VEN 06-03-2007 00:56

Re: [FAQ/Tutorial] CS Bomb Scripting
 
PHP Code:

    new weapboxbomb fm_find_ent_by_class(-1"weapon_c4")
    if (
bomb && (weapbox pev(bombpev_owner)) > get_maxplayers()) {
        
pev(weapboxpev_originbombPos)
        
// ...
    



BlueRaja 06-04-2007 13:20

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Ah, I had thought I had tried that... turns out I forgot to call floatround() before calling write_coord().
Thank you much, Ven!

anakin_cstrike 07-12-2008 03:27

Re: [FAQ/Tutorial] CS Bomb Scripting
 
I wnt to make something progressive when planting the bomb....how can i do that ? only with tasks ?...anyway, very nice VEN:up:

Alka 07-12-2008 06:17

Re: [FAQ/Tutorial] CS Bomb Scripting
 
Quote:

Originally Posted by anakin_cstrike (Post 651458)
I wnt to make something progressive when planting the bomb....how can i do that ? only with tasks ?...anyway, very nice VEN:up:

What ?!


All times are GMT -4. The time now is 00:01.

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