December 22, 2024, 14:43:51

Author Topic: New to modding  (Read 9478 times)

Offline Unforgivenjagz

  • Recruit
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
New to modding
« on: July 13, 2011, 17:56:28 »
Hey guys, I've been talking to Mularac for some time, and I find that the mod he is working on, Stargate, is something I really like. I've never done modding, or scripting in my life, I've messed around with the tactictypes.ini files before, but thats about it. Mularac redirected me here to sign up. He told me that I could ask questions to my hearts content, and my first question is: Is there anyone here willing, or capable of teaching me, some modding and scripting. I have Lightwave 10 installed, but I do not have any scripting software. Please just email me, I usually check my mail once or twice a day. I would really love to start modding/scripting and be a help to you all on this forum.

Hope to find a mentor xD,
Jagz

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: New to modding
« Reply #1 on: July 13, 2011, 18:07:23 »
If you have the dedication for it, I can certainly help you further, but sadly, I can only give you hand in scripting...
Check out this page, it has useful information: http://nexusthegame.net/wiki/Beginner%27s_Guide

Also, I think it'll be good if you used this forum to post your inquires instead of email, that way more people can help you and the information will be available for future modders to see.

Offline Unforgivenjagz

  • Recruit
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: New to modding
« Reply #2 on: July 13, 2011, 18:16:09 »
True that, and I'll read up on the beginners guide when I get the time.
Is there anything written in there about what program i should use? Or is it all Nexus' coding, which can be found in the .ini files?

Jagz

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: New to modding
« Reply #3 on: July 13, 2011, 19:03:10 »
For the coding aspect, all you need is the notepad. Although I recommend using notepad++ instead.

Offline Unforgivenjagz

  • Recruit
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: New to modding
« Reply #4 on: July 13, 2011, 19:15:22 »
Where do i find this Notepad++? Is it on my computer or do I have to download it? I've never heard of that and never used it :)

Offline GeoModder

  • Chief Petty Officer
  • **
  • Posts: 279
  • Karma: 4
    • View Profile
    • http://
Re: New to modding
« Reply #5 on: July 13, 2011, 20:03:41 »
You have to download it. Its freeware. Just do a google for "Notepad++" and you'll find a few download sites.

Offline Unforgivenjagz

  • Recruit
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: New to modding
« Reply #6 on: July 17, 2011, 08:42:18 »
Thanks, already started on my first mission. Although I am having some problems with the shield coding. I can get the shield to go up, although in my mission I want the ship to start with 30% or so shields. So, with Mularac's master coding, I started messing around with what he gave me.

Code: [Select]
SelectEx(s.shield & s.owner = m.play,
activateDevice(s.this,1);
);
m.play:shieldIntegrity:=10000000000;
To bring up the shields.

Along with:
Code: [Select]
e.max:=m.play:shieldIntegrity;
m.play:shieldIntegrity:=e.max*0.4;
To bring the shields down to about 40%... Although, this doesn't seem to work, and if not commented, does not let the shields to go up.
I've tried solving this by putting it in a separate Rule, separate State, and even in a separate Machine.

I've got no clue on how to get the shields to go up and than go down to 40%.. So I think I'll just leave that until later, or if I really can't figure it out, take the maximum Integrity of the shield in use and just get 40% of that and put it in the shield up code. I've tried that and it works. But the problem with that, as Mularac pointed out, would be if the shield maximum Integrity was changed from it's current value in the tactictypes.ini to something else, the 40% would no longer be 40% of the new value.

If you guys have any comments, or suggestions, I'd be glad to hear them and try them out.
Oh and big thanks to Mularac for starting me off in scripting. Real fun :)