Board index Games... Mods... Multiplayer! Deus Ex ]

Help Codding:


Author
Message
bamz0rz
Archangel/1B
Archangel/1B

Posts: 85
Joined:
 07 Dec 2011, 07:02


Help Codding: - Postby bamz0rz » 12 Feb 2014, 16:37


Hey guise, this board seems to be better than dxalpha nowadays, so I need some help codding:

basically, does anyone know how to restart a player? Right now, when I call restartplayer, the log show that it finds a playerstart but the bool 'foundstart' which setlocation(Startspot), is false.

in any case, what happens when a player logins? What gets called for player restart? here is something else weird: my player is hidden, but even though I set the player to be bhidden=false, the player is still invisible. If i type 'walk' the player flashes visible for a second. Also, I noticed that if I change playerreplicationinfo.bisspectator = false, it doesn't seem to replicate until I restart?

please advise.


bamz0rz
Archangel/1B
Archangel/1B

Posts: 85
Joined:
 07 Dec 2011, 07:02


Re: Help Codding: - Postby bamz0rz » 12 Feb 2014, 16:41


Also, i force the player into a state 'playerspectating'. How can I get the player out of this state? Nothing seems to work, and when a player is in this state, its like a completely different class: the only function you can call from that player are limited to whats in the state.

and the unrealscript wikis are so unhelpful: they say just type gotoState('playerwalking'), guess wat? that doesn't do anything.


bamz0rz
Archangel/1B
Archangel/1B

Posts: 85
Joined:
 07 Dec 2011, 07:02


Re: Help Codding: - Postby bamz0rz » 12 Feb 2014, 20:53


ok i figured it out guise,

i had to call:

ServerRestartplayer()


bamz0rz
Archangel/1B
Archangel/1B

Posts: 85
Joined:
 07 Dec 2011, 07:02


Re: Help Codding: - Postby bamz0rz » 12 Feb 2014, 22:59


you're the man Bamz0rz! so much more helpful than nobody! we are not worthy of your codding skills!


[FGS]Chees
Cherub/7H
Cherub/7H
User avatar

Posts: 1192
Joined:
 13 Nov 2011, 15:37
Location:
 UK
Nationality:
Great Britain


Re: Help Codding: - Postby [FGS]Chees » 12 Feb 2014, 23:31


bamz0rz congrats with a conversation in forum with yourself, bro you nailed it :-D


Image
bamz0rz
Archangel/1B
Archangel/1B

Posts: 85
Joined:
 07 Dec 2011, 07:02


Re: Help Codding: - Postby bamz0rz » 13 Feb 2014, 00:02


i'm not sure what you mean by yourself. i was simply conversing with my pawn, i'm the playerpawn, aka, the brains.




Return to Deus Ex

Who is online

Users browsing this forum: No registered users and 54 guests



cron