Posts: 101
Threads: 9
Joined: Jun 2011
Reputation:
2
I added
addGunToProgression( "hatchet_mp");
to my gun.gsc. Only one problem, when i get to this level i can trow as many tomahawks as i want (if i use the left mousebutton) if i use the "grenadebutton" i can only throw one. Also, if i get killed, i only can throw 3.
Same problem with grenades. Can someone help?
Thanks in advance.
PS. I also want to add a line of text after 4 weapons, that tells people the reached a new weaponcategorie. I havent found anything good on the site, maybe i use it wrong?
Posts: 916
Threads: 65
Joined: Jun 2011
(08-12-2011, 13:28)Dountill Wrote: I added
addGunToProgression( "hatchet_mp");
to my gun.gsc. Only one problem, when i get to this level i can trow as many tomahawks as i want (if i use the left mousebutton) if i use the "grenadebutton" i can only throw one. Also, if i get killed, i only can throw 3.
Same problem with grenades. Can someone help?
Thanks in advance.
PS. I also want to add a line of text after 4 weapons, that tells people the reached a new weaponcategorie. I havent found anything good on the site, maybe i use it wrong?
do something with self currentammo for the offhand nade and do == self maxammo something like that, you will get infinite ammo also make it into a loop so it doesnt stop when you die
Posts: 101
Threads: 9
Joined: Jun 2011
Reputation:
2
Can i place that also in gun.gsc?
Posts: 916
Threads: 65
Joined: Jun 2011
(08-12-2011, 15:11)Dountill Wrote: Can i place that also in gun.gsc?
hum if its in your mod folder probably, but make sure if you make a new thread for it that you execute it
Posts: 101
Threads: 9
Joined: Jun 2011
Reputation:
2
and how about the messages?
Posts: 916
Threads: 65
Joined: Jun 2011
(08-12-2011, 16:59)Dountill Wrote: and how about the messages?
I dont really understand what you want to do sorry
Posts: 101
Threads: 9
Joined: Jun 2011
Reputation:
2
(08-12-2011, 17:39)Scripts18 Wrote: (08-12-2011, 16:59)Dountill Wrote: and how about the messages?
I dont really understand what you want to do sorry
I want to give the players a textmessage after a sertain amount of kills. I dont understand how
Posts: 916
Threads: 65
Joined: Jun 2011
(08-12-2011, 18:00)Dountill Wrote: (08-12-2011, 17:39)Scripts18 Wrote: (08-12-2011, 16:59)Dountill Wrote: and how about the messages?
I dont really understand what you want to do sorry
I want to give the players a textmessage after a sertain amount of kills. I dont understand how
oh that, do a for that follow how many kills he has done (iAegle had made something similar for me) and when it hits the number, it show the text however the text must have a wait after or else it will spam it continously until the number of kills change
Posts: 101
Threads: 9
Joined: Jun 2011
Reputation:
2
(08-12-2011, 18:15)Scripts18 Wrote: (08-12-2011, 18:00)Dountill Wrote: (08-12-2011, 17:39)Scripts18 Wrote: (08-12-2011, 16:59)Dountill Wrote: and how about the messages?
I dont really understand what you want to do sorry
I want to give the players a textmessage after a sertain amount of kills. I dont understand how
oh that, do a for that follow how many kills he has done (iAegle had made something similar for me) and when it hits the number, it show the text however the text must have a wait after or else it will spam it continously until the number of kills change
It want to use it in a gungame, so i doesnt have to count the kill, but will come after the last addguntoprogression statement i think ? What command do i use?
Only:
PHP Code: self.someText = self createFontString( "Objective", 1.5 ); self.someText setPoint( "CENTER", "CENTER", "CENTER", "CENTER" ); self.someText setText( "^2You are going to the next guns!" );
Doesnt work...
Posts: 916
Threads: 65
Joined: Jun 2011
(08-12-2011, 18:19)Dountill Wrote: (08-12-2011, 18:15)Scripts18 Wrote: (08-12-2011, 18:00)Dountill Wrote: (08-12-2011, 17:39)Scripts18 Wrote: (08-12-2011, 16:59)Dountill Wrote: and how about the messages?
I dont really understand what you want to do sorry
I want to give the players a textmessage after a sertain amount of kills. I dont understand how
oh that, do a for that follow how many kills he has done (iAegle had made something similar for me) and when it hits the number, it show the text however the text must have a wait after or else it will spam it continously until the number of kills change
It want to use it in a gungame, so i doesnt have to count the kill, but will come after the last addguntoprogression statement i think ? What command do i use?
Only:
PHP Code: self.someText = self createFontString( "Objective", 1.5 ); self.someText setPoint( "CENTER", "CENTER", "CENTER", "CENTER" ); self.someText setText( "^2You are going to the next guns!" );
Doesnt work...
self printLnBold ("text here");
|