Hi,
This is my first post here.
Here's what i want to do:
1. Change the number of ammo in the weapon the player spawns with, from 48 to any number, really.
I tried changing the number in the GAME.CON file but nothing happened.
And why the number 48? How can i change it?
2. I want to replace ALL textures form the PLATOON TC with textures form NAM.
What is the best way to do this?
Replace the textures one by one in the NAM.GRP using an ART editor, or using the DEF Language for EDUKE32, basically this, from wiki.eduke32:
tilefromtexture
tilefromtexture <tilenum> { ... }
Used to generate an 8-bit tile from an image file. Use the alpha channel for transparency instead of the pink color.
file <filename>
name <filename>
alphacut <value>
In addition to working when you are adding an image file as an art tile, the following parameters can also be used without specifying a file to modify the attributes of an existing ART tile.
xoffset <value>
xoff <value>
yoffset <value>
yoff <value>
texhitscan
nofullbright
3. How to convert (if needed) the extracted textures from NAM to PLATOON palette (or vice versa, etc.) I use Build ART Files Editor v2.0, here: Click
That's all the question i have for now.
Page 1 of 1
A few questions about replacing textures and CON editing "Help me, please."
#1 Posted 24 August 2019 - 09:57 AM
#2 Posted 24 August 2019 - 04:42 PM
Gordon Freeman, on 24 August 2019 - 09:57 AM, said:
1. Change the number of ammo in the weapon the player spawns with, from 48 to any number, really.
I tried changing the number in the GAME.CON file but nothing happened.
And why the number 48? How can i change it?
I tried changing the number in the GAME.CON file but nothing happened.
And why the number 48? How can i change it?
I'll only answer CON questions because that's easier (I can just paste in code snippets to show you).
in GAME.CON, try adding this:
appendevent EVENT_RESETPLAYER setp[].ammo_amount PISTOL_WEAPON 30 endevent
Just change the 30 to whatever number. The number is 48 by default because Duke's pistol clips hold 12, and 4 clips is a good starting amount.
#3 Posted 25 August 2019 - 05:58 AM
Trooper Dan, on 24 August 2019 - 04:42 PM, said:
I'll only answer CON questions because that's easier (I can just paste in code snippets to show you).
in GAME.CON, try adding this:
Just change the 30 to whatever number. The number is 48 by default because Duke's pistol clips hold 12, and 4 clips is a good starting amount.
in GAME.CON, try adding this:
appendevent EVENT_RESETPLAYER setp[].ammo_amount PISTOL_WEAPON 30 endevent
Just change the 30 to whatever number. The number is 48 by default because Duke's pistol clips hold 12, and 4 clips is a good starting amount.
Thank you so much! It worked perfectly!
Share this topic:
Page 1 of 1