Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Glassyman

Spawn ID of ZDoom marines

Recommended Posts

I'm working at a map that contains ZDoom features. I would want to spawn marines but I don't know their Spawn ID. I went to Zdoom Wiki but there are no articles that can help me. I need to know ID of

  1. Marine BFG
  2. Marine Chaingun
  3. Marine Pistol
  4. Marine Plasma
  5. Marine Railgun
  6. Marine Rocket
  7. Marine Shotgun

Thank you for help!

Share this post


Link to post

They don't have any. You have to use Spawnspot with their class names. Alternatively you can use DECORATE to create new versions and set their spawn IDs that way.

Share this post


Link to post

Do you mean, id to spawn them with the level editor? If so, this is from my Zeth configuration file


----
"Scrpted Marines"
9100, GREEN, 16, "Scripted Marine", "PLAYE2E8"
9101, GREEN, 16, "Scripted Marine with fists", "PLAYE2E8"
9102, GREEN, 16, "Scripted Marine with Beserker fists", "PLAYE2E8"
9103, GREEN, 16, "Scripted Marine with Chainsaw", "PLAYE2E8"
9104, GREEN, 16, "Scripted Marine with Pistol", "PLAYE2E8"
9105, GREEN, 16, "Scripted Marine with Shotgun", "PLAYE2E8"
9106, GREEN, 16, "Scripted Marine with Super Shotgun", "PLAYE2E8"
9107, GREEN, 16, "Scripted Marine with Chaingun", "PLAYE2E8"
9108, GREEN, 16, "Scripted Marine with Rocket Launcher", "PLAYE2E8"
9109, GREEN, 16, "Scripted Marine with Plasma Gun", "PLAYE2E8"
9110, GREEN, 16, "Scripted Marine with Railgun", "PLAYE2E8"
9111, GREEN, 16, "Scripted Marine with BFG-9000", "PLAYE2E8"
----

I remember doing it by hand years ago, so there must be a list of their thing id somewhere.

Hope it helps.

Share this post


Link to post

Grafy is right, I ran into the same problem whem making Noob Project 4. Although Vegeta's alternative might work, it is more customizable to put in Map spots, and put in a script for the type of marine to use. You can open up Nprject4.wad in Doom Builder, and see how I did it its under the "\\Fruit squad" line I wrote. :P

Share this post


Link to post

OK, I resolved the problem using DECORATE. I hope it will be fixed in the next version of ZDoom. Thank you very much!

Share this post


Link to post
Glassyman said:

OK, I resolved the problem using DECORATE. I hope it will be fixed in the next version of ZDoom. Thank you very much!



If you refer to the IDs used with Thing_Spawn, this won't be changed. Spawn IDs are no longer assigned to new actors because Thing_Spawn and Thing_Projectile have been superseded by functions that can spawn actors by name. These are called Spawnspot and SpawnProjectile.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×