Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 21:03 -!- Irssi: Starting query in Zandronum with TiberiumSoul
- 21:03 <TiberiumSoul> i could use some help with some acs for a hexen class addon
- 21:03 <TiberiumSoul> and since you seems to be the go to guy for this...
- 21:03 <TiberiumSoul> yeah
- 21:05 <ijon> heh
- 21:06 <TiberiumSoul> terminus told me to look through samsara for a general idea for such a thing but its confusing as hell for me
- 21:06 <ijon> what is it
- 21:07 <TiberiumSoul> im trying to do what samsara does with the weapons for my hexen class where the fighter can see his weapons the mage can see his and the cleric can see his
- 21:08 <TiberiumSoul> and im trying to do the same with my generic caleb class cutout
- 21:08 <ijon> well, you can't do that online with zdoom, but in single-player it probably isn't an issue
- 21:09 <ijon> you need a way to have a script run uniquely on each client that can grab the inventory of the player
- 21:09 <ijon> samsara does that with clientside ENTER scripts, plus a "if (PlayerNumber() != ConsolePlayerNumber()) { terminate; }"
- 21:10 <ijon> when you have that, you can then have said script update a map variable for every clientside script to use
- 21:10 <ijon> so there, you can get the player's class
- 21:10 <ijon> as for DISPLAYING it, have the pickups run a clientside script through ACS_ExecuteAlways every...
- 21:11 <ijon> samsara uses every second
- 21:11 <ijon> in this script, check the value of the map variable the clientside ENTER script sets, and SetActorState appropriately
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement