Search found 1962 matches

by Barbie
Mon Nov 16, 2020 11:56 am
Forum: Coding, Scripting
Topic: Execute Function After Match Begin
Replies: 11
Views: 220

Re: Execute Function After Match Begin

I am trying to initialize some object that has to loop over PlayerPawns and associate a Hud Mutator to them and other modifications. Polling is a bad idea... Because players can join at every time, event driven functions are better, and I think Mutator.ModifyLogin() or Mutator.ModifyPlayer() is bes...
by Barbie
Mon Nov 16, 2020 11:41 am
Forum: Mutators
Topic: Jetpack concept, never completed
Replies: 4
Views: 108

Re: Jetpack concept, never completed

http://gauntletwarriors.com/Forums/viewtopic.php?f=54&t=440 wrote:The board requires you to be registered and logged in to view this forum.
:pfff:
by Barbie
Sat Nov 14, 2020 1:28 am
Forum: Mapping
Topic: Where to choose the map image (in UEd2.0)?
Replies: 12
Views: 92

Re: Where to choose the map image (in UEd2.0)?

Ubir4 wrote:
Sat Nov 14, 2020 12:30 am
I don't know how to delete ...
Save the map, close and reopen it. All unused resources will be gone now.
by Barbie
Fri Nov 06, 2020 11:38 pm
Forum: Coding, Scripting
Topic: Static variables
Replies: 7
Views: 113

Re: Static variables

I've written a batch script to compile and copy the files. It also creates above mentioned file "BarbiesWorldVersion.uc", which contains the build count. But in essence it should show you how to use a "variable" (more a constant, eh) within multiple other classes. There it is accessed via class'Barb...
by Barbie
Fri Nov 06, 2020 10:46 pm
Forum: Coding, Scripting
Topic: Static variables
Replies: 7
Views: 113

Re: Static variables

I see you run into the same issues as I did years ago... :confused2: I have solved that with // Don't edit this file! // Automatically created by Version.cmd at 07.10.2020 13:04:53,08 class BarbiesWorldVersion extends Object; static function int GetBarbiesWorldVersion() { return 3542; } This "variab...
by Barbie
Sat Oct 31, 2020 12:09 am
Forum: Mapping
Topic: MH-TheFifthVortex
Replies: 101
Views: 1551

Re: MH-TheFifthVortex

Wrong (original Monsterhunt): if ( Other.IsA('Razorjack') ) { ReplaceWith(Other, "MonsterHunt.OLRajorjack"); Return false; } should be: if (Razorjack(W) != None) { NewWeapon = Weapon(SpawnAndPasteActor(W, "MonsterHunt.OLRazorjack")); goto CopyWeaponProperties; } "OLRajorjack" vs. "OLRazorjack"
by Barbie
Sat Oct 31, 2020 12:03 am
Forum: Coding, Scripting
Topic: Listening for events in UnrealScript
Replies: 19
Views: 298

Re: Listening for events in UnrealScript

I just did it naively and Spawn a special actor with the hack method and then destroy it after from a static method Spawning an Actor is quite expensive. Why don't you use it as a static version? (That was one of my first questions when I get in contact to UScript: How to use libraries?) Also, is t...
by Barbie
Fri Oct 30, 2020 2:00 pm
Forum: Mapping
Topic: MH-TheFifthVortex
Replies: 101
Views: 1551

Re: MH-TheFifthVortex

If there will be any further updates: could you please mention them at your first post, too? That would reduce the time looking for an updated version. Thanks.
by Barbie
Thu Oct 29, 2020 12:43 pm
Forum: Coding, Scripting
Topic: Listening for events in UnrealScript
Replies: 19
Views: 298

Re: Listening for events in UnrealScript

1337GameDev wrote:
Thu Oct 29, 2020 1:14 am
is it possible to convert a string to a name data type?
See wiki.beyondunreal.com/Typecasting#string_to_name:

Code: Select all

var name NameConversionHack;
 
function name StringToName(string str) {
  SetPropertyText("NameConversionHack", str);
  return NameConversionHack;
}
by Barbie
Wed Oct 28, 2020 12:20 pm
Forum: Coding, Scripting
Topic: Listening for events in UnrealScript
Replies: 19
Views: 298

Re: Listening for events in UnrealScript

Is this ONLY valid for Triggers The function Trigger() is declared in class'Actor', so you can use it in any subclass of it. In the Trigger method signature, what does "Actor Other" represent? I figured EventInstigator would be the Pawn that triggered the event. Is the Other actor be the Trigger th...
by Barbie
Tue Oct 27, 2020 11:28 am
Forum: Coding, Scripting
Topic: Listening for events in UnrealScript
Replies: 19
Views: 298

Re: Listening for events in UnrealScript

Create a custom Actor, set its Tag to the desired Event name and implement the code in function Trigger(). Example (untested): class MyTrigger expands Trigger; event Trigger( Actor Other, Pawn EventInstigator ) { log(self @ "was triggered by" @ EventInstigator); } defaultproperties { Tag=MyDesiredEv...
by Barbie
Sun Oct 25, 2020 9:08 am
Forum: Mapping
Topic: MH-TheFifthVortex
Replies: 101
Views: 1551

Re: MH-TheFifthVortex

Buggie wrote:
Sun Oct 25, 2020 2:07 am
Maybe possible export entire map to t3d.
I always do that if I have to replace more than two or three items.

Take into account that lines with more than 1023 characters are cut off without a hint. Can happen with longer descriptions in TranslatorEvents or such.
by Barbie
Sun Oct 25, 2020 2:06 am
Forum: Mapping
Topic: MH-TheFifthVortex
Replies: 101
Views: 1551

Re: MH-TheFifthVortex

So all of this intended. Let's take for example the (hundreds?) SpecialEvents with the Tag "FVQuake". They are located all close to each other and have the settings InitialState=PlaySoundEffect Sound=Sound'AmbOutside.OneShot.quake33' The sound is played at the location of the SpecialEvents. So what...
by Barbie
Sun Oct 25, 2020 1:36 am
Forum: Mapping
Topic: MH-TheFifthVortex
Replies: 101
Views: 1551

Re: MH-TheFifthVortex

I've never seen such an armada of SpecialEvents (1251). I guess something is wrong there...
by Barbie
Sat Oct 24, 2020 2:08 am
Forum: Events
Topic: UT99org Friday FragNight! - Fridays Public Get Together!
Replies: 178
Views: 16532

Re: UT99org Friday FragNight! - Fridays Public Get Together!

And I got this...not sure what that ("Can't find Palette in file 'Palette Botpack.Skins.Palette263'") means? We had that similar several times. The assumption was that the file "Botpack.u" is corrupt. Here are some checksums for it: Name: BotPack.u Size: 39016791 Bytes (37 MiB) CRC32: ED2FF144 CRC6...