Sacrifice?

HalosNTariff

New Member
Reaction score
13
Hi, I'm making a map in which it is possible to play as demons.

However I intend to make it so that demon players will have to use 'tortured souls' to produce the majority of their units, these souls having come from sacrificed 'slaves'. I figured I could use the undead sacrifice ability to turn slaves into souls but I cannot see a feild to alter which will change the units involved.

Also, how would I go about making souls into demons? Is it possible for me to make a building which can store souls only and the number of souls in the building determines the type of units you can create? If so how?

Thanks in advance.
 

LightChaosma

New Member
Reaction score
60
2. whenever you want to buy a unit, count the number of souls owned by buying player. if that number is greater than the cost, kill X souls, and create a unit
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
You could also use the resources to keep count. Whenever you sacrifice a slave you get a lumber(Which you can change in game constants or something) You could also make it create a tortures soul every time you sacrifice. Then when you do a new demon you could kill the amount of souls needed. It'd make a nice visual effect.
 

duderock101

Check out my 2 Player Co-op RPG!
Reaction score
71
You could actually try and keep the acolyate, mabye create a custom unit off the acolyte and change model and stats and then see if that will work?
 

HalosNTariff

New Member
Reaction score
13
Regretably I cannot change the lumber to souls as I have other races available who still use lumber...unless it is possible to change lumber for only one person?

I've had an idea as to how to create the souls, If I set slaves point value to something obscure and then set a trigger so that whenever a unit with that point value dies a soul is spawned. However how would I get the soul to spawn at the spot where the unit dies? I recall that there is a way but I cannot remember what it is...

Then I still need a way of applying different levels of souls to different units...

Thanks
 

Samael88

Evil always finds a way
Reaction score
181
If you use point value as you said you can use the level of the units to check how many souls it should produce.


Here is how to get the souls to spawn where the slaves die:
Code:
Event
A Unit Dies

Conditions
Unit is a slave

Actions
Set A = Position of dying unit
Create 1 Soul at A facing...
Custom Script: call RemoveLocation(udg_A)

A is a point variable.
call RemoveLocation(udg_A)
They are there to remove the leak being created when using a create unit at POINT function. It is called a point-leak and is EVIL.

udg= User Defined Global, this means that you have used the variable editor to create the variable.
A is just the name of the variable.
It can be this to: call RemoveLocation(udg_TempPoint)
as long as the variables name is after the "udg_"
 

Faust

You can change this now in User CP.
Reaction score
123
There are two sacrifice skills I think. Check everything on Shade, and Sacrificial Pit
 

TechGeek001

New Member
Reaction score
3
I don't have WE open at the moment, but wouldn't you have to send all those souls to a certain other unit to be sacrificed?
What I'd do is control 'em all via triggers.
Player owns 5 souls -> kill every unit matching Soul -> create 1 <unit> at <point>.
Needless to say I'm in the middle of a coffee shop with no WE open.
 

HalosNTariff

New Member
Reaction score
13
Thanks everyone, I have most of the triggers working now.

I have dropped the sacrificial altar unit as it was causing me to get fatal errors, so instead now whenever you kill a Slave you have a 50% chance of a Soul appearing on the corpse.

However I'm now having problems with using souls to create units. I have made a test trigger using voidwalkers:

Player One Voidwalker
Events
Unit - A unit owned by Player 1 (Red) Begins training a unit
Conditions
(Trained unit-type) Equal to Voidwalker
Actions
Set TorturedSoul = (Units owned by Player 1 (Red) of type Tortured Soul)
Set NoSouls = (Number of units in TorturedSoul)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NoSouls Greater than 2
Then - Actions
Unit - Order (Picked unit) to train/upgrade to a Voidwalker
Unit - Kill (Random unit from TorturedSoul)
Unit - Kill (Random unit from TorturedSoul)
Else - Actions
Game - Display to Player Group - Player 1 (Red) the text: Not enough Tortured...
Unit - Remove (Last created unit) from the game

However there are several problems with this, firstly it doesn't seem to prevent voidwalkers from being trained even if there are not enough souls (2 in this case.) Secondly I'm sure that there is a better way to remove Tortured Souls than killing them one by one but I can't find it. Finally when there are two tortured souls left then those two are not destroyed if I summon a futher voidwalker. Does anybody know how to fix these points?

Thanks in advance.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top