673f8f0980439

673f8f09815be
1 Guest is here.
 

Topic: problem with my mod Read 986 times  

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

673f8f0981ce7voodoo47

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

673f8f0981f56ZylonBane

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

673f8f098205avoodoo47

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

673f8f098227fvoodoo47

673f8f09822ca
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.
673f8f09823be
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.

673f8f0982480voodoo47

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

673f8f098264cvoodoo47

673f8f0982694
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.
Did he come from the other side?
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
673f8f0985521