Icon of Sin / Baphomet
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > WADs & Mods > Making multiple Bosseyes.
 
Author
All times are GMT. The time now is 01:44. Post New Thread    Post A Reply
Salahmander2
Member


Posts: 280
Registered: 04-13


Hello there, am making a Smash TV style area. Is there anyone that knows how to make a second bosseye with different properties that'll still shoot spawncubes?

Old Post 03-30-14 11:41 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 1801
Registered: 05-12


What different properties would you like? Do you mean just multiple BossEyes in the same map, or multiple types of BossEyes with different behaviours? The first case is self-evident, for the second you might need to get familiar with ZDoom's DECORATE coding.

http://zdoom.org/wiki/Classes:BossEye
http://zdoom.org/wiki/DECORATE
http://zdoom.org/wiki/Actor_properties
http://zdoom.org/wiki/Actor_flags

Old Post 03-30-14 12:13 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Salahmander2
Member


Posts: 280
Registered: 04-13


I already sorted to DECORATE to make it drop monsters not usually spawned by the BossEye. The second one is to drop weapons, power-ups, items, etc, etc, which again, I've sorted, both of which I wanna have on the same map and both are to spawn in the target spots.

Last edited by Salahmander2 on 03-30-14 at 12:22

Old Post 03-30-14 12:16 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 1801
Registered: 05-12


Now I see. Sounds like you probably don't well understand inheritance yet. You can certainly make as many derived objects from BossEye as you want, and use them on the same map. Objects (correctly, actors) are identified by an editor number, or they can replace another object type (which is probably what you were doing).

You have two possibilities:
code:
actor BossEye1 : BossEye 1111 { code to spawn monsters... } actor BossEye2 : BossEye 2222 { code to spawn weapons... }
You'll have two types of BossEyes, neither of which will actually replace the original one. You can place them in the map by placing a thing with the specified number (1111, 2222). You should be able to find them in Decorate tab in Thing types when placing a thing - assuming you're mapping in UDMF or Hexen format, at least.

Or you can do this:
code:
actor BossEye1 : BossEye replaces BossEye { code to spawn monsters... } actor BossEye2 : BossEye replaces DeadLostSoul { code to spawn weapons... }
Now you've replaced original objects. If you put a standard BossEye in your map, you'll get your modified one (the first). If you place Dead Lost Soul (it's a thing in Decorations), your weapon-giving BossEye will appear.

Old Post 03-30-14 12:29 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
plums
Senior Member


Posts: 1648
Registered: 08-13


Do note that with ZDoom, if your intention is just to have a way to spawn lots of enemies/items, you can probably do this much better with ACS than using a whole bunch of boss spawners.

Old Post 03-30-14 12:45 #
plums is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 1801
Registered: 05-12


^ I agree, ACS can allow you better customizable behaviour and timing than hardcoded BossEye special.

Old Post 03-30-14 12:54 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Salahmander2
Member


Posts: 280
Registered: 04-13


I'm not too great with ACS, but will try and use the inheritance method later on. Once I've sorted, will release a beta of my WAD.

Old Post 03-30-14 13:38 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
BaronOfStuff
Senior Member


Posts: 1233
Registered: 06-08


Wouldn't the BossEye clones all fire at the same spawntargets though? So you'd just get a mish-mash clusterfuck of weapons and monsters all over the place. Not sure that this is what you want.

Old Post 03-30-14 14:26 #
BaronOfStuff is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Salahmander2
Member


Posts: 280
Registered: 04-13



BaronOfStuff said:
Wouldn't the BossEye clones all fire at the same spawntargets though? So you'd just get a mish-mash clusterfuck of weapons and monsters all over the place. Not sure that this is what you want.
I've put the targets in a inaccessible area, which are in a scrolling floor and since there are seperate teleport linedefs for both monsters and weapons/items, it should be okay.

Old Post 03-30-14 14:32 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Doomkid
Forum Regular


Posts: 947
Registered: 06-08


I'm interested to see the results of what you're working on. A secondary spawner for items/ammo is a great idea and I'm surprised it hasn't been used more often - it would be nice if the items had their own spawn spots apart from the monsters as BaronOfStuff hinted at. Wonder if that's possible through decorate or ACS? I dunno, I just use Dehacked - if I can't do it there, I give up. Then again I'm one of those vanilla nutters.

EDIT: vanilla nutters sound like delicious bits of candy.

Old Post 03-30-14 14:39 #
Doomkid is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Salahmander2
Member


Posts: 280
Registered: 04-13



Doomkid92 said:
I'm interested to see the results of what you're working on. A secondary spawner for items/ammo is a great idea and I'm surprised it hasn't been used more often - it would be nice if the items had their own spawn spots apart from the monsters as BaronOfStuff hinted at. Wonder if that's possible through decorate or ACS? I dunno, I just use Dehacked - if I can't do it there, I give up. Then again I'm one of those vanilla nutters.

EDIT: vanilla nutters sound like delicious bits of candy.

Well the closest I got are seperate mapspots for both items and monsters when they teleport in.

Old Post 03-30-14 14:45 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10989
Registered: 07-07



BaronOfStuff said:
Wouldn't the BossEye clones all fire at the same spawntargets though?


Yes. They will not use different pools of targets, they will all randomly choose which target from all targets present in the level.

And even if you prevent the spawncube projectiles from reaching their destination, it just means they'll get stuck in place, not that they'll look for a different projectile they can reach.

Old Post 03-30-14 16:48 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Salahmander2
Member


Posts: 280
Registered: 04-13


Thanks a bunch, Scifista42 about the inheritence, it turns out that I needed to do the same with the spawn shots, all are working correctly along with me getting slaughtered on testing. :P

Old Post 03-30-14 19:51 #
Salahmander2 is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 01:44. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > WADs & Mods > Making multiple Bosseyes.

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.