Goddamnit.
This crap is only going to support 256 in the list.
Loathsomes Monster/ScriptedPawn Tweak
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Loathsomes Monster/ScriptedPawn Tweak
You do not have the required permissions to view the files attached to this post.
Last edited by MrLoathsome on Wed Aug 15, 2018 6:46 am, edited 4 times in total.
blarg
-
- Godlike
- Posts: 3746
- Joined: Sat Sep 12, 2015 8:46 pm
Re: Loathsomes Monster/ScriptedPawn Tweak
This is very useful indeed
One question - in the LSPTweak.ini, the SPCList goes up to [511] - when (or, more likely, if) the number of unique spawned monsters/scripted pawns goes beyond that, will new lines in the list be automatically generated or will they need to be added manually?
One question - in the LSPTweak.ini, the SPCList goes up to [511] - when (or, more likely, if) the number of unique spawned monsters/scripted pawns goes beyond that, will new lines in the list be automatically generated or will they need to be added manually?
-
- Godlike
- Posts: 10512
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Re: Loathsomes Monster/ScriptedPawn Tweak
The size of that array is hardcoded. It would only need 1 number changed and a recompile to increase the list.OjitroC wrote: One question - in the LSPTweak.ini, the SPCList goes up to [511] - when (or, more likely, if) the number of unique spawned monsters/scripted pawns goes beyond that, will new lines in the list be automatically generated or will they need to be added manually?
How large of a list you would need?
*Edit. When it gets over 255 (not 511), it will just delete any new array elements added while continuing to sort the list elements from 0-255.
No warnings or errors of course on compile or run-time. It is happy to make empty arrays with more than 256 elements for some reason. Writes em to the config file nice and empty.
I had forgotten about those limitations while I was writing this pointless thing.
To hell with it.
Last edited by MrLoathsome on Wed Aug 15, 2018 7:01 am, edited 2 times in total.
blarg
-
- Godlike
- Posts: 1462
- Joined: Mon Jun 01, 2015 7:08 pm
- Personal rank: Resident Wallaby
- Location: Porto Alegre, Brazil
Re: Loathsomes Monster/ScriptedPawn Tweak
Cool! I like the idea.
Anyway, do you think linked lists could somehow be serialized into an array format for INI? That would be useful, and good, too.
Anyway, do you think linked lists could somehow be serialized into an array format for INI? That would be useful, and good, too.
"Everyone is an idea man. Everybody thinks they have a revolutionary new game concept that no one else has ever thought of. Having cool ideas will rarely get you anywhere in the games industry. You have to be able to implement your ideas or provide some useful skill. Never join a project whose idea man or leader has no obvious development skills. Never join a project that only has a web designer. You have your own ideas. Focus on them carefully and in small chunks and you will be able to develop cool projects."
— Weapon of Destruction
— Weapon of Destruction
-
- Godlike
- Posts: 3746
- Joined: Sat Sep 12, 2015 8:46 pm
Re: Loathsomes Monster/ScriptedPawn Tweak
I use MonsterSpawn 303 which has 20 lists each with 60 slots for pawns (total of 1200 pawns). All of the lists are populated but not all of them are full; moreover not all of the pawns are unique in that there may be several of the same class. I haven't counted the number of unique pawns but I would say that a SPCList with 1,000 slots would be sufficient (though this would obviously take a long time to fill).MrLoathsome wrote: How large of a list you would need?
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Re: Loathsomes Monster/ScriptedPawn Tweak
I will post up a 2nd version that will support a larger list. Maybe tomorrow.
Everything else will be the same, so you will only need to change the 1st line of your current
ini file to use the new version.
**Edit: But that wont work because I am stupid.
Everything else will be the same, so you will only need to change the 1st line of your current
ini file to use the new version.
**Edit: But that wont work because I am stupid.
Last edited by MrLoathsome on Wed Aug 15, 2018 6:48 am, edited 1 time in total.
blarg
-
- Godlike
- Posts: 3351
- Joined: Thu Aug 04, 2011 9:26 pm
- Personal rank: Chaos Evangelist
- Location: Kernow, UK
Re: Loathsomes Monster/ScriptedPawn Tweak
BTW. "OjitroC" we are very keen to see this populated list of yours.
UT99.org House Rules
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Re: Loathsomes Monster/ScriptedPawn Tweak
blarg
Last edited by MrLoathsome on Wed Aug 15, 2018 6:48 am, edited 1 time in total.
blarg
-
- Godlike
- Posts: 3746
- Joined: Sat Sep 12, 2015 8:46 pm
Re: Loathsomes Monster/ScriptedPawn Tweak
That's excellent - just to note, though, that the revised .u isn't included in the update.MrLoathsome wrote:See first post for version of this that will support 2048 items in the ini list.
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Re: Loathsomes Monster/ScriptedPawn Tweak
Whoops.
The Large Version of the thing a pointless deleted piece of shit.
The Large Version of the thing a pointless deleted piece of shit.
blarg
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
Re: Loathsomes Monster/ScriptedPawn Tweak
Epic Sucks.
Entire post revised. No change to the original shitty code.
Entire post revised. No change to the original shitty code.
blarg
-
- Godlike
- Posts: 10512
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
-
- Godlike
- Posts: 6438
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Loathsomes Monster/ScriptedPawn Tweak
Can you share them problem if you don't mind ?MrLoathsome wrote:Epic Sucks.
Entire post revised. No change to the original shitty code.
-
- Godlike
- Posts: 2928
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Loathsomes Monster/ScriptedPawn Tweak
See his (edited) first post:sektor2111 wrote:Can you share them problem if you don't mind ?
Does the compiler throw an error?MrLoathsome wrote:This crap is only going to support 256 in the list.
"If Origin not in center it be not in center." --Buggie