665c2d2681e80

665c2d2682bea
1 Guest is here.
 

Topic: problem with my mod Read 631 times  

665c2d268321b
so i made a gamesys mod and changed a bunch of variables and the mod is working correctly except for just one setting. but i know the games loading my mod because all of the other changes are correctly implemented. the one change that isnt working is with the naturally occurring midwives across the game. the strange thing is, when i summon a midwife, my change is implemented... it only doesnt work on the midwives that occur naturally in the game world. the change is the velocity of their shot... any clues as to how to fix this? i was going to attempt a dml but i dont see it working anyways as the game is clearly detecting my change, just not applying it to the correct midwives.

665c2d2683399voodoo47

665c2d26833e7
yeah, those settings need to be changed on the concrete.

665c2d26835d7ZylonBane

665c2d2683624
Class definitions in the Dark Engine are called abstracts, and instantiated classes are called concretes. Abstracts have negative object IDs. Concretes have positive object IDs.

665c2d26836d4voodoo47

665c2d268371e
basically, you need to edit the midwife that already exists in the mission manually and set the values to match your gamesys. not all properties will get inherited from the gamesys, and projectile velocity is one of them.

665c2d2683937voodoo47

665c2d2683984
you need to open the map, find the midwife, select it, and edit the projectile link. alternatively, you can write scripts that will do this automatically upon level start, but you really need to know what you are doing if you want to go that way.

also, I hope you didn't edit your gamesys without having a level loaded, that will break things.
665c2d2683a71
thats really weird because all of my other moster projectile edits worked im pretty sure... am i wrong? or is it just the midwife thats doing this? this is pretty confusing.

665c2d2683b13voodoo47

665c2d2683b60
anyone who already has a projectile link will have to be edited manually. melee guys should be fine.
665c2d2683c5e
this only applies to all of the projectile properties but not anything under the monster right?

665c2d2683d13voodoo47

665c2d2683d5d
this applies to all properties* that are already set on the concrete. whatever already exists on the concrete, will override the value that is set on its archetype.


*there might be exceptions, but nothing comes to mind right now.
1 Guest is here.
Nobody likes you, everyone left you, They're all out without you, having fun...
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
665c2d2684a7c