How to use pick up items in your title packs

Discuss everything related to custom data creation.

Moderator: NADEO

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

Re: How to use pick up items in your title packs

Post by steeffeen »

most of the times that means that the encoding of your script file is wrong, i recommend editing the script directly ingame (F12)
otherwise install Notepad++ and save the script in UTF-8
(and don't use the windows crap editor/notepad)
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Mandark
    Posts: 1277
    Joined: 15 Jul 2010, 17:58
    Location: Romania

    Re: How to use pick up items in your title packs

    Post by Mandark »

    The old windows notepad was exactly what I was using because i'm a noob :roflol:
    I will try using the Notepad++ and see what happens

    EDIT: Same thing happens :(
    Specs
    Motherboard: Asus ROG Maximus VII Formula
    CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
    GPU: Nvidia GeForce GTX 980 Ti
    RAM: 16GB
    Operating System: Windows 10 Pro
    User avatar
    Mandark
    Posts: 1277
    Joined: 15 Jul 2010, 17:58
    Location: Romania

    Re: How to use pick up items in your title packs

    Post by Mandark »

    After adding all the main scripts listed on the first page, this is what I get when I start a server with my gamemode:
    http://oi40.tinypic.com/2py3i3s.jpg
    Specs
    Motherboard: Asus ROG Maximus VII Formula
    CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
    GPU: Nvidia GeForce GTX 980 Ti
    RAM: 16GB
    Operating System: Windows 10 Pro
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: How to use pick up items in your title packs

    Post by steeffeen »

    1. delete the whole folder Libs/Nadeo
    the files are included in the game

    2. many methods have changed and the old versions don't work anymore
    the one that is missing on your screenshot is now called "ObjectCreate()"
    http://maniascript.team-devota.com/stru ... 10910d64c9
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      spaii
      Posts: 1075
      Joined: 19 Jun 2010, 00:04
      Location: Rémy - France
      Contact:

      Re: How to use pick up items in your title packs

      Post by spaii »

      All works nice here, replace CreateItem by ObjectCreate, and ItemAnchors by ObjectAnchors

      http://maniascript.stunters.org/struct_c_sm_mode.html

      Edit: oups steeffeen, posted in same time ;)
      User avatar
      Mandark
      Posts: 1277
      Joined: 15 Jul 2010, 17:58
      Location: Romania

      Re: How to use pick up items in your title packs

      Post by Mandark »

      now I get this: http://oi41.tinypic.com/2sbrj3m.jpg

      I am a guy with zero maniascript experience (actually zero experience in scripting in general^^) and all I want to do is add the pick-up items to an already existing gamemode, and it's already too hard for me :(
      Specs
      Motherboard: Asus ROG Maximus VII Formula
      CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
      GPU: Nvidia GeForce GTX 980 Ti
      RAM: 16GB
      Operating System: Windows 10 Pro
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2463
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: How to use pick up items in your title packs

      Post by steeffeen »

      if you have at least some programming experience it should be possible be reading the documenation
      http://maniascript.team-devota.com/stru ... bject.html
      instead of "AttachItemToAnchor()" use "Object.SetAnchor()"

      if you don't have experience at all: please look for someone else who will do it for you :D
      or try a programming course for something else first
      (no offense :p)
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        spaii
        Posts: 1075
        Joined: 19 Jun 2010, 00:04
        Location: Rémy - France
        Contact:

        Re: How to use pick up items in your title packs

        Post by spaii »

        replace by ItemArmor.SetAnchor(ItemAnchor); (for the current error)

        next error : ItemArrow.SetAnchor(ItemAnchor); etc, etc
        User avatar
        Mandark
        Posts: 1277
        Joined: 15 Jul 2010, 17:58
        Location: Romania

        Re: How to use pick up items in your title packs

        Post by Mandark »

        Well, if anyone is interested to spot the mistakes and tell me what I should do, I can upload the script..
        https://www.dropbox.com/s/ytd7qd5ijmffp ... Script.txt
        Specs
        Motherboard: Asus ROG Maximus VII Formula
        CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
        GPU: Nvidia GeForce GTX 980 Ti
        RAM: 16GB
        Operating System: Windows 10 Pro
        User avatar
        spaii
        Posts: 1075
        Joined: 19 Jun 2010, 00:04
        Location: Rémy - France
        Contact:

        Re: How to use pick up items in your title packs

        Post by spaii »

        CrAzYdriv3r wrote:Well, if anyone is interested to spot the mistakes and tell me what I should do, I can upload the script..
        https://www.dropbox.com/s/ytd7qd5ijmffp ... Script.txt
        steeffeen ?
        Post Reply

        Return to “Title Pack & Custom Data Creation”

        Who is online

        Users browsing this forum: No registered users and 1 guest