Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DUGA

A retro first person shooter with roguelike elements · By MaxwellSalmon

Wiki?

A topic by Finfee created Mar 06, 2022 Views: 559 Replies: 15
Viewing posts 1 to 4
(1 edit) (+1)

I want to create a wiki for DUGA, to help the community and me (mostly me lol) and I thought I should probably ask for your permission before I go ahead and make the wiki. Secondly, if you do approve of me making the wiki, is it possible for you to send the stats of the enemies in DUGA? I already have access to most information (i.e. gun statistics, sprite sheets, etc.) by going through the games files/information being there in the game. But I do not understand Python nor know where to look. If you decide to let me make the wiki, that'd be great!


- Finfee


Another idea: 1 health mode, as someone who has basically done all there is to do in DUGA (game's still fun) I would like more of a challenge. 1 health mode would simply be normal DUGA, except you cannot pick up armor/health packs, and start at 1 health. You cannot get hit.


Edit: Friend helped me decypher Python while looking through your source code, so all I need is your approval!

(+1)

I may or may not have gotten impatient and created the wiki. Here's the link, if you don't want it up, tell me and I will take it down. 

https://duga.fandom.com/Duga_Wiki

It's nowhere near done, but you have the basic Firearm stats. 

- Finfee

Developer (1 edit)

This is wonderful! I'll alllow it :-)

I recommend you get into modding, I think you'll be capable of making some great changes to DUGA. I like all your ideas, and I'm sad I do not have the time to implement them. However, I may contribute a bit to the wiki in my spare time :-)

Feel free to ask questions if you have any and I'll look into it!

(1 edit) (+1)

Funny that you mention modding, as I have technically modded DUGA, but in a really lame sense. I just swapped out some files and changed the shirt color of the character to green instead of navy blue. Here's what my cursed main screen of DUGA looks like. After you told me to actually mod mod the game, I tried, and it worked - sort of. I downloaded the files from the Github page, as it showed the python files, and changed around a few values. When I hit save, I looked for a .exe file to run the "amazing" modifications I made, and found none. I tried putting in another .exe file from a different file of DUGA (.zip version downloaded from the itch.io page) and it just ran like a normal game of DUGA (I believe its because the .exe has the python code compiled in it but I'm not really a tech guy.) Is there any obvious information that I'm just missing? Do I need to make a .exe file? Do I need more than just an extremely basic level of understanding of Python? Please help!

- Finfee

I also added in some info for the Melee Weapons in the wiki.

Developer

You need to download Python 3 and then install Pygame (write `python -m pip install pygame` in your command prompt).

You should now be able to run the DUGA source code without needing an .exe file. To test if everything is correctly installed try opening the command prompt and write `python` and you should see something like `Type "help" , "copyright", "credits"....` etc. followed by `>>>`. Now write `import pygame` and if you see a greeting from pygame, it works. 

Now you  can run MAIN.py (perhaps right click and open with IDLE, a Python editor). You will now be able to edit the DUGA source code, and are not just limited to textures and sounds :-)

Let me know if it works out for you, otherwise I can give you some pointers. 

Also, if you have a GitHub account, you can make your own fork of my source code. This way I can follow and see your edits :-)

Okay, I have Pygame and Python 3.7 installed on a dinky 16 GB flash drive, as my school computer apparently doesn't like pygame. I go into the python window, type `import python` and attempt to run MAIN.py, and the window crashes. What am I doing?

(2 edits)

Nevermind, I was able to open IDLE and solve an issue with `import pygame` but it's saying that when `from pygame import mixer` it's showing invalid location.


Error Message

ImportError: cannot import name 'mixer' from 'pygame' (unknown location)

There is no mixer.py file in the pygame folder, I checked. What should I do? My friend who knows python admirably well doesn't know either.

Developer (5 edits)

The mixer controls the audio  and comes with Pygame, so it is not a script I created. What operation system are you using? I found another user with the same issue on Stackoverflow, who apparently uses some Linux OS.

Did you change anything in the code? According to this Reddit thread, Pygame has to be initialised before it can use mixer. It is initialised in MAIN.py

To test whether the mixer is correctly installed, try opening IDLE console and type the following:

(from pygame import mixer (ENTER) mixer.init() (ENTER) and you should see this:

>>> from pygame import mixer
pygame 2.0.1 (SDL 2.0.14, Python 3.7.4)
Hello from the pygame community. <a href="https://www.pygame.org/contribute.html
>>>">https://www.pygame.org/contribute.html
>>></a> mixer.init()
>>>

If this causes an error, you may have had an error in the Pygame installation. I hope it can be used :-)

(+1)

I am using Windows 10 on a school computer that blocks everything, so I had it installed on a flash drive. I'm probably going to wait until about June/July to pick this up again, as that is the time I'm hoping to have enough money to buy a really nice laptop. When I do, I'll work on this again. Progress on the Wiki will also be slow, not stopped, as I have to use Tor to open itch.io and fandom.com. I really love DUGA but it's the hardware that I have at the moment drawing away from it.

Developer

Have you considered buying a Raspberry Pi? It may not be powerful enough to run DUGA with high frame rate, but it is capable of running Pygame and is $35 (without accessories). 

If you cannot afford it, I can contribute with an amount. I'd love to see what you can do with DUGA.

(1 edit)

No, but I know I'm gonna get that laptop. I'm a minor so I don't have to care about "Taxes" or "Providing for a Family" or whatever you old people do. I don't need financial support. I'm just gonna wait it out, and screw around with changing textures and sounds to the point beyond recognition.

Also, as I was screwing around, I decided to see what would happen if I swapped the file names of customSegments and standardSegments. I love the names of these rooms just sitting there for snoops like me.

Some of my favorites:

Wood Dead End OF DEATH

Wood Dead End OF PLANTS

Some Stone End

I'm Running out of Creative Names

It is simply a masterclass in naming segments.

wait holy crap the pi 4 is more powerful than my school computer

(+1)

Hello there Finfee!

I tried clicking on the link that you sent in this thread and it did not work,

If you do not mind, can you send a new link?

(1 edit)

The wiki is very bare-bones, but its just https://duga.fandom.com

oh,  i guess it was taken down

(+1)

I see. Well, it is just that I am quite interested in this wiki of yours but if it is still in the works then I guess, I will just have to wait for it to be finished!

Good luck with making the wiki!

(oh, and I just remember the chat that you have with the dev and wondered if you have bought your laptop or not)