Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Creation of Civilian Problem
Creation of Civilian Problem
Mar 7 2008, 8:36 am
By: Polantaris  

Mar 7 2008, 8:36 am Polantaris Post #1



Nevermind about this problem, I know what it is. I forgot that I had the game create Observers for everyone. I dont really know why my Civilian spawned anyway, weird. Either way, the problem is solved for the most part.



None.

Mar 7 2008, 9:12 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Make a simple trigger for every player:
Player 1
Condition:

Current Player brings at most 0 [men] to anywhere
Actions:
Create x Civ for Current Player at 'Civ P1' (x depends on how many civs you want to pawn)
preserve trigger

copy this trigger for every player and change the location accordingly.

Then you might like another trigger to spawn reward civs for kills: Be careful not to overdo the rewarding or you might destroy the balance.

Human Players
Condition:

Current Player has at least 1 kills score
Actions:
Set Kills Score for Current Player to 0.
Add 1 to reward DC for current player (reward dc is a death counter storing the kills)
preserve trigger

And a set of triggers, 1 for each player:

Player 1
Condition:

Current Player has suffered at least 5 deaths of reward DC
Actions:
Create 1 Civ for Current Player at 'Civ P1'
Subtract 5 deaths of reward DC for Current Player
preserve trigger




Mar 7 2008, 7:19 pm Polantaris Post #3



Well thats exactly the trigger I had, for the most part, I was confused as why it suddenly didn't work when I added my AI triggers when I posted this. About 1 minute later I realized the reason was that I also had added to create Observers for the players at the same time as I added the AI triggers, and as such it didn't create Civilians. But the part that made me not realize it at first was because it created one for me, but not for the computers.

Is there a way to certain units not count towards the Men count? Like, I want the player to have Observers, or some way to see the other players in case they are cloaked. At the moment I have the middle of the battlefield show with Map Revealers, but if you have a cloaked unit, you are an idiot (excluding the computer) if you send it into the middle for this reason.

Hmmm...would something like this work:
Condition:
Current Player has suffered at least 2 deaths of any unit
Actions:
Create 1 Civ for Current Player at 'Location'
Subtract 2 deaths of any unit for Current Player
Preserve Trigger

I haven't looked at SE for these triggers, but would something like that work? I have your Civilian die when you choose a beacon, and it is replaced by a unit. That's one death. When you die yourself, that's two. That way, I can keep the Observers for if you are getting you ass kicked by something cloaked XD.



None.

Mar 7 2008, 9:13 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Ah, good, your initial post just sounded confused "for the most part" so I decided to make clear what to do.

Yes, your deaths trigger would work. Just keep in mind that if you subtract men or any unit EACH unit belonging to the respective group will be subtracted by 2 counts. That may screw some death counters you may have.

Thus you should stick to men instead of any unit and take units like mineral junks or cantina for DCs to make sure they are not affected.




Mar 7 2008, 9:17 pm Polantaris Post #5



Yeah it doesn't even let me subtract Any Unit, only Men. After I subtracted Men I realized that Civilians dont count towards the Men Death counter, but it's all been fixed. Thanks for the help.



None.

Mar 7 2008, 9:25 pm NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Civs DO count to the men counter. But your civs are killed by triggers not in battle, that's why they don't add. Triggered kills never add to death counts.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: anoeth47