Raised This Month: $ Target: $400
 0% 

TSAMXX module??


Post New Thread Reply   
 
Thread Tools Display Modes
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-02-2004 , 17:52  
Reply With Quote #11

Quote:
Originally Posted by SidLuke
http://www.amxmodx.org/cgi-bin/viewcvs.cgi/amxmodx/dlls/ts/
well u got some of the items with wrong ids :/

TSW_KUNG_FU is the highest and it is 36.. all other guns are under it.. you got the knife above

so exchange ur TSW_ list with mine

also you got

Quote:
valid pwuptype in TS_GivePwUp

0: "Random"
1: "Slow Motion"
2: "Infinite Clip"
4: "Kung Fu"
8: "Slow Pause"
16: "Double Firerate"
32: "Grenade"
64: "Health"
128: "Armor"
256: "Low Gravity"

*/
but 256 = Superjump NOT Low Gravity


AND

#define TSPWUP_LOWGRAVITY 256
noexistant... should be

#define TSPWUP_SUPERJUMP 256

AND

you got

#define TSMAX_WEAPONS 39

it should be

#define TSMAX_WEAPONS 36


PS:
Here are some stuff i use in a plugin i am working on, it might be helpfull

Quote:
SetExtras() { //*** DON'T FUCK WITH THIS ***
gExtras[1] = {1,1,1,0}//Glock 18
gExtras[3] = {1,0,0,0}//Mini-Uzi
gExtras[4] = {0,1,1,1}//Benelli M3
gExtras[5] = {1,1,1,1}//M4A1
gExtras[6] = {0,1,1,1}//MP5SD
gExtras[7] = {1,1,1,1}//MP5K
gExtras[8] = {1,1,1,0}//Akimbo Berettas
gExtras[9] = {1,1,1,0}//SOCOM-MK23
gExtras[11] = {0,1,1,0}//USAS-12
gExtras[12] = {1,1,0,1}//Desert Eagle
gExtras[13] = {0,0,0,1}//AK47
gExtras[14] = {1,1,1,0}//FiveSeven
gExtras[15] = {1,1,0,0}//STEYR-AUG
gExtras[17] = {1,1,0,0}//STEYR-TMP
gExtras[18] = {0,1,0,0}//Barrett M82A1
gExtras[19] = {1,1,0,1}//MP7-PDW
gExtras[20] = {0,1,1,0}//SPAS-12
gExtras[21] = {0,0,0,0}//Golden Colts
gExtras[22] = {1,1,1,0}//Glock-20C
gExtras[23] = {1,1,1,1}//UMP
gExtras[24] = {0,0,0,0}//M61 Grenade
gExtras[25] = {0,0,0,0}//Combat Knife
gExtras[26] = {0,1,1,0}//Mossberg 500
gExtras[27] = {0,1,1,1}//M16A4
gExtras[28] = {0,1,0,0}//Ruger MK1
gExtras[31] = {0,1,0,1}//Raging Bull
gExtras[32] = {0,0,0,0}//M60E3
gExtras[33] = {0,1,0,0}//Sawed-off
gExtras[34] = {0,0,0,0}//Katana
gExtras[35] = {0,0,0,0} //Seal Knife
}

SetSlots() {
gSlots[1] = 10//Glock 18
gSlots[3] = 20//Mini-Uzi
gSlots[4] = 40//Benelli M3
gSlots[5] = 40//M4A1
gSlots[6] = 25//MP5SD
gSlots[7] = 20//MP5K
gSlots[8] = 20//Akimbo Berettas
gSlots[9] = 10//SOCOM-MK23
gSlots[10] = 20//SOCOM-MK23 (AKIMBO)
gSlots[11] = 50//USAS-12
gSlots[12] = 15//Desert Eagle
gSlots[13] = 40//AK47
gSlots[14] = 10//FiveSeven
gSlots[15] = 40//STEYR-AUG
gSlots[16] = 40//Mini-Uzi (AKIMBO)
gSlots[17] = 20//STEYR-TMP
gSlots[18] = 70//Barrett M82A1
gSlots[19] = 30//MP7-PDW
gSlots[20] = 40//SPAS-12
gSlots[21] = 20//Golden Colts
gSlots[22] = 10//Glock-20C
gSlots[23] = 25//UMP
gSlots[24] = 15//M61 Grenade
gSlots[25] = 1//Combat Knife
gSlots[26] = 40//Mossberg 500
gSlots[27] = 40//M16A4
gSlots[28] = 5//Ruger MK1
gSlots[30] = 20//FiveSeven (AKIMBO)
gSlots[31] = 15//Raging Bull
gSlots[32] = 70//M60E3
gSlots[33] = 20//Sawed-off
gSlots[34] = 10//Katana
gSlots[35] = 1//Seal Knife
}
__________________
My Plugins

Got ??
AssKicR is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-02-2004 , 19:53  
Reply With Quote #12

from ts_fgd.fgd file :
Code:
@PointClass base(Target) size(-16 -16 -36, 16 16 36) color(255 125 0) = ts_powerup : "TS powerup" 
[
	pwuptype(choices) : "Powerup Type" : 0 =
	[
		0: "Random"
		1: "Slow Motion"
		2: "Infinite Clip"
		4: "Kung Fu"
		8: "Slow Pause"
		16: "Double Firerate"
		32: "Grenade"
		64: "Health"
		128: "Armor"
		256: "Low Gravity"
	]

	pwupduration(integer) : "Respawn time" : 60

	message(string) : "Message when pick up"
]
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-02-2004 , 19:59  
Reply With Quote #13

Quote:
Originally Posted by SidLuke
from ts_fgd.fgd file :
Code:
@PointClass base(Target) size(-16 -16 -36, 16 16 36) color(255 125 0) = ts_powerup : "TS powerup" 
[
	pwuptype(choices) : "Powerup Type" : 0 =
	[
		0: "Random"
		1: "Slow Motion"
		2: "Infinite Clip"
		4: "Kung Fu"
		8: "Slow Pause"
		16: "Double Firerate"
		32: "Grenade"
		64: "Health"
		128: "Armor"
		256: "Low Gravity"
	]

	pwupduration(integer) : "Respawn time" : 60

	message(string) : "Message when pick up"
]
yes, but it is not correct.. "Low Gravity" was replaced with "Superjump" a few versions back, i guess they didn't update the FDG
__________________
My Plugins

Got ??
AssKicR is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-03-2004 , 06:37  
Reply With Quote #14

Cmon You can do superjumps if you have low gravity
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-03-2004 , 13:49  
Reply With Quote #15

Quote:
Originally Posted by SidLuke
Cmon You can do superjumps if you have low gravity
Ask the creators of TS... I have.. "Low Gravity" was removed at the same time "Superjump" was put in
__________________
My Plugins

Got ??
AssKicR is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-06-2004 , 14:25  
Reply With Quote #16

Quote:
Revision 1.4 / (view) - annotate - [select for diffs] , Sat Jul 3 18:22:05 2004 UTC (3 days ago) by sidluke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
for AssKicR

also there is no such thing as

TSW_TKNIFE

the TSW_SKNIFE & TSW_CKNIFE can be trown to cause a kill as Throwing knife


REQUEST: Some way of setting Ammo
__________________
My Plugins

Got ??
AssKicR is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-11-2004 , 00:02  
Reply With Quote #17

Another thing

Quote:
Originally Posted by Vino
you can use fuser1 to edit one single client's globalslow value. Or was it fuser4, dont remember..
So basicly you can add like ts_slowmo(id,howslow) or something with this right

btw the TSSlowMo message is something like this
Code:
    message_begin(MSG_ONE,get_user_msgid("TSSlowMo"),{0,0,0},id)     write_coord( slow ) //0=off     message_end()

PS: Vino is on the TS team.. real cool guy
__________________
My Plugins

Got ??
AssKicR is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 07-11-2004 , 00:05  
Reply With Quote #18

get_user_position

Works by returning an origin, a vector, and a number, which defines which stunt it is.
0 = norma
1 = duck
2 = jump
3 = roll
4 = flip
5 = dive
6 = wallflip

See what I mean?
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-11-2004 , 00:06  
Reply With Quote #19

Quote:
Originally Posted by Twilight Suzuka
get_user_position

Works by returning an origin, a vector, and a number, which defines which stunt it is.
0 = norma
1 = duck
2 = jump
3 = roll
4 = flip
5 = dive
6 = wallflip

See what I mean?
so basicly something like

stunt = get_user_position(id,origin[3],velocity[3])

??
__________________
My Plugins

Got ??
AssKicR is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 07-11-2004 , 13:57  
Reply With Quote #20

Quote:
Originally Posted by AssKicR
also there is no such thing as

TSW_TKNIFE

the TSW_SKNIFE & TSW_CKNIFE can be trown to cause a kill as Throwing knife


REQUEST: Some way of setting Ammo

............................................. .................

stunt = get_user_position(id,origin[3],velocity[3])
1) There's now .

2) Maybe later in TSFun module if I ever create it. PD natives aren't stable so they should be in different module.

3) I can add ts_get_stuntflag(index) native.You can get origin and velocity using core and engine. Well, stuntflags to (engine) but maybe it will be better if it will be in ts module..
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
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 13:23.


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