Page 1 of 1

My problems with Coding (solved)

PostPosted: Mon Oct 03, 2016 4:17 pm
by Gadavre
Hello! I very much want to finish my Mutator.The Mutator is called InstaSniper.
https://ut99.org/viewtopic.php?f=7&t=11303&p=85520&hilit=instasniper#p85520
I would like to make the configurable version of my mutator and add: StartAmmo (Ammo at the start of the game), PickupAmmo(Ammo in each rifle) and MaxAmmo. I was only able to add the ability to specify the number of shieldbelts. Please help me in coding!

Re: The difficulty with making of the configuration file

PostPosted: Mon Oct 03, 2016 5:54 pm
by EvilGrins
1) You'd be better to run another mutator at the same time that constantly regenerates your ammo.

2) Some admin is probably gonna poke you in the eye for making a new thread to discuss something you could've added to the original thread.

3) A stretch back I wrote an .int for the PortalGun by copying/editing the contents of the .int for RocketArena. Try finding another weapon that does what you want your weapon to, and then cut/paste/edit what you need from there.

(edit: had to swap .int for .ini; my bad)

Re: The difficulty with making of the configuration file

PostPosted: Wed Oct 05, 2016 7:28 am
by sektor2111
The difficulty with making of the configuration file.

Answer >> if mutator is properly done difficulty Level is 0 Zero or -100.
Mutator can use SaveConfig() - if you have ever heard about it.
Mutator can use a proper INT for opening "Preferences menu" and generating INI from there - I'M NOT really writting manually INI files - they are generated by my Mutators/Actors in different ways and then I'm only modifying them as needed.

Re: My problems with Coding (help)

PostPosted: Thu Oct 13, 2016 6:59 am
by Gadavre
This topic can be deleted.

Re: My problems with Coding (help)

PostPosted: Thu Oct 13, 2016 10:51 am
by Wormbo
Things don't get deleted or closed around here, usually.

Re: My problems with Coding (help)

PostPosted: Thu Oct 13, 2016 1:57 pm
by Gadavre
Hallo! Could you point me to such weapon mutators, which work fine (tested) between the server and the client. on the network? I will look at their code.

Re: My problems with Coding (help)

PostPosted: Thu Oct 13, 2016 2:07 pm
by papercoffee
Gadavre wrote:This topic can be deleted.

No... but you can change your Thread title from "My problems with Coding (help)"
to "My problems with Coding (solved)" :wink: