My problems with Coding (solved)

Discussions about Coding and Scripting

My problems with Coding (solved)

Postby Gadavre » Mon Oct 03, 2016 4:17 pm

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!
Attachments
ini.zip
(243 Bytes) Downloaded 47 times
Last edited by Gadavre on Tue Oct 18, 2016 12:45 pm, edited 2 times in total.
User avatar
Gadavre
Experienced
 
Posts: 141
Joined: Sun Jan 18, 2015 7:55 am

Re: The difficulty with making of the configuration file

Postby EvilGrins » Mon Oct 03, 2016 5:54 pm

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)
Last edited by EvilGrins on Wed Oct 05, 2016 4:06 pm, edited 1 time in total.
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
User avatar
EvilGrins
Godlike
 
Posts: 6147
Joined: Thu Jun 30, 2011 8:12 pm
Location: Palo Alto, CA
Personal rank: God of Fudge

Re: The difficulty with making of the configuration file

Postby sektor2111 » Wed Oct 05, 2016 7:28 am

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.
User avatar
sektor2111
Godlike
 
Posts: 3825
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: My problems with Coding (help)

Postby Gadavre » Thu Oct 13, 2016 6:59 am

This topic can be deleted.
Last edited by Gadavre on Thu Oct 13, 2016 2:02 pm, edited 1 time in total.
User avatar
Gadavre
Experienced
 
Posts: 141
Joined: Sun Jan 18, 2015 7:55 am

Re: My problems with Coding (help)

Postby Wormbo » Thu Oct 13, 2016 10:51 am

Things don't get deleted or closed around here, usually.
User avatar
Wormbo
Adept
 
Posts: 258
Joined: Sat Aug 24, 2013 6:04 pm

Re: My problems with Coding (help)

Postby Gadavre » Thu Oct 13, 2016 1:57 pm

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.
User avatar
Gadavre
Experienced
 
Posts: 141
Joined: Sun Jan 18, 2015 7:55 am

Re: My problems with Coding (help)

Postby papercoffee » Thu Oct 13, 2016 2:07 pm

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:
User avatar
papercoffee
Site Staff
 
Posts: 9081
Joined: Wed Jul 15, 2009 11:36 am
Location: Cologne, the city with the big cathedral.
Personal rank: coffee addicted !!!


Return to Coding, Scripting

Who is online

Users browsing this forum: No registered users and 2 guests