kills for money

  • Thread starter Thread starter fieldtrip25
  • Start date Start date
F

fieldtrip25

Guest
how do i make it give 25 ore to a plyer any time they kill 1 ling
right now i have

current player kills at least one zergling
give current player 25 ore
preserve trigger

but that makes it start giving them ore constantly
as soon as they kill a ling

i want it to give 25 ore for every one ling killed
 
There is a way.. I've done it before, but sadly ive forgotten :( ...I just ran a few tests of some ideas and they didnt work.. I would say to just make multiple triggers.
 
I have used that idea numerous times on several maps, and have used the same trigger every time with satisfactory results:
For the sake of example, Ill make Player 1 Human controlled, and Player 2 Computer Zerg.

CONDITION
Player 2 suffers at least 1 deaths of Zergling
ACTION
Modify resources for Player 1: Add 25 Ore
Modify death count for Player 2: Subtract 1 for Zergling
Preserve Trigger


Again, I use the Set Deaths trigger for everything without fully understanding how it works, I just know it does because Ive used it over and over for different things.
The only drawback for this trigger is if you have multiple Human players, in which case you would change the 'Modify Resources' trigger to 'Current Player' instead of 'Player 1', it tends to give the resources for kills made by other players to player 1. I still havent been able to figure another way to do this for multiplayers, but it works excellent for single player.
 
Im pretty sure i tested that idea last night =/. It didn't work but maybe i didnt test exactly that, so give it a try ;)
 
Ore

Its very simple...go to object editor and where there is Bounty Awwared-Base put how much gold for the kill:o
 
err sorry guys, he escaped from my forum when I wasn't looking, I'm taking him back now :-)
 
Try making 2 trigs: the 1st one says, when p1 kills a ling, turn "ling" switch on. the 2nd one says, if switch "ling" is on, give p1 25 minerals
 
o yeah, and the 2nd trig also turns the "ling" switch off
 
That will only work one time if you do it that way. You have to have the preserve trigger function on or the trigger will just work the first time the condtion happens. Only way it works is if you use the kill counter function or type in a "add minerals" action everytime someone kills a guy, which would take forever unless you are using multiples of a high number. Look at the Matrix Line games where it is done perfectly, they have a kill counter so every death of the oposition you get 5 minerals.
 
Am not...
did you read Ilendil new forum rules thing? It says don't post anything that could go unsaid or whatever...
I just wanna be the last poster on every thread..
 
Not today:).

Did we ever figure this problem out? I tried one of the ways and the money just kept increasing even though I was not killing anything. I will try it again, but I thought I had it put in the right way.
 
Ya just read the post and we never figured out how to give minerals to the player that kills the guy in a multiplayer game. All Term did was give us a way to make it work for 1 player, which is not something that is very useful in a multiplayer game. I looked at the Matrix Bullet games and they have it as

Con

Cp kills at least 1 any unit



Actions

Modify Death count for Cp: sub 1 any unit
Modify Resources: Add 5 minerals
Preserve trigger


Thing is though I tried that and it just kept going on and on, also the trigger was for players 1-6. I am trying to find if I missed something else or I have something added to mine that is not making it work. I am also looking through all my maps to see if there is another trigger like the one we need that works for multiplayer.
 
Originally posted by Terranator3
I have used that idea numerous times on several maps, and have used the same trigger every time with satisfactory results:
For the sake of example, Ill make Player 1 Human controlled, and Player 2 Computer Zerg.

CONDITION
Player 2 suffers at least 1 deaths of Zergling
ACTION
Modify resources for Player 1: Add 25 Ore
Modify death count for Player 2: Subtract 1 for Zergling
Preserve Trigger


Again, I use the Set Deaths trigger for everything without fully understanding how it works, I just know it does because Ive used it over and over for different things.
The only drawback for this trigger is if you have multiple Human players, in which case you would change the 'Modify Resources' trigger to 'Current Player' instead of 'Player 1', it tends to give the resources for kills made by other players to player 1. I still havent been able to figure another way to do this for multiplayers, but it works excellent for single player.

That is not perfectly. He even says that it will mess up and give everyone kills in a multiplayer game as you can see from above. The thing is that making a single player game pretty much defeats the purpose of getting on the internet for a multiplayer game :).

Anyways I didn't want to waste more time trying to figure out a way to get it to work so I opted to just give people money once they reach so many kills and after each level. It is a little bit more work, but at least this way everyone will get money and not just those getting all the kills.
 
No I had a message typed out and posted it, but I realized I was on the wrong thread so since I couldn't delete my post I wrote that instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    How often does the Trending Content box refresh?
  • The Helper The Helper:
    Also, in the last template there was a seperation between sticky threads and regular threads in the forum
  • Ghan Ghan:
    Not sure. It's probably part of a cron job.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top