Search found 19 matches

by Deaod
21 Apr 2013, 11:12
Forum: Map Editor
Topic: [Map] Elite - Welcome to Earth
Replies: 0
Views: 399

[Map] Elite - Welcome to Earth

So, my first Elite map. General idea was that defenders as well as attackers have multiple paths to approach the goals, and there should be no way to watch every possible path. With a bit of luck, i think it should be possible to cap a goal without firing a single shot. Travel time from def. spawn t...
by Deaod
06 Nov 2012, 14:53
Forum: Shootmania
Topic: Beta 1.3e
Replies: 15
Views: 6548

Re: Beta 1.3e

I was wondering where that sound came from when i pressed jump.
by Deaod
16 Oct 2012, 18:38
Forum: ManiaScript
Topic: Map Read Error
Replies: 5
Views: 862

Re: Map Read Error

Am i reading this correctly in that the values of a Ident->CUILayer map can change by destroying some unrelated layer?
by Deaod
16 Oct 2012, 12:13
Forum: ManiaScript
Topic: Map Read Error
Replies: 5
Views: 862

Re: Map Read Error

No, and why would i do that? Like this? // ... if (__RewardLayers.existskey(player.Id)) { if (__RewardLayers[player.Id] != Null) { declare tmp <=> __RewardLayers[player.Id]; __RewardLayers.remove(tmp); // maybe one is enough. __RewardLayers.removekey(player.Id); UIManager.UILayerDestroy(tmp); } } //...
by Deaod
16 Oct 2012, 00:42
Forum: ManiaScript
Topic: Map Read Error
Replies: 5
Views: 862

Map Read Error

Ive been fiddling with this piece of code for a long time now, but i simply cant stop it from randomly crashing and restarting the map. This crashes sometimes when reading from __RewardLayers (and only reading, ive never seen it crash when writing). Youd think .existskey() would protect against inva...
by Deaod
22 Aug 2012, 11:34
Forum: ManiaScript
Topic: Main in #Includes
Replies: 8
Views: 3201

Re: Main in #Includes

So Ive tried to make it work. I really have. But it just doesnt work. Leaving aside the fact that empty label replacements dont work (which would be handy), you cant call functions defined in the same file label replacements are defined in from those label replacements. Ill just make a template for ...
by Deaod
11 Aug 2012, 19:22
Forum: ManiaScript
Topic: Main in #Includes
Replies: 8
Views: 3201

Re: Main in #Includes

Okay, so i have finally broken down and used #Extends together with labels. Turns out function overriding doesnt exist/work, multiple #Extends also dont work, directives cant be used after the first normal code statement, and theres weird separation of code spaces. The important thing is labels seem...
by Deaod
26 Jul 2012, 22:12
Forum: ManiaScript
Topic: Main in #Includes
Replies: 8
Views: 3201

Re: Main in #Includes

I dont seem to be able to access that forum.

Thank you for the tip with BattleWave mode, ill take a look at it.
by Deaod
26 Jul 2012, 13:35
Forum: ManiaScript
Topic: Main in #Includes
Replies: 8
Views: 3201

Re: Main in #Includes

That in my opinion defeats the point of abstracting away the whole event nonsense. Best practices (especially for bigger projects) demand separation of concerns and reduction of duplicate code. Im trying to refactor my code and abstract away the main method so the code essentially consists of event ...
by Deaod
26 Jul 2012, 09:47
Forum: ManiaScript
Topic: Main in #Includes
Replies: 8
Views: 3201

Main in #Includes

Basically what i wanted to do is create a basic script that has a main function and only calls certain callbacks (OnHit, OnFrame, OnServerStart, OnServerEnd, OnMapStart, OnMapEnd, OnRoundStart, OnRoundEnd, ...). The basic script would then be included in a bigger script that implements these callbac...

Go to advanced search