From ACS to ZScript
Posted: Thu Nov 02, 2017 5:29 pm
So I started creating a game with the GZDoom engine some while ago. Concerning scripting I used ACS right from the start because I had experience with it from a previous project and since I had not been modding for 2 years I didn't know ZScript even existed.
At this moment the game itself is far from finished but some key functionality like a weather & daylight system is mostly programmed and working, including preserving and restoring necessary values (in world variables mostly) when travelling between the maps inside a hub. But of course not all is programmed yet.
In the past months I also learned that ZScript is becoming more and more interesting so in the meantime I converted all Decorate actors to ZScript and also added some ZScript code like an adjusted version of shadowsprites (credits to Nash for the original version).
So I was thinking: should I give it a try to move significant parts of the ACS code to ZScript, even when not all ACS features are covered (just see how far I would get), or should I wait until more functionality is added to ZScript; with the risk of letting the ACS library growing so large I would probably never make the step to convert it...
What I would like to know is how other modders are dealing with this; are more people in doubt whether they should move from ACS to Zscript or not; I'm interested in opinions pro and con as well as some advise, certainly from people who already have some experience in moving from ACS to Zscript.
EDIT: what the hack, I just started converting acs/sbarinfo to zscript; first attempts are encouraging.
At this moment the game itself is far from finished but some key functionality like a weather & daylight system is mostly programmed and working, including preserving and restoring necessary values (in world variables mostly) when travelling between the maps inside a hub. But of course not all is programmed yet.
In the past months I also learned that ZScript is becoming more and more interesting so in the meantime I converted all Decorate actors to ZScript and also added some ZScript code like an adjusted version of shadowsprites (credits to Nash for the original version).
So I was thinking: should I give it a try to move significant parts of the ACS code to ZScript, even when not all ACS features are covered (just see how far I would get), or should I wait until more functionality is added to ZScript; with the risk of letting the ACS library growing so large I would probably never make the step to convert it...
What I would like to know is how other modders are dealing with this; are more people in doubt whether they should move from ACS to Zscript or not; I'm interested in opinions pro and con as well as some advise, certainly from people who already have some experience in moving from ACS to Zscript.
EDIT: what the hack, I just started converting acs/sbarinfo to zscript; first attempts are encouraging.