Randomly placed enemies Mod in Singleplayer game

Talk about Severance Blade of Darkness modifications and maps here. No tips or tech support questions please, use the forum above. Note that the game is rated 18 so some content may be unsuitable for younger readers.

Moderators: Ade, prospero

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Sun Sep 25, 2016 3:10 pm

Hello,

We are working on "CreateRandomEnemy" mod. It creates enemies into random positions in singleplayer game. Orks, Knights, Lichs etc etc. depending on the map. Enemy frequency can be changed from Menu. Mod does not change/alter original map files in any way. When a level is started, our code browses through map coordinates and saves the ones which hit sectors. This is how we get valid positions for enemies. Then enemies are created and after this, collision detection removes enemies that are for example half inside the wall. I played Kashgar and Mines yesterday it worked very nicely. Still some work left of course:)
Vomit on the nearest asshole

User avatar
cieply
Dragon
Posts: 332
Joined: Wed Jun 26, 2013 3:43 pm

Re: Randomly placed enemies Mod in Singleplayer game

Postby cieply » Fri Sep 30, 2016 5:09 pm

sounds very interesting
by curiosity, how difficult it was to code that "map scanner"?
l'aria fresca,
vino puro, ...

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Tue Oct 04, 2016 1:28 pm

I think when creating new functions in Blade the hardest part is, in most cases, the starting point. You don´t know exactly what there is to work with and spend time searching for the info that may be useful in your code. Map scanner code is actually quite simple now when you look at it but of course it took some time to make it work since we had no idea from where to start. JJP made most of the code.
Vomit on the nearest asshole

User avatar
prospero
Ancient Dragon
Posts: 1729
Joined: Wed Nov 21, 2001 1:42 am
Location: United Kingdom

Re: Randomly placed enemies Mod in Singleplayer game

Postby prospero » Tue Oct 04, 2016 4:21 pm

A little bit of handy code for recording the Player position.

Paste into DefFuncs.py file

Code: Select all

def GetPlayerPos(): char=Bladex.GetEntity("Player1") x=int(char.Position[0]) y=int(char.Position[1]) z=int(char.Position[2]) file = open("../../BODLoader/Mods/FugitiveIVpt1/pos.txt","a") file.write("("+str(x)+","+str(y)+","+str(z)+")"+"\n") file.close() Bladex.AddInputAction("GetPlayerPos", 0) Bladex.AddBoundFunc("GetPlayerPos", GetPlayerPos) Bladex.AssocKey("GetPlayerPos", "Keyboard", "V", 1)
Just edit to suit wherever you want the pos.txt file to be saved.

Walk to a spot and press the V key. Copy the recorded positions to wherever.

I have some more complicated code for random positioning which makes it so the enemy doesn't spawn
if the Player can see them and checks for chars that are too near to the spawn position.
Also another sneaky routine that spawns an enemy behind the Player pos if clear.

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Tue Dec 24, 2019 12:00 am

Hi and Merry Christmas!

Our Random Enemy Creator v1.0 is ready and it will be one of the new features in Gorentity Mod 2020. From Gorentity Mod ingame menu you can adjust Random Enemy Appearance (number of enemies) Off / Low / Medium / High / Very High.
The work is already done and now we are just playing the new features, seeking bugs etc. Playing same old (but great) singleplayer maps with different enemies in different places everytime you play it just feels like a new game!

pigvomit
Vomit on the nearest asshole

sfb
Dragon
Posts: 72
Joined: Sun Oct 09, 2011 12:50 pm
Location: Australia

Re: Randomly placed enemies Mod in Singleplayer game

Postby sfb » Tue Dec 24, 2019 3:05 am

Sounds great guys, can't wait to try it out.
All the best.
cheers,
SFB

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Sat Jan 18, 2020 5:00 pm

Hi,
Randomly placed enemies feature is now introduced in Gorentity Mod 2020 with Random Enemy Creator v1.0.
Download from https://www.moddb.com/mods/gorentity-mod-2015

If you use Gorentity Mod Installer and F12 button is not working while ingame or Gorentity Mod menu is not appearing in the game menu etc etc. FIX: Temporarily disable your antivirus program, extract and run the Gorentity Mod Installer again. It is a known issue that some antivirus programs mess the Gorentity Mod Installer. Or simply use the Gorentity Mod 2020 with Random Enemy Creator v1.0 Manual Installation Package instead.

Make sure you have Blade of Darkness Patch v1.001 installed before you install Gorentity Mod.

Gorentity Mod 2020 with Random Enemy Creator v1.0 summary:

- Random Enemy Appearance: Experience the single player game with random enemies in random places generated by our own Random Enemy Creator v1.0
The amount of enemies can be set (Off / Low / Medium / High / Very High) from the Gorentity Mod Ingame Menu (F12 default) or Menu/Options/Gorentity Mod settings.
Changes take place when starting a new game, restarting a level or entering a new map.

- Redefined blood system. Better looking flow.

- Edible Limbs: Player can roast and eat limbs and use them as a food source. Press Use button (E default) to roast limb with fire. To eat limb, double tap Use button while holding the limb.

- Fatal Cliff Slip: Falling down from a high place is going to be a grotesque scene. Player or enemy, our GoreCam is capable of showing the actual fall, but also the horrendous aftermath on the ground.

- Stone Hit Event: Getting squashed by a giant rolling stone can be awarded with a focused view from GoreCam, showing the sight in all its glorious gore galore.

- The scale of limbs able to be picked up is now extended.

- Bug Fix for enemy´s disappearing potion after death.

- Bug Fix for player getting stuck in the enemy during death animation.

- Bug Fix for double reward for killing a crawling enemy.

- Multiple Bug Fixes for objects pickup/use/sheathe/toggle events.

** Features from previous versions:

- Gorentity in Combat: New brutal blood effects for blunt and sharp weapons, fists and bows including the "Blunt Finisher".

- Stunned in Trauma: Hurt your enemy to make him stumble, stagger etc, even vomit blood during combat.

- DeathSceneCreator: Total 72 "new" death animations based on trauma. Enemy crawling, body twitch, suffer, plod etc.

- True Dismemberment: Modified bodypart chopping for more cinematic feel. Fixes original game disappearing bodyparts.

- Dripping Limbs: Limbs on the ground are no longer dry objects. They will spatter blood when picked up, used and thrown.

- Gorentity Mod Ingame Menu: Player can adjust settings here. To access the menu during gameplay press F12 (default).

- Define Gorentity Mod Keys: Player can define all 3 Gorentity Mod gameplay keys from Controls Menu and from Gorentity Mod Ingame Menu.

- Clear Blood Pools: Player can instantly remove blood pools on the ground by pressing X (default) to improve fps. Useful in certain combats.

- GoreCam Cinematic: Spectacular Slow Motion Kills from randomly chosen camera angles. Press Z (default) to skip.

- Fixed failed mutilation when Level Up function is called.

- Lichs and Zombie Knights bleed black blood.

- Updated black blood.
Vomit on the nearest asshole

User avatar
Nihilist_Militant
Hatchling
Posts: 6
Joined: Wed Jan 08, 2020 11:31 am

Re: Randomly placed enemies Mod in Singleplayer game

Postby Nihilist_Militant » Sat Jan 18, 2020 6:55 pm

Great work, but random works only on 1st level, in mines and fortress you start in rune room and level doesnt have any objects (no water, no boxes, no enemies etc.)

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Sat Jan 18, 2020 7:26 pm

I just tested, I did a fresh install of Severance, installed BladePatch US 1.001, and then installed Gorentity Mod 2020 Manual Installation Package. Played first map Kashgar with Barbarian and then proceeded and tested both Mines of Kelbegen and Tell Halaf. No problems at all. None whatsoever. Do you use other mods? I recommend a clean install of Severance and then patch, install Gorentity Mod 2020. if problem continues we will think about it more.

Best regards,
pigvomit
Vomit on the nearest asshole

User avatar
Nihilist_Militant
Hatchling
Posts: 6
Joined: Wed Jan 08, 2020 11:31 am

Re: Randomly placed enemies Mod in Singleplayer game

Postby Nihilist_Militant » Sun Jan 19, 2020 12:23 am

I used GOG version, but now i done this "fresh install of Severance, installed BladePatch US 1.001, and then installed Gorentity Mod 2020 Manual Installation", USA CD version, USA patch, but no effect, Kashgar is perfect and next is watch screenshot. Btw there is some bug, if you block with weapon (chaos sword for example) you cant do this attack, when weapon on the back. Image

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Sun Jan 19, 2020 9:36 am

I used GOG version, but now i done this "fresh install of Severance, installed BladePatch US 1.001, and then installed Gorentity Mod 2020 Manual Installation", USA CD version, USA patch, but no effect, Kashgar is perfect and next is watch screenshot. Btw there is some bug, if you block with weapon (chaos sword for example) you cant do this attack, when weapon on the back. Image
Hi, if you have a saved game somewhere in Kashgar where the level is almost completed, can you zip that savegame data and send it to [email protected]. The zip should have 3 files and one folder for example Savegame1.py 1.sv 1.bmp and a folder named SaveGame1_files
Btw if you set Random Enemy Appearance to Off does it still get messed up after Kashgar? But if you can send that zip to us we will check it out.

Best regards,
pigvomit
Vomit on the nearest asshole

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Sun Jan 19, 2020 2:09 pm

Hi again,

UPDATED 19.1.2020 15:55 Entering a new map while having potions in your inventory caused the game to crash. It is now fixed. Please download and use the latest version if you had this issue.
https://www.moddb.com/mods/gorentity-mod-2015

Best regards,
pigvomit
Vomit on the nearest asshole

PigVomit
Dragon
Posts: 82
Joined: Wed Oct 21, 2009 1:45 pm
Location: Finland
Contact:

Re: Randomly placed enemies Mod in Singleplayer game

Postby PigVomit » Mon Jan 20, 2020 5:08 pm

Updated 20.1.2020 18:27 If you blocked a hit, disability to draw your weapon from your back by pressing the attack button is now fixed.
Download latest version from https://www.moddb.com/mods/gorentity-mod-2015

As said, Randomly places enemies feature is introduced in Gorentity Mod 2020 with Random Enemy Creator v1.0 and there is already a topic for it:
http://www.arokhslair.net/forum/viewtop ... =11&t=2911

Lock this topic?

Best regards,
pigvomit
Vomit on the nearest asshole


Return to “Severance BoD: Modding Community”

Who is online

Users browsing this forum: No registered users and 1 guest

cron