Marine that uses custom sprites

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Lumpy
Posts: 256
Joined: Tue Jul 15, 2003 5:29 pm
Location: Pa,USA
Contact:

Post by Lumpy »

I did something once that made a rocket marine look like Duke Nukem so here is your solution.

1. Import all of the pikachu sprites into your wad. Do not add in the S_Skin, or SkinDef lump.

2. Add into your decorate lump something that would make a simple pikachu decoration. It doesn't need anything fancy. Here's an example.

Code: Select all

Pikachu
{
Sprite PIKU
Frames "A"
}
3.Place your marine in the map using an editor, and give him a unique tid.

4. In an OPEN script use this line

Code: Select all

SetMarineSprite (tid, "Pikachu");
Replace tid with your marines unique tid, and there you go.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

Agh, please, DON'T use the old format. :(

Code: Select all

ACTOR Pikachu
{
   States
   {
   Spawn:
        PIKU A 1
        Loop
   }
}
User avatar
Lumpy
Posts: 256
Joined: Tue Jul 15, 2003 5:29 pm
Location: Pa,USA
Contact:

Post by Lumpy »

Ah yes sorry. I just copied and pasted right from the decorate lump in my old wad file. But you are right we must stay away from the old format.
User avatar
Glassyman
Posts: 52
Joined: Mon May 14, 2007 8:55 am
Location: My body is 6 feet under, my soul in heaven

Post by Glassyman »

I resolved my problem! I resolved my problem! Thank you very much!!! :D
User avatar
Nash
 
 
Posts: 17485
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Let's hope this chaingunner isn't for another Gamarra WAD! :mrgreen: :mrgreen: :mrgreen:
User avatar
Glassyman
Posts: 52
Joined: Mon May 14, 2007 8:55 am
Location: My body is 6 feet under, my soul in heaven

Post by Glassyman »

Nash wrote:Let's hope this chaingunner isn't for another Gamarra WAD! :mrgreen: :mrgreen: :mrgreen:
maybe, maybe not!!! he he he
Lamneth
Posts: 187
Joined: Thu Apr 26, 2007 12:00 am
Location: Dark Falz's chamber

Post by Lamneth »

Nash wrote:Let's hope this chaingunner isn't for another Gamarra WAD! :mrgreen: :mrgreen: :mrgreen:
Locked

Return to “Editing (Archive)”