RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Dawn of War 2: Heretek Cabal > DoW2 Mods in Progress > DoW2 Completed Mods
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Reply
 
Thread Tools
Old 20th Feb 09, 3:51 PM   # 1
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

[SP-MOD] Make some dead bodies stay

Hello there,

got DoW2 today and heard that some people are crying for an option to let some of the dead bodies stay on the battlefield. Well. Here it is, my little modification. As said, not all of the corpses will stay - I didn't manage to do this, it's the same problem we had with Company of Heroes. Guess we can't really do something about it.

Interesting fact #356434: Corpses will more likely stay, if you don't watch while units die. Don't even TRY to ask me why!

This mod changes attrib-files! It's only for the singleplayer-part and doesn't change any of the files related to MP/skirmish! BUT IT WILL PREVENT YOU FROM JOINING MULTIPLAYER-GAMES WHILE IT IS ENABLED! (as long as the other players don't have the mod activated, too)

So, here we go:

Rapidshare Link

FileFront doesn't work for me. Feel free to add a link.

Installation instructions are included!

------------

How was this mod made?

I edited all the infantries' EBP-files with a hexeditor and changed "delete_when_dead" to false. To find this value in the file without understanding too much about this RBF stuff, search for the health-points (you can get hte hp-value via SGA-Reader by Corsix), then for the regeneration-value (as you can see in Corisx, the regeneration is not as unique as the health value but is just inbetween the health and the delete_when_dead-value) and now look for a hex-doubleword which looks like 1000 0000. Well, we now that "delete_when dead" is a bool, so the h-dword has to be changed to 0000 0000.
If you want to check, if you did everything the right way, just open up the RBF-file with the SGA-Viewer and check "health_ext"->"delete_when_dead"


Have fun with this little modification.

-cope.

EDIT, 22th of February, 5:05 am:

Here's a picture I made using this modification (and photoshop xD):


Last edited by Copernicus : 25th Feb 09 at 10:13 AM.
Copernicus is offline  
Old 20th Feb 09, 4:05 PM   # 2
Sebi
Banned
 
Sebi's Avatar
 
Join Date: Sep 2007
Location: Ze glorious nation of Finlandia

Very cool
Sebi is offline Send a message via MSN to Sebi  
Old 20th Feb 09, 4:06 PM   # 3
Shuma
Member
 
Shuma's Avatar
 
Join Date: Feb 2006
Location: /fsc/

Awesome, Thanks Copernicus. Dling now, will test it in MP later.
Shuma is offline  
Old 20th Feb 09, 4:08 PM   # 4
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Yeah, don't forget that you only have to test if MP still works, cause it's a singleplayer-only modification .
(Making a MP-version wouldn't be a problem, but then you could only play with people having this mod installed, too!)
Copernicus is offline  
Old 21st Feb 09, 7:12 AM   # 5
BL4zD
Member
 
BL4zD's Avatar
 
Join Date: Jan 2009

Will this work with coop? Or do we both need it for it to work?
BL4zD is offline  
Old 21st Feb 09, 7:15 AM   # 6
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

I guess that both persons need this, otherwise it might tell you that you have different versions of the game.
Copernicus is offline  
Old 21st Feb 09, 8:52 AM   # 7
Achronos-117
Member
 
Achronos-117's Avatar
 
Join Date: Apr 2008
Location: Officio Assassinorum

Interesting, I'll be testing this mod ASAP
Achronos-117 is offline  
Old 21st Feb 09, 1:18 PM   # 8
AlienHack
Member
 
AlienHack's Avatar
 
Join Date: Feb 2009

cool......
AlienHack is offline  
Old 21st Feb 09, 6:19 PM   # 9
dezztroy
Member
 
dezztroy's Avatar
 
Join Date: Mar 2006
Location: Sigtuna, Sweden

Great, thanks. If you don't mind me asking, what did you use to edit the RBF files?
dezztroy is offline  
Old 21st Feb 09, 7:05 PM   # 10
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Hex Editor Neo. Any other Hexeditor with the ability to search for floats would have fitted aswell.
Copernicus is offline  
Old 21st Feb 09, 7:12 PM   # 11
Insano-Man
Member
 
Insano-Man's Avatar
 
Join Date: Jan 2009
Location: Avalon, California

How bad would a ton of dead people affect performance with this installed? I run on a machine just barely passing the minimum in terms of processor and RAM, so this I don't want it crashing on me.
__________________
Insano-Man is offline  
Old 21st Feb 09, 7:40 PM   # 12
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Mhm, it gets me from 70fps to about 30, so it's quite alot.
Copernicus is offline  
Old 21st Feb 09, 8:54 PM   # 13
LochKopf
Member
 
Join Date: Jun 2008

and what is with the Blood ? can stay too ?
LochKopf is offline  
Old 21st Feb 09, 9:02 PM   # 14
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

No - and I don't think that it's possible at all.
Copernicus is offline  
Old 22nd Feb 09, 1:51 AM   # 15
z_h
Member
 
Join Date: Feb 2009

Thanks Copernicus. With your mod I actually made me an invincible FC running around in Primarch mode.
z_h is offline  
Old 22nd Feb 09, 6:12 AM   # 16
LochKopf
Member
 
Join Date: Jun 2008

Why ? It must be a timer for the Blood, but where is he ?

i mean the "black" Blood under the Dead Bodies.

please ! !!!!

edit: sry for my poor english
LochKopf is offline  
Old 22nd Feb 09, 6:43 AM   # 17
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Of course there is one - but tell me WHERE I can find it or even HOW to edit it. If this would be so easy, you could even do it yourself.
Copernicus is offline  
Old 22nd Feb 09, 6:46 AM   # 18
LochKopf
Member
 
Join Date: Jun 2008

when i understand more the SGA Reader, i would help you. ^^


i search in gameattrib and DELTA and i found something with BLOOD

but i understand the text not
LochKopf is offline  
Old 22nd Feb 09, 12:11 PM   # 19
Ludovsky
Member
 
Join Date: Apr 2008
Location: French Canadia, aka: Quebec

Quote:
Thanks Copernicus. With your mod I actually made me an invincible FC running around in Primarch mode.


... you do know that's exactly the kind of thing that could causes Microsoft to /exactly/ put pressure on Relic to lockdown the game even more to prevent players from using this to "cheat" their way through achievement gathering to get higher so-called gamerscores?

... granted, it depends if this block achievement gathering or not. If this doesn't... well, frankly, I'd have a hard time not seeing Microsoft putting pressure on Relic to make sure the achievement scores can't be cheated this way... even if at the cost of any future modding support.
__________________
"The one who stop trying to better himself at something already stop being good at it at all".
-Anonymous
Ludovsky is offline  
Old 22nd Feb 09, 4:13 PM   # 20
supr3mekill3r
Member
 
supr3mekill3r's Avatar
 
Join Date: Sep 2008

Thanks for releasing this so fast.


Quote:
Quote: Thanks Copernicus. With your mod I actually made me an invincible FC running around in Primarch mode. ... you do know that's exactly the kind of thing that could causes Microsoft to /exactly/ put pressure on Relic to lockdown the game even more to prevent players from using this to "cheat" their way through achievement gathering to get higher so-called gamerscores? ... granted, it depends if this block achievement gathering or not. If this doesn't... well, frankly, I'd have a hard time not seeing Microsoft putting pressure on Relic to make sure the achievement scores can't be cheated this way... even if at the cost of any future modding support.


Great way for them to waste time and money, seeing as how achievements do nothing in the first place but waste peoples time trying to get them...
supr3mekill3r is offline  
Old 23rd Feb 09, 7:30 AM   # 21
Ludovsky
Member
 
Join Date: Apr 2008
Location: French Canadia, aka: Quebec

Perhaps. And maybe most players won't care. But sadly they're Microsoft's property and system so to speak. Big companies like that don't like third party content that could "mess with their stuff". That's the problem.
Ludovsky is offline  
Old 23rd Feb 09, 9:13 AM   # 22
Grimdark
Member
 
Grimdark's Avatar
 
Join Date: May 2008

Cheating was, and always will be. Start to live with it.
Grimdark is offline  
Old 23rd Feb 09, 12:59 PM   # 23
Oxyminoan
Member
 
Join Date: Jan 2009

Thank you so much for this mod. The game just isn't as epic without you being able to stand on the 100s of corpses of your enemies.

It made the last mission just that much better.

Oxyminoan is offline  
Old 23rd Feb 09, 1:05 PM   # 24
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Woah, THAT's what I call a massacre! It's a lot of fun to make such a mod if the feedback is so positive!
Copernicus is offline  
Old 23rd Feb 09, 1:24 PM   # 25
supr3mekill3r
Member
 
supr3mekill3r's Avatar
 
Join Date: Sep 2008

I'd like to try this in skirmish but at the moment I don't know a thing about hex editing
supr3mekill3r is offline  
Old 23rd Feb 09, 1:34 PM   # 26
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Then it now it's your time to learn to edit with hex-editors. Just search for the health-value as a float and look for something like "1000 0000" somewhere right near the value you found. Change it to "0000 0000". good luck.
Copernicus is offline  
Old 23rd Feb 09, 3:56 PM   # 27
Oxyminoan
Member
 
Join Date: Jan 2009

Just to let you know, it interferes with Multiplayer...which is a shame.

Had to revert back in order to join my friends.
Oxyminoan is offline  
Old 23rd Feb 09, 11:30 PM   # 28
Vertrucio
Member
 
Join Date: Oct 2007

I'm sure Relic will put such a feature in eventually, they did with DoW1. The issue here is they're already dealing with memory leaks in the code, so they should probably deal with that first before adding more memory use on top of it. Thankfully, these corpses are static, which should work well with things like vertex shaders and the like.
Vertrucio is offline  
Old 24th Feb 09, 4:59 AM   # 29
sardaukar69
Member
 
Join Date: Mar 2008
Location: Graz, Austria

Cool mod. Relic should have left the option to choose persistent bodies in the game.
sardaukar69 is offline  
Old 24th Feb 09, 7:10 AM   # 30
Ludovsky
Member
 
Join Date: Apr 2008
Location: French Canadia, aka: Quebec

Quote:
Cheating was, and always will be. Start to live with it.


I can live with it. The problem is, can /Microsoft/ live with it? And if it can't, will it be at the cost of /any/ possible future official mod support due to pressure they could make on Relic?

That's the point I'm trying to raise.
Ludovsky is offline  
Old 24th Feb 09, 7:12 AM   # 31
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Could you please discuss this somewhere else? This has nothing to do with the mod, 'cause the mod is NO cheat at all and I don't want anybody outthere to think it is. Thank you.
Copernicus is offline  
Old 24th Feb 09, 7:37 AM   # 32
RayvenQ85
Member
 
Join Date: Dec 2008

Quote:
Don't even TRY to ask me why!


Simple, it's governed by the universal law that applies to buses, they'll never turn up while you look, but the moment you turn your back three show up at once
RayvenQ85 is offline  
Old 25th Feb 09, 10:07 AM   # 33
TheWickedGerman
Member
 
TheWickedGerman's Avatar
 
Join Date: Feb 2008
Location: On his Castle(No, not Wolfenstein)

I just want to let you know that you can´t join MP with this mod, all games were greyed out for me.
__________________
Humppa!
TheWickedGerman is offline  
Old 25th Feb 09, 10:14 AM   # 34
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

Thank you for the information. Added this.
Copernicus is offline  
Old 27th Feb 09, 12:02 PM   # 35
noname
Member
 
Join Date: Feb 2009

thx for this !!!
but i'm still seeing tacticals marines deleted...
scout marines stay dead, but not tacticals marines, can you fix that please?

thx a lot !!!
noname is offline  
Old 27th Feb 09, 1:28 PM   # 36
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

I'm quite sure that they stay as well. Please notice that not all of the dying troops will remain on the battlefield.
Copernicus is offline  
Old 4th Mar 09, 6:02 PM   # 37
newcomer
Member
 
newcomer's Avatar
 
Join Date: May 2008

nice mod! its nice to have a huge pile of orks lying around if you like to play defense maps. On a side note, i think the reason why bodies dont allways stay is because ragdoll bodies, from what i noticed, dont seem to stay, ever. perhaps disabling ragdoll deaths may fix this
__________________
"Airborne, death from above"
newcomer is offline  
Old 5th Mar 09, 4:36 AM   # 38
Valtonis
Member
 
Join Date: Feb 2009

it sucks that you have to go into each an every single file to change true to false.
i am going insane and i am just halfway through orks and haven't even started on Tyranids yet.
Valtonis is offline  
Old 5th Mar 09, 7:26 AM   # 39
Nellum
Member
 
Nellum's Avatar
 
Join Date: Mar 2009

thank you it's cool~
Nellum is offline  
Old 9th Mar 09, 10:36 AM   # 40
duffbeer
Member
 
duffbeer's Avatar
 
Join Date: Jun 2008

hahah it actually works, this is SO much better!!
__________________
I'll change my avatar to something DOW2 when they finally fix the error 183 crash, eat that!
duffbeer is offline  
Old 15th Mar 09, 4:36 PM   # 41
Yamaeda
Member
 
Yamaeda's Avatar
 
Join Date: Dec 2007

Can you limit how many/how long the corpses stay? I love the fact they'll litter the field, but after a couple hundred corpses the best of computers will get hick ups.

/Y
Yamaeda is offline  
Old 15th Mar 09, 4:49 PM   # 42
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

I guess that this is not possible (although there's a field called "death_time" which doesn't seem to change anything).
__________________
I'm not a native speaker, English is not my mother-tongue - but at least I'm trying to write my posts in a correct English, including using capital-letters and apostrophes. Please do so, too. PLEASE!
Cope's Defense Mod for Dawn of War II
Copernicus is offline  
Old 16th Mar 09, 3:29 AM   # 43
supr3mekill3r
Member
 
supr3mekill3r's Avatar
 
Join Date: Sep 2008

Opening the ebps files for all the infantry and changing "death_seconds: 10" to "death_seconds: 120" will change how long corpses remain from 10 seconds to 2 minutes.

Will keep the effect, but save you alot of performance later on.
__________________
supr3mekill3r is offline  
Old 16th Mar 09, 10:35 AM   # 44
Copernicus
Member
 
Copernicus's Avatar
 
Join Date: Sep 2006

So this works? I always thought that it didn't change anything at all as changing it to -1 didn't work.
Copernicus is offline  
Old 17th Mar 09, 12:13 AM   # 45
27X
Member
 
Join Date: Mar 2009

Can anyone put up a link for skirmish?
27X is offline  
Old 17th Mar 09, 11:11 AM   # 46
supr3mekill3r
Member
 
supr3mekill3r's Avatar
 
Join Date: Sep 2008

Heres a tip on how to save alot of time, however this only works with the rbf to text converter tools by corsix and theendlessgray, not with hex files.

Download notepad++

Open all ebps/troops files at the same time with that program.

Press control + H and do a search for "delete_when_dead: true"

Enter "delete_when_dead: false" in the replace option.

Click replace in all files.

It will change that code in all of the files instantly.

That will save you alot of time. Note that this only really works if the code is the same in all files as it is in this case. This will not work when changing say, the requisition cost of different units, because all the values are different.

Also works with the "death_seconds: 10" because all of the infantry use the same value for that. So if you want bodies to remain temporarily, do the same thing and change that to a higher value such as 60 or 120.
supr3mekill3r is offline  
Old 17th Mar 09, 1:31 PM   # 47
27X
Member
 
Join Date: Mar 2009

Has anyone tried extending the death time to a ridiculous amount to see if that covers the ragdoll-bodies as well as the "offscreen" (nonragdoll) ones?
27X is offline  
Old 1st Apr 09, 1:13 AM   # 48
AlienHack
Member
 
AlienHack's Avatar
 
Join Date: Feb 2009

any chance of uploading a file that includes 1st: "delete_when_dead: false" and
2nd: "death_seconds: 120" or something....

i hate trying to hex edit my files..
AlienHack is offline  
Old 1st Apr 09, 2:27 PM   # 49
supr3mekill3r
Member
 
supr3mekill3r's Avatar
 
Join Date: Sep 2008

You don't really need to hex edit any RBF files anymore since theres an RBF to text converter, and a GUI version to make it faster.

http://forums.relicnews.com/showthread.php?t=216952
supr3mekill3r is offline  
Old 4th Apr 09, 3:47 PM   # 50
liniv
Member
 
liniv's Avatar
 
Join Date: Mar 2009
Location: sweden

hi how did you do this i want to do this for MP
__________________
My new mod site check it out and pleas registrate

http://liniv.nivren.se/
liniv is offline  
Reply



Go Back   RelicNews Forums > RDN - Relic Game Mods > Dawn of War 2: Heretek Cabal > DoW2 Mods in Progress > DoW2 Completed Mods
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 10:23 AM.

Page generated in 1.25848293 seconds (95.85% PHP - 4.15% MySQL) with 9 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.