Great to hear that you're making a mod!
Petrenko (guest) said: How do i make enemies respawn, after i leave a zone/territory? You'll have to script it, that's the only way to do it. The simple part is making a script to spawn an enemy, but the hard part is figuring out a condition when to activate the script. I'd use a global flag. I'll call it playerOnArea. For each area that's available you'll need to add a controller object that constantly checks whether the playerOnArea flag is different from the area identifier you give to this area, and if it is different, it calls all monster spawners to respawn their monsters, and also resets the playerOnArea flag to the current area id. Got it? I can elaborate it further if you need help.
Petrenko (guest) said: How do i edit animations? (I want to create a pistol/rifle anim.) To edit the player animations, just import the object called race/player. It's actually a normal object, and you can edit the animations by going to the "anim" tab. Then remember to export the player back when you're done, and the animation is available to every bot that uses the same base object.
Petrenko (guest) said: Is it possible to have random properties for weapons? (Magic/Rare etc.) That's a difficult question. There is no easy system in place for that, but there's usually some way to get around such small details as something not being implemented! If you're looking to have, say a weapon type that might randomly have properties like fire damage, you could fake it by having a weapon type for each random type available, and by using the randomItemFromCategory item properties. That way the random object is replaced by one of your preset items, have a look at how the ingredients are randomized. But as I said right now there is no convenient way of having the random properties in a single item definition, you'll have to have an item definition for each possible type.
Petrenko (guest) said: Is there a subforum for driftmoon-modding? (Searched but didn't find anything.) You're in the correct place! At the moment we don't have separate subforums, it's easier to spot new posts this way... Just ask, we're here to help.
Edited 11 years ago
|