header general

Spawn casings

  • DoomModer88
  • DoomModer88's Avatar Topic Author
  • Shotgunner
  • Shotgunner
More
1 year 8 months ago - 1 year 8 months ago #1 by DoomModer88
Spawn casings was created by DoomModer88
Hello mates I really need help you are my last chance here.
Forgive me if my topic is in wrong place.
So I have made an M16 weapon with reload, sounds etc. I wanted to create some really HD sprites so in order to display right my weapon I used this code in textures lump just to know I'm using GZDoom UDFM format
/////////////////////////////////////////////////////////TEXTURES/////////////////////////////////
sprite M16GA0, 1000, 1000 // this is my sprite scales 
{
xscale 3
yscale 3
offset 30, 450
patch M16GA0, 1, 1
}
So far so good, the big issue is that I can't properly spawn my casings I tried many, many ways but no luck
this is the different code lines I tried 
///////////////////////////////////////////////////////////////////// DECORATE /////////////////////////////
TNT1 A 0 A_SpawnItemEx("CasingSpawner", CMF_AIMDIRECTION, CMF_AIMDIRECTION,5,0,10,10,45)
    //M16F A 0 /*Offset (0,0)*/ A_FireCustomMissile("pistolCasingSpawner",-10,0,0,0,0,CMF_AIMDIRECTION)

    //M16F A 0 A_customMissile("CasingSpawner", 32, 12, CMF_AIMDIRECTION,0, random(-1, 1)) //CMF_OFFSETPITCH
    //M16F A 1 A_FireCustomMissile("CasingSpawner",30,450,CMF_AIMDIRECTION|CMF_AIMDIRECTION)
    //M16F A 0 Offset(0, 0) A_FireCustomMissile("CasingSpawner",350,0,0,-5,1,CMF_OFFSETPITCH|CMF_AIMDIRECTION)
    //M16F A 0 Offset(0, 0) A_FireCustomMissile("BulletChell",-90,0,10,10,FPF_NOAUTOAIM)
    //M16F A 0 A_SpawnItemEx("CasingSpawner",5,10,CMF_AIMDIRECTION,5,0,5)
Keep in mind my sprites size and position on screen; is any way guys to make that beautiful correct spawn casings like so many wads out there?
By the way all that different ") " are several spawners I found from some wads 
Last edit: 1 year 8 months ago by DoomModer88.

Please Log in or Create an account to join the conversation.

  • inkoalawetrust
  • inkoalawetrust's Avatar
  • Moderator
  • Moderator
More
1 year 8 months ago - 1 year 8 months ago #2 by inkoalawetrust
Replied by inkoalawetrust on topic Spawn casings
This isn't really the right place to ask for help with this, especially not this subforum in particular, which is for weapon-related submissions to the repository. For help with modding you should instead ask in places like the ZDoom Discord (https://dsc.gg/zdoom) and the ZDoom forum (https://forum.zdoom.org/index.php). You should also probably check the wiki (https://zdoom.org/wiki/Main_Page), if you don't already.
Last edit: 1 year 8 months ago by inkoalawetrust. Reason: Fixed links.

Please Log in or Create an account to join the conversation.

  • DoomModer88
  • DoomModer88's Avatar Topic Author
  • Shotgunner
  • Shotgunner
More
1 year 8 months ago #3 by DoomModer88
Replied by DoomModer88 on topic Spawn casings
Well when I'm saying here is like my last chance to get help you should think why I telling that
Here some people making weapons and hopefully some of them willing help me out with casings

Please Log in or Create an account to join the conversation.

  • DoomModer88
  • DoomModer88's Avatar Topic Author
  • Shotgunner
  • Shotgunner
More
1 year 8 months ago - 1 year 8 months ago #4 by DoomModer88
Replied by DoomModer88 on topic Spawn casings
I read here that you can help to make better even expand a weapon or a monster whatever as about the code above is what I get from ZDoom and DoomWorld trying to figure out with the wiki in combination but nothing helped.
In the above forums I mentioned they stopped respond to my posts I mean the hole point is a place to share opinions knowledge for the same passion and help others but the weapon casing looks like the most hot subject that no one knows how... looks like is the secret knowledge of some developers...I don't know what to say I am so sad.
Last edit: 1 year 8 months ago by DoomModer88. Reason: Sentence mistake

Please Log in or Create an account to join the conversation.

  • TyrannotitanFan
  • TyrannotitanFan's Avatar
  • Lost Soul
  • Lost Soul
More
1 year 8 months ago #5 by TyrannotitanFan
Replied by TyrannotitanFan on topic Spawn casings
You could ask about it on Workshop instead here

Please Log in or Create an account to join the conversation.