Duke4.net Forums: Duke Plus Gore always? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Duke Plus Gore always?

User is offline   cj31387 

#1

Is there a way to set duke plus mod to make gore and jibs on every death including pistol kills or shotgun kills? Also how do you run to mods at the same time i kind of want to run dukeplus and attrition at the same time.
0

User is offline   Micky C 

  • Honored Donor

#2

You can't really run two mods at the same time. Maybe if a mod was a con module/mutator or whatever they're called, but most mods aren't made like that. Why do you want to run DukePlus and Attrition at the same time anyway? They're made by the same guy and would have a moderate amount of overlapping features.
0

User is offline   Danukem 

  • Duke Plus Developer

#3

I think what he really wants is Attrition, with some of the stuff from DukePlus that wasn't ported over to it. Attrition started with DukePlus as a base, I ripped a lot of stuff out and put a lot of stuff in. The stuff I ripped out (e.g. gravity gun, Muelsa's super trooper) is what he wants. But that's not going to happen. There were good reasons for taking the stuff out. The super trooper, for example, is a modeled enemy that I did not write the original code for -- it would have been awkward and difficult to merge that with the other Attrition badies and the various upgrades they have.
0

User is offline   cj31387 

#4

How about making the jibs gore explode on every enemy death even pistols and shotguns? Is there a way to set duke plus to do that?
0

User is offline   Danukem 

  • Duke Plus Developer

#5

View Postcj31387, on 31 May 2016 - 03:00 AM, said:

How about making the jibs gore explode on every enemy death even pistols and shotguns? Is there a way to set duke plus to do that?


There is no setting for that. You would have to edit the code. The easiest way would be open the file MONSTERPLUS.CON in the dpcons folder, then find the first instance of "state monsterai". Right below the line "state monsterai" insert the line "ifvare sprite[THISACTOR].htpicnum SHOTSPARK1 setactor[THISACTOR].htpicnum RPG"

That will tell every monster that if it is hit by a bullet, to act like it was hit by a rocket.
1

User is offline   cj31387 

#6

View PostTrooper Dan, on 31 May 2016 - 10:03 AM, said:

There is no setting for that. You would have to edit the code. The easiest way would be open the file MONSTERPLUS.CON in the dpcons folder, then find the first instance of "state monsterai". Right below the line "state monsterai" insert the line "ifvare sprite[THISACTOR].htpicnum SHOTSPARK1 setactor[THISACTOR].htpicnum RPG"

That will tell every monster that if it is hit by a bullet, to act like it was hit by a rocket.


Ok thanks alot :) !
That worked for pistols but not shotguns. What would it take to get shotguns working?

This post has been edited by cj31387: 31 May 2016 - 10:04 PM

0

User is offline   Danukem 

  • Duke Plus Developer

#7

View Postcj31387, on 31 May 2016 - 09:59 PM, said:

Ok thanks alot :) !
That worked for pistols but not shotguns. What would it take to get shotguns working?


I'm not sure why that didn't work, but try changing that line I gave you earlier. It will be simpler so it shouldn't matter what kind of weapon you hit with:

setactor[THISACTOR].htpicnum RPG

If the monster takes any kind of damage, that should change it to RPG damage type.
0

User is offline   cj31387 

#8

View PostTrooper Dan, on 01 June 2016 - 02:05 AM, said:

I'm not sure why that didn't work, but try changing that line I gave you earlier. It will be simpler so it shouldn't matter what kind of weapon you hit with:

setactor[THISACTOR].htpicnum RPG

If the monster takes any kind of damage, that should change it to RPG damage type.


Yah that worked the problem was i put the line you first gave me into ifvarg peractor6 0 { } instead of directly below state monsterai. Thanks this is awesome!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options