Author Topic: Multi-Purpose Game Starter Kit  (Read 34592 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #30 on: August 13, 2013, 07:33:48 PM »
1. MPGSK isn't meant for mobiles. It uses Unity's terrain, which isn't optimized for mobile platforms. It also has no controls for mobiles at all.

2. Same random seed means same generated data.

3. Probably, yes. It's better to generate the terrain at edit time instead, and turn off the generation script. This way your terrain will be saved.

4. Yes. The same parameter that adds mountains around the side. Reverse it and it will instead create an island.

5. I currently don't have any plans for this. The next game I'll be working on targets desktop computers rather than mobiles, and I don't make features that I don't use. That's how I keep the quality bar higher than I could otherwise. :)

frostamation

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #31 on: July 02, 2014, 05:02:48 PM »
I have a question about spawning in MPGSK. I've looked at all the scripts and i cant seem to find where the "spawn vehicle here or anywhere" is.

I found a OnRespawn(); in the Vehicle.cs script but doesnt specify anything.

Any help appreciated, Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #32 on: July 03, 2014, 05:16:52 AM »
The respawn is started in the Vehicle.cs SetState() function when the passed 'active state' is 'false':
  1. // Start the respawn logic
  2. if (tno.isMine) StartCoroutine(Respawn(4f, explode));
The Respawn() function waits for X seconds, then sends a state message (in the TNet version) that will respawn the vehicle by calling the SetState() function again, which in turn will change its position and call OnRespawn().

jbh142

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #33 on: July 21, 2014, 11:42:01 PM »
When put in my own terrain the helicopter stay within inches of the ground. I go into the Helicopter script and change the following.

float upwardsForce = 1f - distanceFactor;
         upwardsForce *= upwardsForce;
         upwardsForce = Mathf.Lerp(10f, 80f, upwardsForce);
         upwardsForce *= mRb.mass;

Which works but the helicopter keep floating higher and higher. Is there away to set a maximum height for the helicopter to keep it from floating away?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #34 on: July 22, 2014, 06:22:39 PM »
The helicopter does a raycast to hit terrain underneath it. Did you check the layer mask and does your terrain have a collider on it?

DjTerror

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #35 on: November 18, 2014, 04:13:49 AM »
Hello,

i am quite new to Unity... is it possible to buy this and continue to work on it with uScript?

Thanx!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #36 on: November 18, 2014, 04:41:29 AM »
I'm not familiar with uScript, so I can't answer this question.

DjTerror

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #37 on: November 18, 2014, 10:46:32 AM »
hello,

Ok, is it possible to use Playmaker or uFrame? ...some other visual scripting tools?

tnx
« Last Edit: November 18, 2014, 11:00:42 AM by DjTerror »

DjTerror

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #38 on: November 19, 2014, 01:14:17 PM »
Anyone?   :(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #39 on: November 19, 2014, 04:25:34 PM »
I'm a dev, Dj. I can't answer that question as I don't use visual scripting tools. They make no sense to me. Code does. :P

DjTerror

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #40 on: November 19, 2014, 04:31:28 PM »
Ok, thanks... ill try the same question on the other end... on Playmakers forum  :)

AlexSledge

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #41 on: December 15, 2014, 04:17:25 PM »
How well does this integrate with your ship game starter kit? With land & air here, makes some loose logical sense to add water-based vehicles with the ship game kit.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #42 on: December 17, 2014, 03:54:29 PM »
I had to do it for Windward. I will update the kit at some point after Windward's full release.

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #43 on: July 01, 2015, 03:38:12 PM »
Terrain shader breaks in Unity 5.1.1 (pink texture) with this error:
  1. Shader error in 'Tasharen/Terrain': Too many texture interpolators would be used for ForwardBase pass (11 out of max 10) at line 101 (on )

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Multi-Purpose Game Starter Kit
« Reply #44 on: July 02, 2015, 09:13:04 PM »
I'll have a look into it, thanks.