how to turn off the blue flash in the selection of weapons

Discuss everything related to custom data creation.

Moderator: NADEO

Post Reply
User avatar
alividerci
Posts: 363
Joined: 11 Feb 2012, 07:03

how to turn off the blue flash in the selection of weapons

Post by alividerci »

hmm althought i cant destroy blue flashscreen when i pickuped weapon(if i take box with armor i have not flash screen wtf)

Code: Select all

/** Pick up item
 *
 *	@param	_Player		The player who picked up the item
 *	@param	_Item		The item picked up by the player
 */
Void PickUpItem(CSmPlayer _Player, CSmItem _Item) {
	if (_Player == Null || _Item == Null) return;

	declare Tag for _Item = "";
	declare AnchorId for _Item = NullId;

	if (!ItemAnchors.existskey(AnchorId)) return;
	declare ItemAnchor <=> ItemAnchors[AnchorId];
	declare ItemSpawned for ItemAnchor = False;
	declare ItemNextSpawn for ItemAnchor = Now;
	ItemSpawned = False;
	if (C_Timers.existskey(Tag)) ItemNextSpawn = Now + C_Timers[Tag];

	switch (Tag) {
		case C_Item["Armor"]: {
		    _Player.ArmorMax += C_Item_ArmorMaxValue;
			_Player.Armor += C_Item_ArmorValue;
			//ItemNextSpawn = Now + C_Timers["Armor"];
			if (_Player.Armor > C_ArmorReductionStart) {
				declare NextArmorReduction for _Player = -1;
				NextArmorReduction = Now + C_ArmorReductionPeriod;
			}
		}
		case C_Item["Rocket"]: {
			PickUpWeapon(_Player, Tag);
		}
		case C_Item["Laser"]: {
			PickUpWeapon(_Player, Tag);
		}
		case C_Item["Nucleus"]: {
			PickUpWeapon(_Player, Tag);
		}
		case C_Item["Arrow"]: {
			PickUpWeapon(_Player, Tag);
		}
	}
        //it is off bluescreen but it works only for armor(not weapons)
	//AttachItemToPlayer(_Item, _Player);
	DestroyItem(_Item);
}
this function comback flashscreen

Code: Select all

SetPlayerAmmoMax(_Player, Weapon, AmmoMax[_Weapon]);
how it fix?
User avatar
alividerci
Posts: 363
Joined: 11 Feb 2012, 07:03

Re: how to turn off the blue flash in the selection of weapo

Post by alividerci »

anybody know?
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: how to turn off the blue flash in the selection of weapo

Post by steeffeen »

first of all: chill out

and it's not possible because it's not written in the maniascript code but hardcoded as a game mechanic
you may suggest to nadeo that maniascript can deactivate it, but i don't see the need of it
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    alividerci
    Posts: 363
    Joined: 11 Feb 2012, 07:03

    Re: how to turn off the blue flash in the selection of weapo

    Post by alividerci »

    steeffeen wrote:first of all: chill out

    and it's not possible because it's not written in the maniascript code but hardcoded as a game mechanic
    you may suggest to nadeo that maniascript can deactivate it, but i don't see the need of it
    but it seems annoying blue screen :oops:

    Could I ask you for them to cut down this blue screen? :roll:
    Post Reply

    Return to “Title Pack & Custom Data Creation”

    Who is online

    Users browsing this forum: No registered users and 1 guest