playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - OmegaDEV

Pages: [1]
1
Pre-release Discussion / Re: uNet Support?
« on: November 05, 2016, 07:42:34 AM »
OMG U ARE A GOD THANK YOU!!!!!!!!! :D

2
Action Requests / Re: uNet Create Object
« on: November 05, 2016, 07:38:18 AM »
Hi jean im responding to this post from a while ago in regards to UNet custom actions. im trying to get:

https://github.com/jeanfabre/PlayMaker--Unet-SubModule-
https://github.com/jeanfabre/PlayMaker--Standard--Assets-

and im curently confused as to how to get them into unity without errors, cand u plz guid / help me ?

Sorry to ask, and also thankyou. :)

3
Action Requests / Re: uNet Create Object - Can i help?
« on: January 22, 2016, 06:50:26 AM »
Thank you for getting back to me, sounds great :) that's understandable, i know how it gets, ive been working on this project for a while now close to 4-5 years.

However can i offer my services in making scripts for the uNet Playmaker integration. Im currently trying to learn how to make custom actions, so i can do so myself. i would be happy to give them to you guys to modify in future to make ur jobs easier.

Again thank you for replying  :D

4
Playmaker Help / Re: uNet Spawning Help
« on: January 20, 2016, 12:33:17 PM »
Hi i have compiled a test example of a Unity Network Spawn Script, however i require hep turning it into a custom action for play maker.

in this 12.mb example u will find a local player and a client, once connected each window will see a red man, he is a client, if u look down at ur feet u will see blue for local authority. this was achieved with the following custom actions listed below without them this would not work.

Along with this if u press space the player will jump and in doing so also triggers the "NetworkBulletSpawn" script attached to the player creating a object on the network server and all clients.

If you could i would very much appreciate it if the attached scrip could be edited into a custom action.

uUet Custom Actions
https://github.com/jeanfabre/PlayMakerEcosystemPackagesRep_U5/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Unity/PlayMakerUnet.unitypackage

https://github.com/jeanfabre/PlayMakerEcosystemPackagesRep_U5/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Unity/PlayMakerSAN.unitypackage


MY SCRIPT: NetowrkBulletSpawn

5
Action Requests / Re: uNet Create Object
« on: January 20, 2016, 12:31:58 PM »
I managed to get a spawning script working. I have solved my own issue :D However i think for the community sake this should be made into a custom action for uNet.
Here is a Request for a "NetworkServer.Spawn()" Action.
http://hutonggames.com/playmakerforum/index.php?topic=12061.msg56239#msg56239

Below is the code:


using UnityEngine;
using UnityEngine.Networking;
using System.Collections;

public class netSpawner : NetworkBehaviour
{

    [SerializeField]
    GameObject Prefab;
    [SerializeField]
    GameObject Spawn;
    private int Count;
    private int Amount = 10;

    public override void OnStartServer()
    {
        for (int i = 0; i < Amount; i++)
        {
            SpawnObject();
        }
    }

    void SpawnObject()
    {
        //Count

        GameObject go = GameObject.Instantiate(Prefab, Spawn.transform.position, Quaternion.identity) as GameObject;
        NetworkServer.Spawn(go);
    }
}

6
Action Requests / uNet Create Object
« on: January 19, 2016, 10:15:52 AM »
I would like to Request a uNet Object Spanner regarding
http://docs.unity3d.com/Manual/class-NetworkIdentity.html

I have got everything working in my game, u can join match making, get in a game, run around and see other clients. Everything is working however i dont have a way to spawn the objects on the network.

I was hoping someone could help me in regards to spawning objects.
I want the player to be able to 'pick up, 'drop and 'spawn objects / prefabs.
Above is a link from unity wiki and below is an exert that explains what i need.

"With the server authoritative system of the Unity Network System, networked objects with NetworkIdentities must be “spawned” by the server using NetworkServer.Spawn(). This causes them to be assigned a NetworkInstanceId and be created on clients that are connected to the server"

Here is a link to my issues.
http://hutonggames.com/playmakerforum/index.php?topic=12059.msg56237#msg56237

Also in future im going to need to be able to Send and Variables, im to to sure on how to accomplish this either.

Thank you :)

7
Pre-release Discussion / uNet Support?
« on: January 19, 2016, 09:54:54 AM »
Hi will uNet be supported with 1.8 Update? Im working on a project and im stuck spawning objects on the network in regards to picking up dropping and spawning objects / prefabs on the network. Below is a link to my issue.

http://hutonggames.com/playmakerforum/index.php?topic=12059.0

8
Playmaker Help / uNet Spawning Help
« on: January 19, 2016, 09:54:00 AM »
I was reading a discussion at with another user and he went down the path of using photon. However i do not wish to do that.
Pre-Release Discussion Question:
http://hutonggames.com/playmakerforum/index.php?topic=12060.msg56238#msg56238

I have got everything working in my game, u can join match making, get in a game, run around and see other clients. Everything is working however i dont have a way to spawn the objects on the network.

I was hoping someone could help me in regards to spawning objects.
I want the player to be able to 'pick up, 'drop and 'spawn objects / prefabs.
Below is a link from unity wiki and an exert that explains what i need.

"With the server authoritative system of the Unity Network System, networked objects with NetworkIdentities must be “spawned” by the server using NetworkServer.Spawn(). This causes them to be assigned a NetworkInstanceId and be created on clients that are connected to the server"


http://docs.unity3d.com/Manual/class-NetworkIdentity.html


Here is a Request for a "NetworkServer.Spawn()" Action.
http://hutonggames.com/playmakerforum/index.php?topic=12061.msg56239#msg56239


Thank you :)

Pages: [1]