Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with nade/hatchet in GunGame
#1
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?

Reply

#2
(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
Reply

#3
Can i place that also in gun.gsc?
Reply

#4
(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
Reply

#5
and how about the messages?
Reply

#6
(08-12-2011, 16:59)Dountill Wrote: and how about the messages?

I dont really understand what you want to do sorry
Reply

#7
(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
Reply

#8
(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

Reply

#9
(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...
Reply

#10
(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");
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Android problem Yamato 12 8,170 04-25-2014, 04:49
Last Post: ScHmIdTy56789
  Problem with Rain Effects on Maps mitchhacker 5 4,860 10-22-2013, 00:46
Last Post: mitchhacker
  Preview Gungame Mod Howl3r 8 6,092 08-04-2013, 21:39
Last Post: Howl3r
  Help Liberation Problem Yamato 27 24,944 07-17-2013, 19:54
Last Post: feature
  [xna 4]Rendering problem narkos 9 5,935 07-03-2013, 19:00
Last Post: Nekochan
  Help Problem God plugin v4.0 4nonymous 1 2,727 06-22-2013, 23:25
Last Post: 8q4s8
  [Request] modded gungame for combat training ultimate 0 2,455 06-02-2013, 13:14
Last Post: ultimate
  Help Infected Shop Plugin Problem Hallla 2 3,156 05-06-2013, 18:29
Last Post: Hallla
  problem with gsc code CheGuevara 5 5,605 04-20-2013, 15:06
Last Post: Nekochan
  problem to connect to server s.j-rez 0 2,232 04-17-2013, 18:18
Last Post: s.j-rez

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.