673f92cc1d81d

673f92cc1ec59
3 Guests are here.
 

Topic: problem with my mod Read 991 times  

673f92cc1f267
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.

673f92cc1f445voodoo47

673f92cc1f4a1
yeah, those settings need to be changed on the concrete.

673f92cc1f6e5ZylonBane

673f92cc1f738
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.

673f92cc1f804voodoo47

673f92cc1f856
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.

673f92cc1fa31voodoo47

673f92cc1fa81
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.
673f92cc1fb88
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.

673f92cc1fc44voodoo47

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

673f92cc1fe25voodoo47

673f92cc1fe73
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.
3 Guests are here.
The biggest unanswered question is: Where is the money?
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
673f92cc29486