Author |
Message |
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
 Re: Cash 4 Kills
In the Lua file where it says "CurrentF +100" Just change 100 to whatever you like.
|
Tue Aug 18, 2009 2:50 am |
|
 |
Dauss
A HUMAN BRAIN, SAFELY INSULATED FROM THE TERRORS OF HYPERSPACE
Joined: Sun Jan 28, 2007 8:54 pm Posts: 1070 Location: Somewhere beyond the endless sea of hyperspace, fighting for your right to call a planet home.
|
 Re: Cash 4 Kills
Zalo, when I made this concept a long time ago in mod making, everyone told me it was a shitty idea, and you are getting showered with praise for it here.
HOW DO YOU DO IT?
Anyways, as aforementioned, I liked the idea then and I like it now.
|
Wed Aug 19, 2009 5:14 pm |
|
 |
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
 Re: Cash 4 Kills
Dauss wrote: Zalo, when I made this concept a long time ago in mod making, everyone told me it was a shitty idea, and you are getting showered with praise for it here.
HOW DO YOU DO IT?
Anyways, as aforementioned, I liked the idea then and I like it now. function postmod() if username == zalo then for user on DRLFF.Users do downloadcount = downloadcount + 1; user:PostGenericPraise(true); end else self:BuryMod(); end end
|
Wed Aug 19, 2009 10:27 pm |
|
 |
Scope0
Joined: Wed Feb 25, 2009 2:45 am Posts: 346 Location: Funkytown
|
 Re: Cash 4 Kills
Good one, Grif. Zalo's previous mod are good (as this one too), therefor people assume this is also good. If people begin praising it, other members join in as it must be good - ceating sort of a bandwagon effect.
Dont get me wrong now, I love Zalo and all of his mods.
|
Thu Aug 20, 2009 2:37 pm |
|
 |
MidnightMuffin
Joined: Tue Aug 26, 2008 2:21 am Posts: 36
|
 Re: Cash 4 Kills
This mod gives CC a tower defense element when paired with the Darkstorm Higos.
Bad idea not to have at least a sniper clone.
|
Sun Aug 23, 2009 4:20 am |
|
 |
Point.blank
Joined: Sat May 02, 2009 4:52 am Posts: 254
|
 Re: Cash 4 Kills
Yes, it does. Now to modify it to suit my own nefarious purposes MUAHAHAHA!!!
Err, back on topic. It's the kind of fun only sparkle magic can provide, but it would be nice if it could dish out different amounts of gold depending on what you kill. There isn't a practical way of doing this, is there?
|
Sun Aug 23, 2009 6:42 am |
|
 |
Sixteen
Joined: Sun Nov 25, 2007 6:29 am Posts: 400
|
 Re: Cash 4 Kills
Is there a way to change the gold gained to the gold cost of the thing killed?
|
Sun Aug 23, 2009 7:32 am |
|
 |
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
 Re: Cash 4 Kills
Change Code: ActivityMan:GetActivity():SetTeamFunds(CurrentF + 100, self.Team); to Code: ActivityMan:GetActivity():SetTeamFunds(CurrentF + Actor.GoldCost, self.Team);
|
Sun Aug 23, 2009 8:13 am |
|
 |
deathbringer
Joined: Sun Dec 21, 2008 8:16 am Posts: 293
|
 Re: Cash 4 Kills
411570N3 wrote: ActivityMan:GetActivity():SetTeamFunds(CurrentF + Actor.GoldCost / 2, self.Team);
That's possible with lua? I don't think we should get the full gold value of the actor but only half of it. Also is there a way to make it show the real gold value instead of +100 all the time?
|
Mon Aug 24, 2009 12:32 am |
|
 |
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
 Re: Cash 4 Kills
Dynamic numbers are kinda hard.
|
Mon Aug 24, 2009 1:18 am |
|
 |
Raintail99
Joined: Fri Sep 14, 2007 9:52 pm Posts: 304 Location: No.
|
 Re: Cash 4 Kills
Yes! This is awesome! I have no complaints what so ever. The OP was pretty cool. Then again, zalo always has good intro's.
|
Mon Aug 24, 2009 1:23 am |
|
 |
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
 Re: Cash 4 Kills
deathbringer wrote: ActivityMan:GetActivity():SetTeamFunds(CurrentF + Actor.GoldCost / 2, self.Team); That's possible with lua? No actually Lua isn't capable of division sorry And it's not Actor, it's actor, at least in the universally accepted heading for for loops.
|
Mon Aug 24, 2009 1:41 am |
|
 |
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
 Re: Cash 4 Kills
I was able to use division in some of my code. Even if not, you can do actor.GoldCost * 0.5
Also, I agree that this should be done. You should get more gold for killing an enemy's Heavy Browncoat than their crab.
(Sorry for the bump)
Grif was kidding.
derp? I see it now.
Last edited by CrazyMLC on Wed Sep 30, 2009 4:15 am, edited 2 times in total.
|
Sun Sep 27, 2009 4:32 pm |
|
 |
ZevN47
Joined: Fri Mar 13, 2009 2:31 am Posts: 217 Location: Earth... I think
|
 Re: Cash 4 Kills
Honestly... This is cool enough to be a default game mode! Great Job Zalo
|
Wed Sep 30, 2009 3:59 am |
|
 |
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
 Re: Cash 4 Kills
Well, I'd be shooting people in the head and killing them instantly and getting no money... so I made a new script. I can't test it because I can't use my computer right now, but here it is. http://pastebin.com/m37d05d96
|
Fri Oct 02, 2009 8:30 pm |
|
 |
|