http://forums.relicnews.com/showthread. ... -up-in-PvP
Here is the link to my post on the relic forums. Any help is appreciated.
Help in allowing wargear pick up in PvP
- Black Relic

- Posts: 846
- Joined: Mon 29 Jul, 2013 3:05 am
- Location: United States
- Contact:
Help in allowing wargear pick up in PvP
"...With every strike of his sword, with every word of his speech, does he reaffirm the ideals of our honored master..." -From the Teachings of Roboute Guilliman as laid down in the Apocrypha of Skaros. Space Marines Codex pg. 54
Re: Help in allowing wargear pick up in PvP
For a moment I thought you mean't a system similar to COH 2's RNG wargear dropping. Thankfully tht sin't what you're doing
Though a Force Commander with a heavy bolter...
Though a Force Commander with a heavy bolter...The internal battery has run dry, the game can now be played. However, clock based events will no longer occur.
- Black Relic

- Posts: 846
- Joined: Mon 29 Jul, 2013 3:05 am
- Location: United States
- Contact:
Re: Help in allowing wargear pick up in PvP
I actually might need to do that for what i want to accomplish. I found out that the wargear drops I want to use is actually found in wargear on cope. These drops are power req and more that i want to utilize. I don't want weapons dropped and units pick them up. These drops will be either a small buff for a time to extra resources. Since its going to imitate supply lines and how your opponent can seek around and try to steal your resources by shooting and grabbing whatever the crates drop. And i also might be able to add in territory which will effect upgrade times. Like neutral will be normal time, friendly; 5 seconds off or enemy; which will add another 5 seconds or something. idk it will come later if i get that working.
Any who, by chance does anyone know of a way i can have the wargear drop for a death action? Because that's the only way i can see it working. Is forcing the wargear to spawn since i toke away the valid_campaign thing but that didn't work...thanks.
Any who, by chance does anyone know of a way i can have the wargear drop for a death action? Because that's the only way i can see it working. Is forcing the wargear to spawn since i toke away the valid_campaign thing but that didn't work...thanks.
Last edited by Black Relic on Tue 17 Feb, 2015 6:22 pm, edited 1 time in total.
"...With every strike of his sword, with every word of his speech, does he reaffirm the ideals of our honored master..." -From the Teachings of Roboute Guilliman as laid down in the Apocrypha of Skaros. Space Marines Codex pg. 54
- Wise Windu

- Posts: 1190
- Joined: Sat 14 Sep, 2013 2:22 am
Re: Help in allowing wargear pick up in PvP
Well it seems like they reference "boss", "mini_boss" and "chaff" tags. Not sure what those reference though. It doesn't seem like any of the ebps units have that unit type. I've seen boss and chaff referenced in scar files, so maybe check some of those out. Some of the units in the Last Stand scar files (encounters.scar) have "chaff" unitTags, and you could probably find the tags in some of the campaign scar files as well. There are also _boss scar files for some campaign missions (e.g. intothehive_boss.scar).Black Relic wrote:Any who, by chance does anyone know of a way i can have the wargear drop for a death action?
Found "chaff" referenced in a bunch of other campaign scar files as well
Re: Help in allowing wargear pick up in PvP
Boss-marked units are typically end-of-scenario bosses with a health-bar. Minibosses are anything between that and a regular grunt (so something like a secondary-objective patterned Carnifex or similar, or even just elite units).
Chaff is pretty much everything else. All units that aren't a boss or miniboss are chaff.
There are two ways to assign drops in SP. SP grants wargear drops on death as a part of a loot / rarity pool per kill. Hence the boss, miniboss and chaff ratios. The second way involves using SCaR to allocate an entity (i.e. wargear drop) after a particular game event (both of the wargear drops in the first vDoW II mission are done this way, as they're never randomised and always drop at the same points), which is probably safer for MP modding.
Chaff is pretty much everything else. All units that aren't a boss or miniboss are chaff.
There are two ways to assign drops in SP. SP grants wargear drops on death as a part of a loot / rarity pool per kill. Hence the boss, miniboss and chaff ratios. The second way involves using SCaR to allocate an entity (i.e. wargear drop) after a particular game event (both of the wargear drops in the first vDoW II mission are done this way, as they're never randomised and always drop at the same points), which is probably safer for MP modding.
Re: Help in allowing wargear pick up in PvP
For scar you could use World_DropWargearAtPosition() or World_DropWargearWithoutOwnerAtPosition(), eg
Just make the scar call from death_actions or GE_SquadKilled event (check skirmish.scar) if you want it dropped on death.
Code: Select all
World_DropWargearWithoutOwnerAtPosition(my_wargear, Squad_GetPosition(my_target))Just make the scar call from death_actions or GE_SquadKilled event (check skirmish.scar) if you want it dropped on death.
Who is online
Users browsing this forum: No registered users and 0 guests


