View unanswered posts | View active topics It is currently Thu Apr 25, 2024 8:30 am



Reply to topic  [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
 Cash 4 Kills 
Author Message

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post 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
Profile WWW
A HUMAN BRAIN, SAFELY INSULATED FROM THE TERRORS OF HYPERSPACE
User avatar

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.
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 25, 2009 2:45 am
Posts: 346
Location: Funkytown
Reply with quote
Post 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
Profile

Joined: Tue Aug 26, 2008 2:21 am
Posts: 36
Reply with quote
Post 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
Profile
User avatar

Joined: Sat May 02, 2009 4:52 am
Posts: 254
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sun Dec 21, 2008 8:16 am
Posts: 293
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Cash 4 Kills
Dynamic numbers are kinda hard.


Mon Aug 24, 2009 1:18 am
Profile
User avatar

Joined: Fri Sep 14, 2007 9:52 pm
Posts: 304
Location: No.
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Fri Mar 13, 2009 2:31 am
Posts: 217
Location: Earth... I think
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.076s | 15 Queries | GZIP : Off ]